If "Parameterized trigger" plugin and "Conditional buildstep" plugin are used together to trigger a build if a certain condition fulfills (within a buildstep), the triggered build is not reported as a downstream build for the calling project. This can be seen e.g. when "Downstream buildview" plugin is used to show the downstream dependencies.
I am seeing this problem as well. Mainly I want to be able to indicate a build as downstream with conditional-buildstep so that I can use the "Block build when upstream project is building" and "Block build when downstream project is building" option.
Code changed in jenkins
User: imod
Path:
src/main/java/org/jenkinsci/plugins/conditionalbuildstep/ConditionalBuilder.java
src/main/java/org/jenkinsci/plugins/conditionalbuildstep/singlestep/SingleConditionalBuilder.java http://jenkins-ci.org/commit/conditional-buildstep-plugin/ad975041a535c94b465fdd5eec3487937cabaaa7
Log: [FIXED JENKINS-14118] show builds triggered through "Conditional buildstep" plugin reported as downstream builds for the current build.
I am seeing this problem as well. Mainly I want to be able to indicate a build as downstream with conditional-buildstep so that I can use the "Block build when upstream project is building" and "Block build when downstream project is building" option.