-
Bug
-
Resolution: Unresolved
-
Minor
-
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