fabric8-services / fabric8-tenant-jenkins

Generates Jenkins tenant namespace YAML
Apache License 2.0
2 stars 14 forks source link

Enable Cancel Build on Update option for PR builds #113

Closed piyush-garg closed 6 years ago

piyush-garg commented 6 years ago

Right now, if a PR build is going on and if we push a commit to PR then we need to cancel the previous build and start a new build.

Needs changes in Jenkins config map

Relevant issue on osio is https://github.com/openshiftio/openshift.io/issues/3862

piyush-garg commented 6 years ago

Fix for this feature needs to be added to sync plugin as we are scheduling one job at a time and cancel build on the update will not help. PR here https://github.com/fabric8io/jenkins-sync-plugin/pull/40