/build/static/layout/Breadcrumb_cap_w.png

How to get repository folder in jenkins


With the below option we are able to checkout a git repository to a different folder.

enter image description here

But how to access this folder value? Is there any variable for that? $Workspace will point to the work space folder where the default repo cloning is being done, but not this location.

Is there any other variable to access this?

So I can use the same in subsequent build steps.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 7 years ago
Red Belt
0
Please remove your duplicate post. And please be more patient before assuming that your post hasn't submitted properly.

Comments:
  • Don't know how it created 2 posts with the same content and at the same time.I have removed the other, but it is still showing as present but not visible from public view. - ur00361883 7 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ