ods-core icon indicating copy to clipboard operation
ods-core copied to clipboard

Enable PR pipeline execution when opened

Open BraisVQ opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? When a Pull Request is opened into a repository of a project the Jenkins pipeline is not executed. It is necesary to make an aditional commit in order to trigger the jenkins build

Describe the solution you'd like Enable PRs to tigger jenkins pipelines by default

Describe alternatives you've considered Document how users can enable it for their components

Additional context It needs to update the webhook proxy accepted events and the Prov-app config map, that takes the value from ods-configuration

@metmajer this is what we talked about today

BraisVQ avatar Jan 16 '23 15:01 BraisVQ

I still need to run some tests about this but this is where I think would need to be changed to enable PR pipeline execution upon creation

BraisVQ avatar Jan 16 '23 15:01 BraisVQ

it can also be configured using env var https://github.com/opendevstack/ods-core/blob/master/jenkins/webhook-proxy/main.go#L35

tbugfinder avatar Jan 24 '23 18:01 tbugfinder

Yeah, it can be done there but Bitbucket webhook events also needs to be configured.

BraisVQ avatar Jan 31 '23 09:01 BraisVQ