Jesse Glick edited a comment on Bug JENKINS-27069

I suspect that locations: [remote: '…', credentialsId: cid] needs to be locations: [[remote: '…', credentialsId: cid]]: the value of locations is an array with one element (boxed with […]), which is given by a Groovy map (that also uses […] as the brackets). If so, your script is in error, but DescribableHelper is doing a lousy job of reporting why.

BTW all the stuff at the front to compute cid is useless. You should just write the credentials ID directly in the flow. (Update the Credentials plugin if necessary to get a version that will let you specify a readable ID when you create the credentials.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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.

Reply via email to