-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: join-plugin
-
Environment:Jenkins 2.7.1
When I call a freestyle job from a pipeline job I am gettingĀ "Join notifier cannot find upstream project ..." (see output below).Ā But when I call the same job (with theĀ artifacts Project name appropriately modified) from a functionally identical freestyle job everything is fine.Ā
Here is the pipeline code for the upstream job,
x-pipeline-upstream-caller:
#!groovy
node() {
sh 'echo "Hello world" > frog'
archiveArtifacts artifacts: 'frog', fingerprint: true
build job: 'x-freestyle-downstream-callee'
}
Output fromĀ x-pipeline-upstream-caller:
Started by user xxx [Pipeline] node Running on master in /var/lib/jenkins/workspace/x-pipeline-upstream-caller [Pipeline] { [Pipeline] sh [x-pipeline-upstream-caller] Running shell script + echo 'Hello world' [Pipeline] step Archiving artifacts Recording fingerprints [Pipeline] build (Building x-freestyle-downstream-callee) Scheduling project: x-freestyle-downstream-callee Starting building: x-freestyle-downstream-callee #13 [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS
Ā
Here is the output from the build that is called, x-freestyle-downstream-callee:
Started by upstream project "x-pipeline-upstream-caller" build number 11 originally caused by: Started by user me [EnvInject] - Loading node environment variables. Building remotely on LSFLinuxRH6Node1 (LinuxNode LinuxRH6Node) in workspace /data/jenkinshost/LSFLinuxRH6Node1/workspace/x-freestyle-downstream-callee Copied 1 artifact from "x-pipeline-upstream-caller" build number 11 Archiving artifacts Recording fingerprints Notifying upstream projects of job completion Join notifier cannot find upstream project: x-pipeline-upstream-caller Finished: SUCCESS