Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27542

Pass parent job name to triggered jobs

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • token-macro-plugin
    • None

      I have a job monitoring a git repository, which triggers jobs which are not looking at git.

      I currently rename builds on the git job to the abbreviated sha1. I would like to rename the child jobs too. I can't use a parameter file or environment variable, as the file i have created with the hash in it doesn't exist until after the copy artefact plugin has operated, during the build steps - which is too late.

      There should be a simple PARENT_JOB_NAME variable I can use.

            slide_o_mix Alex Earl
            directhex Jo Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: