Proper method of saving output from a plugin

2017-04-19 Thread Christian McHugh
Greetings, The saltstack plugin sends a message to the saltapi, and returns the response to the Jenkins console. With the introduction of scripted pipelines, it is now possible to return the result into a groovy variable for further processing. For older freestyle jobs however, that is not an

Re: plugin support for declarative pipeline

2017-04-19 Thread Christian McHugh
Hey all, With the release of the declarative pipeline syntax, it seems that build steps that return an output are not directly runnable and must be wrapped in a script{} block. Is there a suggested manner of supporting declarative pipelines from a plugin? -- You received this message because

Re: Problem accessing com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential from groovy

2017-04-19 Thread Denis Boulas
I want to do some API calls to registry in the pipeline with curl or something else. 2017-04-20 1:51 GMT+03:00 Ivan Fernandez Calvo : > You are trying to get the password into a Pipeline, Why do you not use > withCredentials step? > https://jenkins.io/doc/pipeline/steps/credentials-binding/ > > -

Re: Problem accessing com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential from groovy

2017-04-19 Thread Ivan Fernandez Calvo
You are trying to get the password into a Pipeline, Why do you not use withCredentials step? https://jenkins.io/doc/pipeline/steps/credentials-binding/ -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and sto

Re: Regarding the recent waves of mailing list spam

2017-04-19 Thread Arnaud Héritier
Let's go CEST/CET Do we know how many new subscribers we have per day/week to see how many we should be to moderate new members ? On Tue, Apr 18, 2017 at 5:10 PM, Joseph P wrote: > I would also be willing. Timezone CEST/CET :) > > > Den mandag den 17. april 2017 kl. 17.53.45 UTC+2 skrev R Tyler

Re: Jenkins scripted pipeline or declarative pipeline

2017-04-19 Thread Baptiste Mathus
Hello, Please use the users mailing list for question unrelated to the development of Jenkins itself... Thanks 2017-04-19 4:00 GMT+02:00 Nayana Adassuriya : > Hi, > > I'm trying to convert my old style project base workflow to pipeline on > Jenkins. > > While going trough https://jenkins.io/doc