• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 1.467 (on Windows 7), Run Condition Plugin 0.10, conditional-buildstep plugin 1.1, Any Build Step Plugin 0.1, Flexible Publish Plugin 0.10

      I have a project with a build step with an AND condition. The first is a BOOLEAN condition on an environment variable "TriggerGame". The second is a STRING condition on another environment variable "CONFIGURATION".

      In the same project, I also have a post-build step (using Flexible Publish Plugin) with a STRING condition on the environment variable "CONFIGURATION".

      The output of the build step (using conditional-buildstep) is not sufficient to follow the result of the evaluation:
      >> Run condition [And] enabling prebuild for step [BuilderChain]
      >> Run condition [Strings match] enabling prebuild for step [Archive the artifacts]

      In the output of the post-build step (Flexible Publish) is easier to follow:
      >> Strings match run condition: string 1=[Release], string 2=[Release]
      >> Run condition [Strings match] enabling perform for step [Archive the artifacts]

      Can you modify your output for STRING condition to be like Flexible Publish ?
      Can you add an output for BOOLEAN condition ? Like "Boolean condition: ${ENV,var="TriggerGame"} evaluate to false"

        1. output.png
          output.png
          20 kB
        2. post-build-step.png
          post-build-step.png
          20 kB
        3. build-step.png
          build-step.png
          34 kB

          [JENKINS-14584] More information on conditions in the output

          T. Houdayer created issue -
          Dominik Bartholdi made changes -
          Component/s New: run-condition [ 16129 ]
          Dominik Bartholdi made changes -
          Assignee Original: Dominik Bartholdi [ domi ] New: bap [ bap ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145269 ] New: JNJira + In-Review [ 191409 ]

            bap bap
            thoudayer T. Houdayer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: