Closed samuele-locatelli closed 7 years ago
While I can call directly a job for a specific branch (and thus making a NEW BUILD) as configured here
I cannot find how to call an equivalent of a "Scan Multibranch Pipeline Now" command (that causes a build ONLY if a branch has a new commit).
I've tryed many configurations: http://server_address/gogs-webhook/?job=multibranch_pipeline http://server_address/gogs-webhook/?job=multibranch_pipeline/ http://server_address/gogs-webhook/?job=multibranch_pipeline/*
but only in that way I got it functioning (causing BUILD for a SINGLE and specific branch): http://server_address/gogs-webhook/?job=multibranch_pipeline/brach_name
Maybe I'm using wrong configuration, otherwise I think it could be a more flexible way to manage multibranch pipeline to be allowed to SCAN for modification after a generic webhook has been sent from gogs for ALL branches.
sorry, it's a duplicate of issue 8, closing...
While I can call directly a job for a specific branch (and thus making a NEW BUILD) as configured here
I cannot find how to call an equivalent of a "Scan Multibranch Pipeline Now" command (that causes a build ONLY if a branch has a new commit).
I've tryed many configurations: http://server_address/gogs-webhook/?job=multibranch_pipeline http://server_address/gogs-webhook/?job=multibranch_pipeline/ http://server_address/gogs-webhook/?job=multibranch_pipeline/*
but only in that way I got it functioning (causing BUILD for a SINGLE and specific branch): http://server_address/gogs-webhook/?job=multibranch_pipeline/brach_name
Maybe I'm using wrong configuration, otherwise I think it could be a more flexible way to manage multibranch pipeline to be allowed to SCAN for modification after a generic webhook has been sent from gogs for ALL branches.