Hi there,

I'd like the "Build Now" button back in the parameterized pipeline job (the 
original "Build Now" button changes into "Build with parameters").

So the question is:

*Is it possible to add a "Build Now" button by attaching an Action to the 
Job from within the pipeline itself? *
I mean something like:
currentBuild.rawBuild.addOrReplaceAction(new BuildNowAction(env.JOB_URL))

I've added actions from a pipeline before, but they had no UI repercussion; 
and AFAIK UI Actions need .jelly files to render the UI. So far I haven't 
been able to find anyone else trying to add "UI" actions from pipeline.

Thank you very much for your attention.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4ad01d01-ce5e-4f0d-a51f-a5e1507468e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to