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

envinject does not fail the build after Environment Script Content fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.424.1
      Windows XP
      envinject 1.0
    • Similar Issues:

      Description

      When the Environment Script Content fails, envinject gives the message
      [EnvInject] - [ERROR] - The exit code is '2'. Fail the build.
      [EnvInject] - The exit code is '2'. Fail the build.
      but it continues onto the rest of the build, and doesn't change the status of the build.

        Attachments

          Activity

          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/EnvInjectBuildWrapper.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java
          src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectScriptExecutor.java
          http://jenkins-ci.org/commit/envinject-plugin/c79b61d5c7e79add9a85a5e98665dd67e2ad7812
          Log:
          Fix JENKINS-12252

          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/EnvInjectBuildWrapper.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectScriptExecutor.java http://jenkins-ci.org/commit/envinject-plugin/c79b61d5c7e79add9a85a5e98665dd67e2ad7812 Log: Fix JENKINS-12252

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              rmyung Roger Myung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: