Closed namjitharavind closed 5 years ago
Hi @namjitharavind please see the documentation on declarative pipelines, this isn't really a github pipeline plugin question.
https://jenkins.io/doc/book/pipeline/syntax/#when
I believe it should look something like this (not tested):
when { allOf { not { branch 'master' } changeRequest() } }
Hi @namjitharavind please see the documentation on declarative pipelines, this isn't really a github pipeline plugin question.
https://jenkins.io/doc/book/pipeline/syntax/#when
I believe it should look something like this (not tested):