Looked for that option.

Repos are automatically scanned for Jenkiinsfile, then added (with their branches) to my Jenkins instance.

I can't find that option anywhere?

Could you point me to where I might find it ?  Sound like it might work.

Mike



On 16-05-12 09:57 PM, Richard Bywater wrote:
Haven't done it myself but there is the different Property Strategy in the multibranch config of "Named branches get different properties" - so presumably you could set (or unset) a property for certain branches and drive the decision to deploy off of that?

Richard.

On Fri, 13 May 2016 at 11:24 Mike Caspar <[email protected] <mailto:[email protected]>> wrote:


    I am working on a pipeline that does Test/Deploy after a commit.

    That's all cool!

    However....When I create a branch (for a new feature), and it gets
    auto-launched as a new build pipeline, how do I prevent the same
    Jenkinsfile from initiating the Deploy step, since it's the same
    Jeniinsfile ?

    Is there a standard way to do this ?

    If not, I imagine I could only do Deploy if I'm on branch Master ?

    Thoughts on how to do either of these two options ?

    Mike





-- 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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/jenkinsci-users/31a3041d-f943-4906-aa2c-ebcf9d54025d%40googlegroups.com
    
<https://groups.google.com/d/msgid/jenkinsci-users/31a3041d-f943-4906-aa2c-ebcf9d54025d%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 a topic in the Google Groups "Jenkins Users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/4RQrbzi01II/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui946-iCDfT7v%2BJ3KYCTVSpMerbM14xbxEf%3DCMQmdXKeE5eg%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CAMui946-iCDfT7v%2BJ3KYCTVSpMerbM14xbxEf%3DCMQmdXKeE5eg%40mail.gmail.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/5735D237.8000101%40caspar.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to