diff options
author | Victor Nate Graf <vigraf@microsoft.com> | 2017-11-17 03:32:19 +0300 |
---|---|---|
committer | Victor Nate Graf <vigraf@microsoft.com> | 2017-11-17 03:32:19 +0300 |
commit | 9a91d616e6967ceeceb8f34c2c7b1f616965228b (patch) | |
tree | afa93793c1afb63578b3ec6cda3a222edbb8a73c /perf.groovy | |
parent | 98127b886479216e1bb687379f61d01001b49e81 (diff) |
Remove sudo form command invocations
Diffstat (limited to 'perf.groovy')
-rw-r--r-- | perf.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perf.groovy b/perf.groovy index cfc2ec1d3f..01ca46132b 100644 --- a/perf.groovy +++ b/perf.groovy @@ -103,7 +103,7 @@ def osShortName = ['Windows 10': 'win10', steps { //We need to specify the max cpu count to be one as we do not want to be executing performance tests in parallel shell("./build.sh -release") - shell("sudo find . -type f -name dotnet | xargs chmod +x") + shell("find . -type f -name dotnet | xargs chmod u+x") shell("curl \"http://benchviewtestfeed.azurewebsites.net/nuget/FindPackagesById()?id='Microsoft.BenchView.JSONFormat'\" | grep \"content type\" | sed \"\$ s/.*src=\\\"\\([^\\\"]*\\)\\\".*/\\1/;tx;d;:x\" | xargs curl -o benchview.zip") shell("unzip -q -o benchview.zip -d \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat\"") @@ -113,7 +113,7 @@ def osShortName = ['Windows 10': 'win10', "python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/submission-metadata.py\" --name " + "\"" + benchViewName + "\"" + " --user-email " + "\"dotnet-bot@microsoft.com\"\n" + "python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/build.py\" git --branch \$GIT_BRANCH_WITHOUT_ORIGIN --type " + runType) shell("python3.5 \"\${WORKSPACE}/Tools/Microsoft.BenchView.JSONFormat/tools/machinedata.py\"") - shell("sudo -E bash ./build-managed.sh -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType}") + shell("bash ./build-managed.sh -release -tests -- /p:Performance=true /p:TargetOS=${osGroup} /m:1 /p:LogToBenchview=true /p:BenchviewRunType=${runType}") } } } |