[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Sam Van Oort commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false Brandon Chew I'm quite confident we didn't revert this – are you absolutely sure this is happening with 2.9 or 2.10? Can you provide a case to reproduce? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Vivek Pandey updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Vivek Pandey Labels: parameter pipeline plugin triaged-2018-11 user-experience Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Brandon Chew reopened an issue I've recently created a pipeline job using a Boolean Parameter and have noticed that this issue is still happening. I'm using Pipeline Stage View plugin 2.9. Did this get reverted somehow in 2.9? Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Brandon Chew Resolution: Fixed Status: Closed Reopened Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Brandon Chew commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I've recently created a pipeline job using a Boolean Parameter and have noticed that this issue is still happening. I'm using Pipeline Stage View plugin 2.9. Did this get reverted somehow in 2.9? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Emilio Escobar assigned an issue to Sam Van Oort Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Emilio Escobar Assignee: Rupin R Nath Sam Van Oort Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Lucas Cimon commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false The pull request to fix this is here: https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/37 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Michael Doubez Component/s: pipeline-stage-view-plugin Component/s: pipeline Labels: parameter pipeline plugin user-experience Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false In fact, it shouldn't be {{checked=true/false}} but {{checked}} or empty string.https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.htmlCode to change in https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/ef8a7c7bfe516679ac0f29752287b2073954a230/ui/src/main/js/view/templates/run-input-required.hbs#L10{code:java} {{#definition.defaultVal}} checked =" {{ / definition.defaultVal}} " / >{{name}}{code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false In fact, it shouldn't be {{checked=true/false}} but {{checked}} or empty string.https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html Code to change in https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/ef8a7c7bfe516679ac0f29752287b2073954a230/ui/src/main/js/view/templates/run-input-required.hbs#L10{code:java}{{name}}{code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false In fact, it shouldn't be checked=true/false but checked or empty string. https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false Same issue in Jenkins 1.651.3.The API request seems good:{code}{ "id":"Afdd284c9c42d46edfd421228b55be59", "proceedText":"Proceed", "message":"Boolean input test","inputs": [{"type":"BooleanParameterDefinition","name":"foo","definition":{"defaultVal":false}}],{code}When looking at the HTML source, I see correct data:{code}Boolean input test fooProceedAbort{code}But the dispaly display is a checked box.The issue should be somewhere in the _javascript_ of pipeline-stage-view-plugin. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Michael Doubez commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false Same issue in Jenkins 1.651.3. The API request seems good: { "id":"Afdd284c9c42d46edfd421228b55be59", "proceedText":"Proceed", "message":"Boolean input test", "inputs": [{"type":"BooleanParameterDefinition","name":"foo","definition":{"defaultVal":false}}], When looking at the HTML source, I see correct data: "input cbwf-info-action-popover run-input-required"> "remove">"glyphicon glyphicon-remove remove"> "caption">Boolean input test "form"> "inputs"> "checkbox"> "foo" checked="false" type="checkbox">foo "buttons"> "submit" class="btn btn-primary btn-sm proceed-button">Proceed "submit" class="btn btn-default btn-sm abort-button">Abort But the dispaly is a checked box. The issue should be somewhere in the _javascript_ of pipeline-stage-view-plugin. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Jeremy Carroll commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I see this problem also with Choice input parameters, where the first in the list (expressed using e.g. choices: "yes\nno\n") is always selected. The incorrect defaults for choice show also in: Paused for input e.g. http://localhost:8080/job/pipeline-name/job/branchname/59/input/ Blue Ocean e.g. http://localhost:8080/blue/organizations/jenkins/pipeline-name/detail/branchname59/pipeline/ Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Oleg Korsak commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false Any news, guys? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Timmy Brolin edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false I can reproduce this problem on Jenkins 2.19.3 It worked fine on Jenkins 1.625.2I can confirm Hendrik Brinkmann's and Wei Ren's findings. The problem indeed only occurs if the "input" step is inside a "stage" block. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Timmy Brolin commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I can reproduce this problem on Jenkins 2.19.3 It worked fine on Jenkins 1.625.2 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Wei Ren commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I could reproduce the problem on the latest stable Jenkins release 2.7.4. If I use the input within a stage block, the default value is simply ignored. But if I move the input outside a stage block, the default value works as expected. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Hendrik Brinkmann edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false I could reproduce the problem also under the latest weekly release Jenkins ver. 2.22. This issues only occures if you use the {{input}} inside of a {{stage}}-Block and access the checkbox via UI (see screenshot). If you access the checkbox via log console the problem does not occure.{code:java}stage ('test') {input message: 'test', parameters: [booleanParam(defaultValue: false, description: '', name: 'A')]}{code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Hendrik Brinkmann edited a comment on JENKINS-36543 Re: Boolean input parameter ignores default value of false I could reproduce the problem also under the latest weekly release Jenkins ver. 2.22. This issues only occures if you use the {{input}} inside of a {{stage}}-Block and access the checkbox via ui UI (see screenshot) . If you access the checkbox via console the problem does not occure.{code:java}stage ('test') {input message: 'test', parameters: [booleanParam(defaultValue: false, description: '', name: 'A')]}{code} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Hendrik Brinkmann reopened an issue I could reproduce the problem also under the latest weekly release Jenkins ver. 2.22. This issues only occures if you use the input inside of a stage-Block and access the checkbox via ui. If you access the checkbox via console the problem does not occure. stage ('test') { input message: 'test', parameters: [booleanParam(defaultValue: false, description: '', name: 'A')] } Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Hendrik Brinkmann Resolution: Cannot Reproduce Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Hendrik Brinkmann commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I use Jenkins ver. 2.7.4 LTS and face the same issue. If I try def deploy = input message: 'Deploy released version to alpha? ', parameters: [booleanParam(defaultValue: false, description: '', name: 'DEPLOY')] the Checkbox is always checked true (see also my screenshot among the attachements). Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Hendrik Brinkmann updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Hendrik Brinkmann Attachment: checkbox.png Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Rupin R Nath resolved as Cannot Reproduce Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Rupin R Nath Status: Open Resolved Assignee: Rupin R Nath Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Rupin R Nath commented on JENKINS-36543 Re: Boolean input parameter ignores default value of false I tried in Jenkins 2.13-SNAPSHOT build. I did not face any such issue. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Niko Konstantakos updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Niko Konstantakos If your pipeline groovy script has an input step which is a BooleanParameterDefinition, the default value is always true. Setting the default value to false has no effect.Example generated by snippet generator:{ { code:java} input id: 'Test', message: 'testing123', ok: 'Deploy', parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: '', name: 'test']] {code } } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Niko Konstantakos updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Niko Konstantakos If your pipeline groovy script has an input step which is a BooleanParameterDefinition, the default value is always true. Setting the default value to false has no effect.Example generated by snippet generator: {{ input id: 'Test', message: 'testing123', ok: 'Deploy', parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: '', name: 'test']] }} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Niko Konstantakos updated an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Change By: Niko Konstantakos Component/s: workflow-plugin Component/s: core Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-36543) Boolean input parameter ignores default value of false
Title: Message Title Niko Konstantakos created an issue Jenkins / JENKINS-36543 Boolean input parameter ignores default value of false Issue Type: Bug Assignee: Unassigned Components: core Created: 2016/Jul/08 5:16 PM Priority: Minor Reporter: Niko Konstantakos If your pipeline groovy script has an input step which is a BooleanParameterDefinition, the default value is always true. Setting the default value to false has no effect. Example generated by snippet generator: input id: 'Test', message: 'testing123', ok: 'Deploy', parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: '', name: 'test']] Add Comment