Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-11-2010, 03:49 PM
ChrisF ChrisF is online now
Registered User
 
Join Date: 12-09-2009
Posts: 67
Question Performing a step based on a macro

I have a subroutine (in the Subroutine Steps tab) that has the following group with the following steps

Send e-mail group
- Compress a log file
- Send build pass e-mail
- Send build fail e-mail

I only want to either the second or third step in the subroutine based on, you guessed it, build pass or fail condition. I do this by calling the subroutine as the last step of my Project Steps tab (pass condition), and in my Failure Steps tab (fail condition).

I have a BUILD_STATUS macro that I set to Passed when calling it from the Project Steps tab, set it to Failed when calling it from the Failure steps tab.

In each of the Send build pass e-mail or Send build fail e-mail steps, I check for this macro. However, I'm still sending BOTH e-mails.

What am I missing?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:05 AM.


Copyright © 1999-2023 Kinook Software, Inc.