Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Conditionally add file to VSS (https://www.kinook.com/Forum/showthread.php?t=334)

mwthomas 02-19-2004 06:58 PM

Conditionally add file to VSS
 
After completing a build, I want to check the executables into VSS. But if the execuatables are not in VSS already, I want to add them. Additionally, some executables are in VSS, and a new executable, or resource file, etc. is added in a later release, I want to automatically add the new file to VSS as well.

I was thinking of doing a checkin and allowing that to fail and in the fail step add the missing file. But then, once the problem has been corrected, I would need to go back to the original script and continue where it left off.

Can anyone provide suggestions on how i can do this?

Thanks!

kinook 02-19-2004 07:47 PM

Mark the check-in step to Ignore Failure. Put the Add step next, with a conditional build rule to build only if %LASTSTEP_STATUS% is not equal to 0.


All times are GMT -5. The time now is 05:52 PM.


Copyright © 1999-2023 Kinook Software, Inc.