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

Help text for EnvInject plugin is wrong

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: