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

Only run plugin under Linux

    XMLWordPrintable

Details

    Description

      I'd like to enable the xvfb plugin for a job that may run on multiple platforms. Because the job isn't node-linked, I need a mechanism to ensure that xvfb is only launched for certain nodes but not others.

      Can you provide such a mechanism?

      Attachments

        Activity

          zregvart zregvart added a comment -

          Hi,
          I've created another beta (1.0.11-beta2) in the experimental plugins update center in which I basically reappropriated code from jenkins-core into the plugin. Otherwise I would have had to check under which version of Jenkins the plugin is running and act accordingly (the signature of the methods changed between versions). I've tested on 1.564 and 1.424.6 (the minimal version) seems ok. Could you test and see if it works in your environment?

          thanks

          zregvart zregvart added a comment - Hi, I've created another beta (1.0.11-beta2) in the experimental plugins update center in which I basically reappropriated code from jenkins-core into the plugin. Otherwise I would have had to check under which version of Jenkins the plugin is running and act accordingly (the signature of the methods changed between versions). I've tested on 1.564 and 1.424.6 (the minimal version) seems ok. Could you test and see if it works in your environment? thanks

          Code changed in jenkins
          User: Zoran Regvart
          Path:
          src/main/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapper.java
          src/main/resources/org/jenkinsci/plugins/xvfb/Messages.properties
          http://jenkins-ci.org/commit/xvfb-plugin/34229d91801f058b0c1c9ee4d216a78a79fcdf2e
          Log:
          JENKINS-23155 Only run plugin under Linux (revised code for future compatibility)

          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 src/main/resources/org/jenkinsci/plugins/xvfb/Messages.properties http://jenkins-ci.org/commit/xvfb-plugin/34229d91801f058b0c1c9ee4d216a78a79fcdf2e Log: JENKINS-23155 Only run plugin under Linux (revised code for future compatibility)
          zregvart zregvart added a comment -

          Hi, I've fumbled the release, now its 1.0.11-beta3, the beta2 doesn't have any changes in it ;(

          zregvart zregvart added a comment - Hi, I've fumbled the release, now its 1.0.11-beta3, the beta2 doesn't have any changes in it ;(
          cowwoc cowwoc added a comment -

          1.0.11-beta3 works for me. Thank you!

          cowwoc cowwoc added a comment - 1.0.11-beta3 works for me. Thank you!
          zregvart zregvart added a comment -

          Hi, I've released version 1.0.11.

          zregvart zregvart added a comment - Hi, I've released version 1.0.11.

          People

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

            Dates

              Created:
              Updated:
              Resolved: