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

Xvfb plugin does not start before release plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      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

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

          Show
          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.
          Hide
          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

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

          Fixed in version 1.0.10

          Show
          zregvart zregvart added a comment - Fixed in version 1.0.10

            People

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

              Dates

              Created:
              Updated:
              Resolved: