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

Fix comparison

XMLWordPrintable

      I'd like to use the conditional-buildstep plugin to execute different build step according to the node it is currently being executed (shell script for linux node, and windows batch for windows slaves).
      So I'd like to be able to evaluate :
      ${BUILD_SLAVE} == "SlaveName"

      Alone, ${BUILD_SLAVE} is well evaluated, however, once the "== SlaveName" appended, it is not resolved at all.

      I'm opening this issue because it is recommended in the following page :
      https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin

            domi Dominik Bartholdi
            stibbons stibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: