wooga/atlas-release

Stop pushing Pull request branches on Jenkins

Larusso opened this issue · 0 comments

The gradle-release plugin will push branches by default:
https://github.com/ajoberstar/gradle-git/blob/ea22187e7c9f5f03e7211a735c7e99153a8c54b5/src/main/groovy/org/ajoberstar/gradle/git/release/base/BaseReleasePlugin.groovy#L85-L89

This will result in new branches for pull requests. Jenkins creates branches named PR-N when the option Check out to matching local branch is set. We need this option set so we can use release/1.x patterns.