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

Xvfb plugin does not start before release plugin

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          dma_k dma_k created issue -
          zregvart 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 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 zregvart made changes -
          Field Original Value New Value
          Summary Xvfb plugin does not start for release plugin 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_issue_link 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 zregvart added a comment -

          Fixed in version 1.0.10

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: