[JIRA] (JENKINS-38913) DSL for choiceParam not working
Title: Message Title Oleg Nenashev commented on JENKINS-38913 Re: DSL for choiceParam not working Patrick Wolf Likely. In the case of Promoted Builds all JobDSL issues are in limbo till we get https://github.com/jenkinsci/promoted-builds-plugin/pull/96 integrated 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-38913) DSL for choiceParam not working
Title: Message Title Patrick Wolf commented on JENKINS-38913 Re: DSL for choiceParam not working Oleg Nenashev This bug is in core is it not? JENKINS-26143 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-38913) DSL for choiceParam not working
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: Oleg Nenashev Labels: job-dsl 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-38913) DSL for choiceParam not working
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: Jesse Glick Labels: regre 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-38913) DSL for choiceParam not working
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: Jesse Glick Labels: regre 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-38913) DSL for choiceParam not working
Title: Message Title Kristan Stewart updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: Kristan Stewart Component/s: job-dsl-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-38913) DSL for choiceParam not working
Title: Message Title Andrew Ferguson commented on JENKINS-38913 Re: DSL for choiceParam not working Added my vote, this bug is affecting my teams now as well. 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-38913) DSL for choiceParam not working
Title: Message Title ma pi edited a comment on JENKINS-38913 Re: DSL for choiceParam not working I have same problem too.Add some information about this problem.Jenkins 2.19.1Job DSL Plugin 1.52Promoted Builds Plugin 2.27This is a small Job-DSL script reproduce this issue.{code:java}job('JENKINS_38913') { description('reproduce JENKINS-38913') properties {promotions { promotion {name('promote-me')icon('star-red')conditions { manual('') {parameters { choiceParam('choice', ['a', 'b', 'c'], 'FIXME')} }} }} }}{code}After generate Job. Jenkins report warning.!1.png|thumbnail!!2.png|thumbnail!Generated config.xml is here. ( {noformat} ${JENKINS_HOME}/jobs/JENKINS_38913/promotions/promote-me/config.xml ) {noformat} {code:xml} promote-me star-red a b cchoice FIXME {code}Then, go back to the warning page and click "Discard Unreadable Data"Check config.xml again{code:xml} false false false false falsefalsechoice FIXMEstar-red {code}{noformat} ... {noformat} section removed.finally, edit this job manually.Correct config.xml is here.{code:xml} false false false false falsefalsechoice FIXMEa b cstar-red{code}I guess Job-DSL plugin lost choiceParam type(type hint?).I hope this information to help. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-38913) DSL for choiceParam not working
Title: Message Title ma pi edited a comment on JENKINS-38913 Re: DSL for choiceParam not working I have same problem too.Add some information about this problem.Jenkins 2.19.1Job DSL Plugin 1.52Promoted Builds Plugin 2.27This is a small Job-DSL script reproduce this issue.{code:java}job('JENKINS_38913') { description('reproduce JENKINS-38913') properties {promotions { promotion {name('promote-me')icon('star-red')conditions { manual('') {parameters { choiceParam('choice', ['a', 'b', 'c'], 'FIXME')} }} }} }}{code}After generate Job. Jenkins report warning.!1.png|thumbnail!!2.png|thumbnail!Generated config.xml is here. (${JENKINS_HOME}/jobs/JENKINS_38913/promotions/promote-me/config.xml){code:xml} promote-me star-red a b cchoice description FIXME {code}Then, go back to the warning page and click "Discard Unreadable Data"Check config.xml again{code:xml} false false false false falsefalsechoice description FIXME star-red {code}{noformat} ... {noformat} section removed.finally, edit this job manually.Correct config.xml is here.{code:xml} false false false false falsefalsechoice description FIXME a b cstar-red{code}I guess Job-DSL plugin lost choiceParam type(type hint?).I hope this information to help. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-38913) DSL for choiceParam not working
Title: Message Title ma pi commented on JENKINS-38913 Re: DSL for choiceParam not working I have same problem too. Add some information about this problem. Jenkins 2.19.1 Job DSL Plugin 1.52 Promoted Builds Plugin 2.27 This is a small Job-DSL script reproduce this issue. job('JENKINS_38913') { description('reproduce JENKINS-38913') properties { promotions { promotion { name('promote-me') icon('star-red') conditions { manual('') { parameters { choiceParam('choice', ['a', 'b', 'c'], 'FIXME') } } } } } } } After generate Job. Jenkins report warning. Generated config.xml is here. ($ {JENKINS_HOME} /jobs/JENKINS_38913/promotions/promote-me/config.xml) "promoted-builds@2.27"> promote-me star-red a b c choice description Then, go back to the warning page and click "Discard Unreadable Data" Check config.xml again "promoted-builds@2.27"> false "hudson.scm.NullSCM"/> false false false false false choice description star-red ... section removed. finally, edit this job manually. Correct config.xml is here. "promoted-builds@2.27"> false "hudson.scm.NullSCM"/> false false false false false choice description "java.util.Arrays$ArrayList"> "string-array"> a b c star-red I guess Job-DSL plugin lost choiceParam type(type hint?). I hope this information to help.
[JIRA] (JENKINS-38913) DSL for choiceParam not working
Title: Message Title ma pi updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: ma pi Attachment: 2.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-38913) DSL for choiceParam not working
Title: Message Title ma pi updated an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Change By: ma pi Attachment: 1.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-38913) DSL for choiceParam not working
Title: Message Title Oleg Nenashev commented on JENKINS-38913 Re: DSL for choiceParam not working Alex Raguero Please create an issue to CloudBees ZenDesk then. In such case I may get this assignment to work on it during office hours. My personal time plans do not include dealing with Promoted Builds in short term, sorry. Or other engineers from CB Support/Engineering team may handle it. 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-38913) DSL for choiceParam not working
Title: Message Title Alex Raguero commented on JENKINS-38913 Re: DSL for choiceParam not working Also not working for version Jenkins ver. 2.7.19.1 (CloudBees Jenkins Enterprise 2.7.19.1-rolling) 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-38913) DSL for choiceParam not working
Title: Message Title Alex Raguero created an issue Jenkins / JENKINS-38913 DSL for choiceParam not working Issue Type: Bug Assignee: Oleg Nenashev Attachments: Screen Shot 2016-10-11 at 1.27.35 PM.png Components: promoted-builds-plugin Created: 2016/Oct/11 8:34 PM Environment: Jenkin 1.655 promoted builds plugin 2.27 job DSL plugin 1.51 Priority: Minor Reporter: Alex Raguero The following DSL does not correctly generate the choices - a, b, c - in the generated job. See attached screen shot. freeStyleJob('rag-test-job') { properties{ promotions { promotion { name('Development') conditions { manual('araguero', parameters { choiceParam('myParameterName',['a','b','c'],'my description') } ) } actions { shell('echo hello;') } } } } } Add Comment