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

Xvfb plugin does not start before release plugin

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

      The release in my free-style project is performed using Release Plugin. Unfortunately Xvfb plugin is not started before Release plugin and there are no pre-release targets that can trigger it.

      Expected:

      • Either Xvfb is automatically stated before Release plugin.
      • Or there is a "Add release step" -> "Start Xvfb" target available to start Xvfb.

          [JENKINS-22719] Xvfb plugin does not start before release plugin

          dma_k created issue -

          zregvart added a comment -

          Hi,
          thanks for reporting. If the build wrapper plugin does not explicitly specify order, order is determined by comparing plugin names. Starting with X xvfb build wrapper would be almost always the last plugin executed.

          I've explicitly set the order to the maximal value, so xvfb plugin will be run before any other build wrapper plugin.

          In order to have this order you'll need to re-save the job's configuration, because ordering is done when saving the job.

          zregvart added a comment - Hi, thanks for reporting. If the build wrapper plugin does not explicitly specify order, order is determined by comparing plugin names. Starting with X xvfb build wrapper would be almost always the last plugin executed. I've explicitly set the order to the maximal value, so xvfb plugin will be run before any other build wrapper plugin. In order to have this order you'll need to re-save the job's configuration, because ordering is done when saving the job.
          zregvart made changes -
          Summary Original: Xvfb plugin does not start for release plugin New: Xvfb plugin does not start before release plugin

          Code changed in jenkins
          User: Zoran Regvart
          Path:
          src/main/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapper.java
          http://jenkins-ci.org/commit/xvfb-plugin/f6aa827efb5092c66263ea385dafa5661c453242
          Log:
          JENKINS-22719 Xvfb plugin does not start before release plugin

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Zoran Regvart Path: src/main/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapper.java http://jenkins-ci.org/commit/xvfb-plugin/f6aa827efb5092c66263ea385dafa5661c453242 Log: JENKINS-22719 Xvfb plugin does not start before release plugin

          zregvart added a comment -

          Fixed in version 1.0.10

          zregvart added a comment - Fixed in version 1.0.10
          zregvart made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          zregvart made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154831 ] New: JNJira + In-Review [ 207640 ]

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

              Created:
              Updated:
              Resolved: