Fix comparison

This issue is archived. You can view it, but you can't modify it. Learn more

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

            Assignee:
            Dominik Bartholdi
            Reporter:
            stibbons
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: