View Single Post
  #1  
Old 06-07-2005, 09:31 AM
SamS SamS is online now
Registered User
 
Join Date: 10-12-2004
Location: London
Posts: 9
Multi-conditional steps

Hi

I'm working on my very first build process and my brain has gone into a (newarly terminal) loop over this. Help please

What I'm trying to do is,

* Build a VB project
* if the output string contains "not building (no changes)..." log a message saying that the build was skipped
* if the output string doesn't contain that and the status is 0 then log a message saying "build successful"
* if the status isn't 0 and the output string contains "compatibility error " then jump to another sub routine that'll handle that situation
* if the status isn't 0 and the output string is anything else then go to a subroutine that'll log the failure and end the build.

It seems that what I need is to capture both the StepStatus and StepOutput (into temporary macros) at the same time but I can't see a way to do this.

I assume I'm missing something obvious but as I say I have a brain failure.

Any ideas?

Cheers

Sam
Reply With Quote