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"

On Wednesday, September 2, 2015, Baptiste Mathus <[email protected]> wrote:

> I think your best option is to use the workflow plugin. It has a dedicated
> way to handle just that.
>
> Seems to be even an entry for that:
> https://cloudbees.zendesk.com/hc/en-us/articles/204986450-Workflow-How-to-manage-user-inputs
>
> Cheers
>
>
> 2015-09-02 8:08 GMT+02:00 Alejandro Burgos Jr. <
> [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>>:
>
>> 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
>>
>> --
>> 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 [email protected]
>> <javascript:_e(%7B%7D,'cvml','jenkinsci-dev%[email protected]');>
>> .
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/0182cf2f-4a20-40d5-9f58-e086b8be288e%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/0182cf2f-4a20-40d5-9f58-e086b8be288e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
> --
> 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 [email protected]
> <javascript:_e(%7B%7D,'cvml','jenkinsci-dev%[email protected]');>
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Y1M7tKMemtL4B37bA6s%3DZ%3DYZVpyqkDUmGO8kx%3DD%3DtgA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6Y1M7tKMemtL4B37bA6s%3DZ%3DYZVpyqkDUmGO8kx%3DD%3DtgA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMyA0Y9hsAkf%2B7%2B%2BxxsiApKE-8Q9B4FnZ1umRqqnEy0Pfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to