Scripting Question

How to get repository folder in jenkins

11/24/2017 826 views

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


All Answers

Please remove your duplicate post. And please be more patient before assuming that your post hasn't submitted properly.
Answered 11/24/2017 by: VBScab
Red Belt

  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.
  • 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.
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