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

Current build status condition always shown as success

XMLWordPrintable

      I would like my job to run only when the previous execution was successful.

      To do so, I've tried to use the Current build status condition and set the Worst and Best statuses to Sucess. When the job is invoked (periodic execution) the plugin will always return that the current status is Success (as shown below) even though the last\previous build failed.

      Run condition [Current build status] enabling prebuild for step [BuilderChain]
      No emails were triggered.
      [Current build status] check if current [SUCCESS] is worse or equals then [SUCCESS] and better or equals then [SUCCESS]
      Run condition [Current build status] enabling perform for step [BuilderChain]

      Am I doing something wrong? Do I need to configure anything at the server level?

            bap bap
            asher Asher Karadi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: