How to transfer data from one post build action to another post build action?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to transfer data from one post build action to another post build action?

Shihaaz Buhary
Hi all,

I'm developing a plugin and I have 2 post build actions. I want to transfer a value from 1st one to the 2nd one on the same job. How can I do it? I know all the job related configuration data are saved in config.xml file. But is there a way that jenkins provides to do this?

Thank you!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/4964c2d4-f4ee-4e2f-9756-b5d3c40f2771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to transfer data from one post build action to another post build action?

Jesse Glick-4
On Thu, Jan 31, 2019 at 2:36 AM Shihaaz Buhary <[hidden email]> wrote:
> I know all the job related configuration data are saved in config.xml file. But is there a way that jenkins provides to do this?

https://javadoc.jenkins.io/hudson/model/Run.html#addAction-hudson.model.Action-

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0G%2B%2BycLAwxffZtskms%3DKHRcLeOsONWF3AxF5Ju3pPtBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.