[JIRA] (JENKINS-52855) Add GIT_CHECKOUT_DIR env var if Freestyle job does checkout to subdirectory

2 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 2, 2018, 8:02:02 AM8/2/18
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Improvement JENKINS-52855
Add GIT_CHECKOUT_DIR env var if Freestyle job does checkout to subdirectory
Issue Type: Improvement Improvement
Assignee: Mark Waite
Components: git-plugin
Created: 2018-08-02 12:01
Priority: Minor Minor
Reporter: Mark Waite

When a Freestyle job performs a checkout to a subdirectory the containing build script needs to make guesses about the name of that directory. Make it easier for containing scripts by adding the GIT_CHECKOUT_DIR environment variable when a Freestyle job performs a checkout to a subdirectory.

Pipeline jobs and multibranch Pipeline jobs should not use the git plugin's checkout to a subdirectory facility. They should instead use the Pipeline steps which will perform the same type of operation within a Pipeline. For example, they should use the `dir` step or the `ws` step.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 2, 2018, 9:11:01 AM8/2/18
to jenkinsc...@googlegroups.com
Mark Waite updated Improvement JENKINS-52855
 

Will be included in git plugin 4.0.0

Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Fixed

mark.earl.waite@gmail.com (JIRA)

unread,
Jan 8, 2020, 6:59:03 AM1/8/20
to jenkinsc...@googlegroups.com
 

Released in git plugin 4.0.0 Nov 2019

Change By: Mark Waite
Status: Fixed but Unreleased Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages