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

Parameters are not working in EnvInject plugin 1.38

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      EnvInject 1.38
      Jenkins 1.455 / 1.456
    • Similar Issues:

      Description

      When you specify variables in "Inject environment variables to the build process" / "Properties File Path" section (as it is presented in attached screenshot) it does not resolves those variables:

      13:45:46 [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
      13:45:46 [EnvInject] - [ERROR] - The given properties file path '${WORKSPACE}/${Branch}/***/Install/properties/dbschema.property' doesn't exist.
      13:45:46 [EnvInject] - [ERROR] - [EnvInject] - [ERROR] - Problems occurs on injecting env vars as a build wrap: hudson.util.IOException2: remote file operation failed: /****/***/jenkins/workspace/[Job-name] at hudson.remoting.Channel@147ed19:****************

      Had to revert to 1.36 version

        Attachments

          Activity

          Hide
          pxantom Oleksandr Popov added a comment -

          Ive both 1.455 and 1.456 - with old 1.36 plugin version it working fine, however with 1.38 it is not. Could you please fix this.

          Thanks in advance!

          Show
          pxantom Oleksandr Popov added a comment - Ive both 1.455 and 1.456 - with old 1.36 plugin version it working fine, however with 1.38 it is not. Could you please fix this. Thanks in advance!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectComputerListener.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java
          src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectVariableGetter.java
          http://jenkins-ci.org/commit/envinject-plugin/a15917a4d4f91cceb6124f117b60769e3ed1fc4d
          Log:
          Fix JENKINS-13155

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/EnvInjectComputerListener.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectVariableGetter.java http://jenkins-ci.org/commit/envinject-plugin/a15917a4d4f91cceb6124f117b60769e3ed1fc4d Log: Fix JENKINS-13155
          Hide
          pxantom Oleksandr Popov added a comment -

          Thanks it is working now... v. 1.39

          Show
          pxantom Oleksandr Popov added a comment - Thanks it is working now... v. 1.39

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              pxantom Oleksandr Popov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: