• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • envinject-plugin
    • None

      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".

          [JENKINS-15664] Help text for EnvInject plugin is wrong

          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

          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

            gbois Gregory Boissinot
            mwebber Matthew Webber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: