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

Support ${CAUSE_BUILD_URL} also in addition to ${CAUSE}

      Currently there is ${CAUSE} that prints the upstream job that triggered this build. It would be nice to have a the details of the cause available in tokens also, especially the URL. Then the mail can contain a clickable link, which is quite convenient in some case then a build pipeline exists, where one want to get to the "main" job directly.

      Having these token available would be really nice:

      • ${CAUSE_BUILD_URL}: equivalent of ${BUILD_URL
      • ${CAUSE_PROJECT_NAME}: equivalent of ${PROJECT_NAME
      • ${CAUSE_BUILD_NUMBER}: equivalent of ${BUILD_NUMBER

          [JENKINS-42699] Support ${CAUSE_BUILD_URL} also in addition to ${CAUSE}

          Axel Heider created issue -
          Axel Heider made changes -
          Summary Original: Support ${CAUSE_URL} also in addition to ${CAUSE} New: Support ${CAUSE_BUILD_URL} also in addition to ${CAUSE}
          David van Laatum made changes -
          Component/s New: token-macro-plugin [ 15832 ]
          Assignee Original: David van Laatum [ davidvanlaatum ] New: Alex Earl [ slide_o_mix ]
          Axel Heider made changes -
          Description Original: Currently there is {{$\{CAUSE}}} that prints the upstream job that triggered this build. It would be nice to have a the details of the cause available in tokens also, especially the URL. Then the mail can contain a clickable link, which is quite convenient in some case then a build pipeline exists, where one want to get to the "main" job directly.

          Having these token available would be really nice:
           * {{$\{CAUSE_BUILD_URL}}}: equivalent of {{$\{CAUSE_BUILD_URL}}} 
           * {{$\{CAUSE_PROJECT_NAME}}}: equivalent of {{$\{PROJECT_NAME}}} 
           * {{$\{CAUSE_BUILD_NUMBER}}}: equivalent of {{$\{BUILD_NUMBER}}} 
          New: Currently there is {{$\{CAUSE}}} that prints the upstream job that triggered this build. It would be nice to have a the details of the cause available in tokens also, especially the URL. Then the mail can contain a clickable link, which is quite convenient in some case then a build pipeline exists, where one want to get to the "main" job directly.

          Having these token available would be really nice:
           * {{$\{CAUSE_BUILD_URL}}}: equivalent of {{$\{BUILD_URL}}} 
           * {{$\{CAUSE_PROJECT_NAME}}}: equivalent of {{$\{PROJECT_NAME}}} 
           * {{$\{CAUSE_BUILD_NUMBER}}}: equivalent of {{$\{BUILD_NUMBER}}} 
          Alex Earl made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            slide_o_mix Alex Earl
            axelh Axel Heider
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: