[Anthill-pro] Step Pre-Condition Scripts - Step doesn't stop

emerson cargnin echofloripa.yell at gmail.com
Thu Aug 28 05:15:13 CDT 2008


Hi

I have a script that runs the svn clean up step or not, depending if
it is a CI workflow or it is a labeled build workflow.  I'm testing
the if I have the "tagToReleaseFrom", a property that exists only in
"build from a tag" kind of workflow.

That's the script I have.

String tag=PropertyLookup.getValue("tagToReleaseFrom");
if (tag!=null && tag.trim().length() > 0) {
Fail.never();
} else {
Fail.always();
}


But even for CI builds that don't have that property this step is
being executed :( It seems the Fail.never doesn't get executed... How
can I debug it???

Regards
Emerson


More information about the Anthill-pro mailing list