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

Xvfb error does not fail build

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xvfb-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          zregvart zregvart added a comment -

          Fixed in version 1.1.3

          Show
          zregvart zregvart added a comment - Fixed in version 1.1.3
          Hide
          francisdb francisdb added a comment -

          thanks for the quick fix!

          Show
          francisdb francisdb added a comment - thanks for the quick fix!

            People

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

              Dates

              Created:
              Updated:
              Resolved: