One possibility would be using a conditional build step and some condition
to enable the push.

See https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin

Cheers
Le 22 sept. 2015 6:00 PM, "Vince Guaglione" <[email protected]> a
écrit :

> I have a promotion process that uses the publish over SSH plugin to
> transfer files to two servers following a build.  I'm wondering if I can
> optionally turn off the transfer to one of the two servers via the build
> job or within the promotion process?  Is this doable?
>
> To further clarify, we take one server out of rotation for maintenance and
> wish to push new builds to this server without affecting the other.  The
> current job was reconfigured to use two promotion processes, one for each
> server.  We'd like to use one promotion process instead, but have the
> option to push to either server or both.  Is this something that is
> available within Jenkins?
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/9e5f28c9-3561-4da2-8d57-1e2ccd913101%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/9e5f28c9-3561-4da2-8d57-1e2ccd913101%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5Dds3zRx5anSXE2eFKFY_0RLsf71BRrVMug%2Bax%3DqkbXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to