How to find project root dir?

9 views
Skip to first unread message

Suresh Reddy

unread,
Dec 3, 2015, 3:37:10 AM12/3/15
to Jenkins Developers
Hi All,
      I am debugging a issue with Performance plugin and found that below code is problematic if all builds are getting executed on short-lived slaves (cloud nodes in Azure or AWS) 
        
       this.project.getSomeBuildWithWorkspace().getRootDir()


      Question:
            What is the proper way to get root Dir consider than jobs can be inside folders? I checked online but documentation on this is bit confusing

Thanks,
Suresh Nallamilli.
Reply all
Reply to author
Forward
0 new messages