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

Only run plugin under Linux

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          Hide
          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

          Show
          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
          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
          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)

          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 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)
          Hide
          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 ;(

          Show
          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 ;(
          Hide
          cowwoc cowwoc added a comment -

          1.0.11-beta3 works for me. Thank you!

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

          Hi, I've released version 1.0.11.

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: