@@ -69,7 +69,9 @@ def static getOSGroup(def os) {
69
69
// Do this here to remove the origin but at the front of the branch name as this is a problem for BenchView
70
70
// we have to do it all as one statement because cmd is called each time and we lose the set environment variable
71
71
batchFile(" if [%GIT_BRANCH:~0,7%] == [origin/] (set GIT_BRANCH_WITHOUT_ORIGIN=%GIT_BRANCH:origin/=%) else (set GIT_BRANCH_WITHOUT_ORIGIN=%GIT_BRANCH%)\n " +
72
- " py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ submission-metadata.py\" --name \" ${ benchViewName} \" --user \" [email protected] \"\n " +
72
+ " set BENCHVIEWNAME=${ benchViewName} \n " +
73
+ " set BENCHVIEWNAME=%BENCHVIEWNAME:\" =%\n " +
74
+ " py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ submission-metadata.py\" --name \" %BENCHVIEWNAME%\" --user \" [email protected] \"\n " +
73
75
" py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ build.py\" git --branch %GIT_BRANCH_WITHOUT_ORIGIN% --type ${ runType} " )
74
76
batchFile(" py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ machinedata.py\" " )
75
77
batchFile(" set __TestIntermediateDir=int&&build.cmd ${ configuration} ${ architecture} " )
@@ -162,6 +164,8 @@ def static getOSGroup(def os) {
162
164
// Do this here to remove the origin but at the front of the branch name as this is a problem for BenchView
163
165
// we have to do it all as one statement because cmd is called each time and we lose the set environment variable
164
166
batchFile(" if [%GIT_BRANCH:~0,7%] == [origin/] (set GIT_BRANCH_WITHOUT_ORIGIN=%GIT_BRANCH:origin/=%) else (set GIT_BRANCH_WITHOUT_ORIGIN=%GIT_BRANCH%)\n " +
167
+ " set BENCHVIEWNAME=${ benchViewName} \n " +
168
+ " set BENCHVIEWNAME=%BENCHVIEWNAME:\" =%\n " +
165
169
" py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ submission-metadata.py\" --name \" ${ benchViewName} \" --user \" [email protected] \"\n " +
166
170
" py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ build.py\" git --branch %GIT_BRANCH_WITHOUT_ORIGIN% --type ${ runType} " )
167
171
batchFile(" py \" %WORKSPACE%\\ Microsoft.BenchView.JSONFormat\\ tools\\ machinedata.py\" " )
0 commit comments