-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
Jenkins Version: 1.653
Build Pipeline Plugin Version: 1.5.1
Setup:
Simple Build Pipeline "Build A -> Build B"
Build A:
Build: Shell execution 'echo "Hello"'
Post Build Action:
Build other projects (manual step): "Build B"
Build B:
Build: Shell execution 'echo "World"'
Problem / Steps to reproduce
- Pressing "Run" in Build Pipeline View triggers "Build A"
- Build A goes green >
- Trigger "Build B" in Build Pipeline View
- Build B runs and and finishes with succes
- Build B does not get green in the Pipeline
- Build B has no connection to the upstream job
Additional information
- The problem did not occur in Jenkins versions 1.642.2, 1.642.3 and also not in 1.652
- In the working versions we can see the following env variables:
BUILD_CAUSE MANUALTRIGGER,UPSTREAMTRIGGER BUILD_CAUSE_MANUALTRIGGER true BUILD_CAUSE_UPSTREAMTRIGGER true
- In the new version the env variables only state the following:
BUILD_CAUSE MANUALTRIGGER BUILD_CAUSE_MANUALTRIGGER true
- When Build B tries to copy an artifact from upstream build, it fails
- The information "Started by upstream project "Build A" build number x" is missing in the console output of Build B
- duplicates
-
JENKINS-33591 Manual steps broken in Jenkins ver. 1.653
-
- Closed
-
[JENKINS-33686] Build triggered via "Build other projects (manual step)" has no connection to upstream job
Summary | Original: Build triggerd via "Build other projects (manual step)" has no connection to upstream job | New: Build triggered via "Build other projects (manual step)" has no connection to upstream job |
Description |
Original:
h3. Setup: Simple Build Pipeline "Build A -> Build B" *Build A*: Build: Shell execution 'echo "Hello"' Post Build Action: Build other projects (manual step): "Build B" *Build B*: Build: Shell execution 'echo "World"' h3. Problem / Steps to reproduce # Pressing "Run" in Build Pipeline View triggers "Build A" (/) # Build A goes green >(/) # Trigger "Build B" in Build Pipeline View (/) # Build B runs and and finishes with succes (/) # Build B does not get green in the Pipeline (x) # Build B has no connection to the upstrem job (x) h3. Additional information * The problem did not occur in Jenkins versions 1.642.2 and 1.642.3 * In the working versions we can see the following env variables: {code} BUILD_CAUSE MANUALTRIGGER,UPSTREAMTRIGGER BUILD_CAUSE_MANUALTRIGGER true BUILD_CAUSE_UPSTREAMTRIGGER true {code} * In the new version the env variables only state the following: {code} BUILD_CAUSE MANUALTRIGGER BUILD_CAUSE_MANUALTRIGGER true {code} * When Build B tries to copy an artifact from upstream build, it fails * The information "Started by upstream project "Build A" build number x" is missing in the console output of Build B |
New:
h3. Setup: Simple Build Pipeline "Build A -> Build B" *Build A*: Build: Shell execution 'echo "Hello"' Post Build Action: Build other projects (manual step): "Build B" *Build B*: Build: Shell execution 'echo "World"' h3. Problem / Steps to reproduce # Pressing "Run" in Build Pipeline View triggers "Build A" (/) # Build A goes green >(/) # Trigger "Build B" in Build Pipeline View (/) # Build B runs and and finishes with succes (/) # Build B does not get green in the Pipeline (x) # Build B has no connection to the upstrem job (x) h3. Additional information * The problem did not occur in Jenkins versions 1.642.2, 1.642.3 and also not in *1.652* * In the working versions we can see the following env variables: {code} BUILD_CAUSE MANUALTRIGGER,UPSTREAMTRIGGER BUILD_CAUSE_MANUALTRIGGER true BUILD_CAUSE_UPSTREAMTRIGGER true {code} * In the new version the env variables only state the following: {code} BUILD_CAUSE MANUALTRIGGER BUILD_CAUSE_MANUALTRIGGER true {code} * When Build B tries to copy an artifact from upstream build, it fails * The information "Started by upstream project "Build A" build number x" is missing in the console output of Build B |
Description |
Original:
h3. Setup: Simple Build Pipeline "Build A -> Build B" *Build A*: Build: Shell execution 'echo "Hello"' Post Build Action: Build other projects (manual step): "Build B" *Build B*: Build: Shell execution 'echo "World"' h3. Problem / Steps to reproduce # Pressing "Run" in Build Pipeline View triggers "Build A" (/) # Build A goes green >(/) # Trigger "Build B" in Build Pipeline View (/) # Build B runs and and finishes with succes (/) # Build B does not get green in the Pipeline (x) # Build B has no connection to the upstrem job (x) h3. Additional information * The problem did not occur in Jenkins versions 1.642.2, 1.642.3 and also not in *1.652* * In the working versions we can see the following env variables: {code} BUILD_CAUSE MANUALTRIGGER,UPSTREAMTRIGGER BUILD_CAUSE_MANUALTRIGGER true BUILD_CAUSE_UPSTREAMTRIGGER true {code} * In the new version the env variables only state the following: {code} BUILD_CAUSE MANUALTRIGGER BUILD_CAUSE_MANUALTRIGGER true {code} * When Build B tries to copy an artifact from upstream build, it fails * The information "Started by upstream project "Build A" build number x" is missing in the console output of Build B |
New:
h3. Setup: Simple Build Pipeline "Build A -> Build B" *Build A*: Build: Shell execution 'echo "Hello"' Post Build Action: Build other projects (manual step): "Build B" *Build B*: Build: Shell execution 'echo "World"' h3. Problem / Steps to reproduce # Pressing "Run" in Build Pipeline View triggers "Build A" (/) # Build A goes green >(/) # Trigger "Build B" in Build Pipeline View (/) # Build B runs and and finishes with succes (/) # Build B does not get green in the Pipeline (x) # Build B has no connection to the upstream job (x) h3. Additional information * The problem did not occur in Jenkins versions 1.642.2, 1.642.3 and also not in *1.652* * In the working versions we can see the following env variables: {code} BUILD_CAUSE MANUALTRIGGER,UPSTREAMTRIGGER BUILD_CAUSE_MANUALTRIGGER true BUILD_CAUSE_UPSTREAMTRIGGER true {code} * In the new version the env variables only state the following: {code} BUILD_CAUSE MANUALTRIGGER BUILD_CAUSE_MANUALTRIGGER true {code} * When Build B tries to copy an artifact from upstream build, it fails * The information "Started by upstream project "Build A" build number x" is missing in the console output of Build B |
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Dan Alvizu [ dalvizu ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 169650 ] | New: JNJira + In-Review [ 209858 ] |
Thanks for the detailed steps, aveltens - this is a duplicate of
JENKINS-33591, so it will be tracked there.