[JIRA] (JENKINS-49714) Set skipDefaultCheckout to false when using lightweight checkout for Jenkinsfile

0 views
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Feb 23, 2018, 6:17:02 AM2/23/18
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
 
Jenkins / Improvement JENKINS-49714
Set skipDefaultCheckout to false when using lightweight checkout for Jenkinsfile
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: pipeline
Created: 2018-02-23 11:16
Environment: Jenkins ver. 2.89.3
Priority: Minor Minor
Reporter: Karl Wirth

If 'skipDefaultCheckout' option is not included in Jenkinsfile pipeline definition then pipeline job will trigger a full SCM checkout. This makes no sense when lightweight checkout has been ticked because the user only wants the Jenkinsfile(s).

Would be good if 'skipDefaultCheckout(false)' is the default when using lightweight checkout or provide a tick box on the job configuration page to set it (under 'Lightweight checkout' tick-box).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Feb 23, 2018, 1:05:04 PM2/23/18
to jenkinsc...@googlegroups.com
Andrew Bayer updated an issue
Change By: Andrew Bayer
Component/s: pipeline-model-definition-plugin
Component/s: pipeline

andrew.bayer@gmail.com (JIRA)

unread,
Mar 8, 2018, 6:24:03 PM3/8/18
to jenkinsc...@googlegroups.com
Andrew Bayer resolved as Won't Fix
 

skipDefaultCheckout is unrelated to lightweight checkouts - it's for when you're entering an agent, while lightweight checkouts are run on the master in order to get the Jenkinsfile in the first place.

Change By: Andrew Bayer
Status: Open Resolved
Resolution: Won't Fix

simon.watts@bgcpartners.com (JIRA)

unread,
Mar 12, 2018, 10:32:02 AM3/12/18
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:26:14 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Won't Fix
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved 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