change environmental variable in BATCH file

12 views
Skip to first unread message

Ziv Margolin

unread,
Nov 3, 2016, 2:45:09 AM11/3/16
to Jenkins Users
Hi

I am trying to set new value for environmental variable BUILD_ID

My batch build is something like that:


BUILD_ID=dontKillMe
start -w c:\mydir\myprog.exe > c:\txt\resoult.txt
findstr c\:"PASS" c:\txt\resoult.txt
if errorlevel 0 (
echo "1"
)


what will be the correct 


Thank you



Reply all
Reply to author
Forward
0 new messages