There is always an extra build with triggered by "promote build plugin" on jenkins, which I dont know why...
Here is the whole pipeline:
- dev commits "feature_branch" to github
- jenkins triggers a build on "feature_branch" to run all unit tests
on build-job:
- if the branch passed the test, it should go to "code review" (I use promote_build_plugin here, manually promote after code view),
- I use "Trigger/call builds on other projects" as the action to trigger "deploy-job" to build only if it passes code review.
on deploy-job:
I can see a new build is triggered and that feature_branch is merged, but there is always another build take place with "no changes; Legacy code started this job. No cause information is available"
I googled a whole afternoon trying to solve this, any help?