You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to git-t...@googlegroups.com
I read the wiki, searched Stack Overflow and this forum and I did not find information about this question:
git-tfs doesn't seem to set Errorlevel when run in a Windows batch file. What this means for me is that when I use it in Jenkins, the job won't signal that it failed.
Am I missing something? Or is this feature planned?
Thanks,
Jeff
Matt Burke
unread,
Jan 25, 2013, 10:50:27 AM1/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to git-t...@googlegroups.com
Jeff,
I tried to do that. Git-tfs's Main method sets Environment.ExitCode.
[1] Is there something else it needs to do to make that available to
.bat Errorlevel? There's a lot about batch scripting that I don't know
about. Also, are you running `git-tfs blah` or `git tfs blah`? Which
variety of git are you running? Is it a .exe? Does it pass along the
exit code from git-tfs.exe correctly?