[JIRA] (JENKINS-41391) skipDefaultCheckout should default parameter value to "true"

2 views
Skip to first unread message

bitwiseman@gmail.com (JIRA)

unread,
Jan 24, 2017, 3:11:09 PM1/24/17
to jenkinsc...@googlegroups.com
Liam Newman created an issue
 
Jenkins / Improvement JENKINS-41391
skipDefaultCheckout should default parameter value to "true"
Issue Type: Improvement Improvement
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2017/Jan/24 8:10 PM
Priority: Minor Minor
Reporter: Liam Newman

The boolean parameter should be optional and default to true if not provided.

https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/01ba61a99d1f99bf82ba70d8c94d2d6c5e88714b/pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/options/impl/SkipDefaultCheckout.java#L37

options {
    skipDefaultCheckout()
}
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Jan 24, 2017, 3:26:05 PM1/24/17
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Improvement JENKINS-41391
 
Re: skipDefaultCheckout should default parameter value to "true"

There was some reason this was problematic, but right now I can't remember what it was. I'll give it a look.

andrew.bayer@gmail.com (JIRA)

unread,
Jan 24, 2017, 5:33:04 PM1/24/17
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Jan 24, 2017, 5:33:04 PM1/24/17
to jenkinsc...@googlegroups.com
Andrew Bayer started work on Improvement JENKINS-41391
 
Change By: Andrew Bayer
Status: Open In Progress

andrew.bayer@gmail.com (JIRA)

unread,
Jan 24, 2017, 5:34:01 PM1/24/17
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Jan 25, 2017, 1:59:01 PM1/25/17
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Improvement JENKINS-41391
 
Re: skipDefaultCheckout should default parameter value to "true"

Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/options/impl/SkipDefaultCheckout.java
pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/OptionsTest.java
pipeline-model-definition/src/test/resources/multipleProperties.groovy
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/a632cc6ab24f42498d3827af5db4abe017a0c0b0
Log:
[FIXED JENKINS-41391] Switch skipDefaultCheckout to default true

That is - make skipDefaultCheckout() work the same as
skipDefaultCheckout(true).

andrew.bayer@gmail.com (JIRA)

unread,
Jan 25, 2017, 1:59:01 PM1/25/17
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:11 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

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