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

Help text for EnvInject plugin is wrong

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      This is with EnvInject plugin 1.72, Jenkins 1.488.

      In a job configuration, "Build Environment" --> "Inject environment variables to the build process", the help text for "Properties File Path" says "the process is executed before a SCM checkout".

      However, when I run it, it's quite clear that this is processed AFTER the SCM checkout - which is good, since it means I can have my properties file under source control.

      The console shows this:

      [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
      [EnvInject] - Injecting as environment variables the properties file path 'builder/hudson/env-vars-GDA-master-set1.properties'
      

      The help text needs changing so that it describes what actually happens.

      The same wrong help text appears when you have a "Build Step" of "Inject environment variables".

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/resources/org/jenkinsci/plugins/envinject/EnvInjectBuildWrapper/help-propertiesFilePath.html
          http://jenkins-ci.org/commit/envinject-plugin/271fe379e2732cbd2781546cb72df329350c5656
          Log:
          Fix JENKINS-15664

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/resources/org/jenkinsci/plugins/envinject/EnvInjectBuildWrapper/help-propertiesFilePath.html http://jenkins-ci.org/commit/envinject-plugin/271fe379e2732cbd2781546cb72df329350c5656 Log: Fix JENKINS-15664

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              mwebber Matthew Webber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: