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.

QB3.0.10: Step's successful flag #1155

absalom1 ·
I made a configuration with two steps to test successful flag. The first step's name is "sync" and the other's name is "build"
I tried to test "steps.get("sync").isSuccessful()" script on build condition of "build" step because I do not want to run "build" step if "sync" step is failed
But "build" step never runs, it says "Execute condition not satisfied, skip step 'master>build'."
  • replies 3
  • views 1592
  • stars 0
roger ·
As steps can be re-used in multiple places in 3.x I would guess you need the full path hierachy to find the step (something like 'master->sync' if it's under the master step). I've not done this myself so it may not work <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->

-r
absalom1 ·
Could show me an example to use?

I have configuration steps like below and I want to run publish step only when sync step is succeed

master
- sync
- build
- publish
absalom1 ·
I made it with "steps.get("master>sync").isSuccessful()" script
I missed to see this page(http://wiki.pmease.com/display/qb30/Step+Path)
Thanks a lot