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)
-   -   Vault (https://www.kinook.com/Forum/showthread.php?t=2702)

rfktp 06-12-2007 01:54 PM

Vault
 
How do I set up a step to check and see in vault if there is any new code?

kinook 06-12-2007 02:33 PM

http://www.visualbuild.com/Manual/contintegsample.htm

rfktp 06-12-2007 02:47 PM

I looked in the code and don't see where it is checking for updated code.

What do I need to change to get this too work?

Also when I set the perfombuild step to build the solution file it opens anouther copy of visual build. How do I avoide that?

[vbld_IIf(Application.Macros(vbldMacroAll)("LAST_BUILD_TIME") Is Nothing Or Not Application.Macros(vbldMacroAll)("BUILD_ERROR_STATUS") Is Nothing, "yes", "no")]

kinook 06-12-2007 03:42 PM

Quote:

Originally posted by rfktp
I looked in the code and don't see where it is checking for updated code.
The 'Check (Vault)' step performs a history command for all changes (excluding the build user) since the last build time, parses the output in the vbld_StepDone script event, and sets the NEED_TO_BUILD temporary macro to yes if there were any changes.

Quote:

What do I need to change to get this too work?
Get what to work? Make sure VBScript is the default script language (Tools | Application Options | General). Please ZIP and send or post:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file capturing what isn't working

Quote:

Also when I set the perfombuild step to build the solution file it opens anouther copy of visual build. How do I avoide that?
The sample calls another .bld file to perform the build. You can just put your build logic in the main .bld file if desired.

rfktp 06-12-2007 04:03 PM

I looked at the Check vault And I do not see where it is updateing %NEED_TO_BUILD%

When I look at the example it needs %NEED_TO_BUILD% to be not equal to no.

Where can I find this being done on the check vault step?

rfktp 06-12-2007 04:28 PM


kinook 06-12-2007 04:51 PM

Double-click the Check (Vault) step, then click the Script Editor+ button.
http://www.visualbuild.com/Manual/scriptevents.htm


All times are GMT -5. The time now is 02:40 AM.


Copyright © 1999-2023 Kinook Software, Inc.