Issue Type: Bug Bug
Assignee: Unassigned
Components: promoted-builds
Created: 16/May/14 7:59 AM
Description:

I have two jobs:

  • "Job Upstream" is using an SCM trigger and builds several artefacts
  • "Job Downstream" is running hourly and uses artefacts from "Job Upstream" to execute tests. "Job Downstream" is used as a promotion criteria for "Job Upstream". E.g. if "Job Downstream" is successful, then "Job Upstream" is promoted.

As there is no direct upstream/downstream relationship, I rely on the artefacts fingerprints to establish the relationship between a build from "Job Downstream" and its build source from "Job Upstream". Recording of fingerprints is enabled on both jobs. I can see that fingerprints are correctly recorded and this shows that an artefact from a build from "Job Upstream" has been used by a build from "Job Downstream".

Expected result: Once a build from "Job Downstream" is successful, the corresponding build from "Job Upstream" should be promoted.

Actual result: Promotion does not happen and I have the following error message in the console of the build from "Job Downstream":

 WARNING: Job Upstream appears to use this job as a promotion criteria, but no fingerprint is recorded. Fingerprint needs to be enabled on both this job and Job Upstream. See http://hudson.gotdns.com/wiki/display/HUDSON/Fingerprint for more details

If I rename "Job Upstream" to "JobUpstream" (e.g. remove the whitespace in the middle), then promotion works as expected and a successful build from "Job Downstream" actually triggers the promotion of the associated build from "JobUpstream"

The whitespace in "Job Downstream" does not seem to have an influence on this issue.

Affects versions:

  • Jenkins 1.554.1
  • promoted build plugin: 2.17
Project: Jenkins
Priority: Minor Minor
Reporter: Gregory Lenoble
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to