Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Build Condition is not respected during promotion #4308

Ariel.C ·

Hello,
I'm trying to enforce build condition verification on promotion (QB 8.0.28). Unfortunately, build condition is ignored (however there is a log "Checking build condition on node" in server log). The same condition works if I run this build as a scheduled one.

The goal I would like to achieve is that:
we have bunch of pipelines with automatic promotions and in some conditions we would like to have a switch to disable promoted builds - not only stop triggering them, but also cancel requests if those will try to start build.

Is there a way of enforcing Build Conditions for promotions?

  • replies 1
  • views 322
  • stars 0
robinshen ADMIN ·

By default, in manual build or promotion, build condition is ignored. You may enforce it by specifying pre-queue script of target configuration as:

groovy:
request.respectBuildCondition=true