• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • xvfb-plugin
    • None

      When starting Xcfb fails the build goes to ABORTED but it should FAIL

      rationale: We have many builds, probably because of an upgrade of jenkins/xvfb plugin our build was missing configuration so it went into ABORTED all the time. It took us quite a while to see that, if it would have failed instead we would have seen this issue directly.

      Building in workspace /var/lib/jenkins/jobs/test/workspace
      ERROR: No Xvfb installations defined, please define one in the configuration. Once defined you’ll need to choose one under Advanced options for Xvfb plugin job settings and save job configuration.
      Build was aborted
      Finished: ABORTED

          [JENKINS-33288] Xvfb error does not fail build

          Code changed in jenkins
          User: zregvart
          Path:
          src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java
          src/test/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapperTest.java
          http://jenkins-ci.org/commit/xvfb-plugin/5915aae09d545964b574c6642fbf8803d5def48e
          Log:
          JENKINS-33288 Xvfb error does not fail build

          Compare: https://github.com/jenkinsci/xvfb-plugin/compare/9b4723264697...5915aae09d54

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: zregvart Path: src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java src/test/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapperTest.java http://jenkins-ci.org/commit/xvfb-plugin/5915aae09d545964b574c6642fbf8803d5def48e Log: JENKINS-33288 Xvfb error does not fail build Compare: https://github.com/jenkinsci/xvfb-plugin/compare/9b4723264697...5915aae09d54

          zregvart added a comment -

          Fixed in version 1.1.3

          zregvart added a comment - Fixed in version 1.1.3

          francisdb added a comment -

          thanks for the quick fix!

          francisdb added a comment - thanks for the quick fix!

            zregvart zregvart
            francisdb francisdb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: