#1
|
|||
|
|||
Step Property
I have a Step that checks the Status on a server via a macro, if the status returned = clean, then continue to next step, however the step always builds even if the returned status is not equal to clean, can you provide any guidence on how to get this step to evaluate properly. I have attached a file that shows the setting s on the General Tab
|
#2
|
|||
|
|||
Two steps: first, the HTTP step without build rule, followed by a step (could be the specific action to execute or a Group step with additional child steps) with rule to build only if %HTTP_OUTPUT% is equal to clean.
http://www.kinook.com/VisBuildPro/Manual/buildrules.htm |
#3
|
|||
|
|||
Ok, I made step 1, the HTTP Step to always build and then added a new step, step 2 as a Group Step with rule to build only if %HTTP_OUTPUT% is equal to clean., however it still builds all the preceeding steps even when the macro evaluates to an ouptput other than clean.
|
#4
|
|||
|
|||
#5
|
|||
|
|||
I have now run into another problem when building from a command line. Every night, this project runs as an automated build, however since making the changes to get the first step to check the build server status before executing the preceeding steps, it no longer builds, always stops on the step that evaluates the status. I'm using the follwing command to build"C:\Program Files\VisBuildPro6\VisBuildPro.exe" with the command arguement: /b "C:\Program Files\VisBuildPro6\trios2_Release.bld"
|
#6
|
|||
|
|||
You may need to remove a breakpoint (or use the /s option to skip breakpoints).
http://www.kinook.com/VisBuildPro/Ma...ilddetails.htm http://www.kinook.com/VisBuildPro/Ma...nd_linegui.htm |
#7
|
|||
|
|||
I don't have any breakpoints set in my project. It builds correctly from the console UI when I select Build Group
|
#8
|
|||
|
|||
Enable file logging and ZIP and post or send the log file.
http://www.kinook.com/VisBuildPro/Ma...ildlogging.htm |
#9
|
|||
|
|||
I found the problem, apparently the automated build stoped, but the process was still running in Task Manager so I changed some setting so that if it starts a new process to terminate the process if another instance is running
Last edited by dheller; 01-08-2010 at 10:21 AM. |
|
|