Jenkins: Git push will trigger a Jenkins build for only that branch
问题 We are working in parallel on a number of Git branches. When pushing a specific Git branch, how can we start a Jenkins item/job that will trigger the build of that specific branch? As an example: we push a Git branch "feature-abc" ==> this should trigger a Jenkins build job using/pulling that branch "feature-abc". For each new feature we have a branch, so the number of branches is not fixed. So, I think it is different than this answer with a manual action. 回答1: If the use case is to trigger