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

Inject deployment env variables in the build

    Details

    • Similar Issues:

      Description

      This enhancement should allow users to have the environment variables below on their builds. In this way, they can know for example which environment and what was the path which triggered the build.

      envVars.put("DEPLOYMENT_ENV", StringUtils.join(deploymentHost, ","));
      env.put("DEPLOYMENT_HOST", hostRecord.getHost());
      env.put("DEPLOYMENT_PATH", hostRecord.getPath());
      env.put("DEPLOYMENT_TIMESTAMP", hostRecord.getTimestampString());

        Attachments

          Activity

          fbelzunc Félix Belzunce Arcos created issue -
          fbelzunc Félix Belzunce Arcos made changes -
          fbelzunc Félix Belzunce Arcos made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170002 ] JNJira + In-Review [ 198759 ]

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              fbelzunc Félix Belzunce Arcos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: