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

Inject variable from a Groovy Script stored on filesystem.

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • envinject-plugin
    • None

      In "Prepare an environment for the run" from the Envinject plugin it is possible to
      evaluate a Groovy Script in each job configuration.

      To use the same script with multiple jobs and avoid copy/paste between jobs, it would be more efficient to have an option to have groovy scripts stored on file system.

      The option is available for Script content and Properties file, but not for Groovy script.

      I 'd need to create new environment variables from values of axis in matrix job and this improvement would be appreciated.

          [JENKINS-16829] Inject variable from a Groovy Script stored on filesystem.

          There are no comments yet on this issue.

            Unassigned Unassigned
            blatinville Bertrand Latinville
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: