I was able to get the branch to enable the trigger by adding the following
to my Jenkinsfile:
properties([
pipelineTriggers([
[$class: "GitHubPushTrigger"]
])
])
I then manually executed a Branch Index on the parent job and the resulting
PR builds had the trigger on push setting
I can't seem to figure out how to configure include regions for the Git
plugin when defining a pipeline. They don't seem to be adhered to.
This is what I currently have:
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
userRemoteConfigs: [
[url: 'g...@gi
I finally found this (https://issues.jenkins-ci.org/browse/JENKINS-26133)
which addresses my issue.
On Thursday, May 19, 2016 at 1:55:24 PM UTC-5, John Engelman wrote:
>
> Is there a way to perform conditional logic in my pipeline based on the
> exit code from a 'sh' step?
Is there a way to perform conditional logic in my pipeline based on the
exit code from a 'sh' step?
Basically, I want to execute different behavior based on that. In this case
it is Terraform which will output different exit codes based on the results
of a 'terraform plan'
--
You received this