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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/31a3041d-f943-4906-aa2c-ebcf9d54025d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to