Deployment to Production with Jobs that failed the User Acceptance Test (prompt confirmation message before proceeding with deployment)

22 views
Skip to first unread message

Alejandro Burgos Jr.

unread,
Sep 2, 2015, 2:08:13 AM9/2/15
to Jenkins Developers
Hi Jenkins Developers,


I want to create a job that will prompt a confirmation message before proceeding with deployment (build with parameters). Can some tell me how am I going to do this?


Thanks!


 Regards,
Alejandro

Baptiste Mathus

unread,
Sep 2, 2015, 2:28:02 PM9/2/15
to jenkin...@googlegroups.com
I think your best option is to use the workflow plugin. It has a dedicated way to handle just that.


Cheers


--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0182cf2f-4a20-40d5-9f58-e086b8be288e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Stephen Connolly

unread,
Sep 2, 2015, 3:38:23 PM9/2/15
to jenkin...@googlegroups.com
The old-school way of doing this is with the promoted builds plugin where the promotion does the deployment.

The main problem is that it can be exceedingly tricky to ensure the correct artifacts are deployed once subsequent builds have completed (on the other hand once you solve that problem, rolling back production is just re-promoting the old build)

With workflow these problems are much easier to solve, and as you can resume from a specific stage you still have the rollback option.

The other advantage with workflow is that it is more "obvious" to the users... With a job using promoted builds it is not super-obvious that you can promote nor that you should... A pending user input step in a workflow is much more "in your face"

For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages