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

Help text for EnvInject plugin is wrong

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • 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

            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: