summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorMichelle McDaniel <adiaaida@gmail.com>2016-11-08 13:37:20 -0800
committerMichelle McDaniel <adiaaida@gmail.com>2016-11-10 14:25:41 -0800
commit503de5e8dde3d996b06db41c0b46617cebbdee11 (patch)
tree5c83ea9bb2861b0e886cac3c89813ffc721d6fb2 /netci.groovy
parenta136b2e5c26c46882eb70ed59b424673965b58ce (diff)
downloadcoreclr-503de5e8dde3d996b06db41c0b46617cebbdee11.tar.gz
coreclr-503de5e8dde3d996b06db41c0b46617cebbdee11.tar.bz2
coreclr-503de5e8dde3d996b06db41c0b46617cebbdee11.zip
Create patches in formatting job
In the formatting job, if there are formatting errors, we will run the formatter in --fix mode and generate a patch which will be uploaded to azure storage.
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy2
1 files changed, 2 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy
index 3bba51d6fb..81d3ee7d3f 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -1761,6 +1761,7 @@ combinedScenarios.each { scenario ->
}
else if (scenario == 'formatting') {
buildCommands += "python -u tests\\scripts\\format.py -c %WORKSPACE% -o Windows_NT -a ${arch}"
+ Utilities.addArchival(newJob, "format.patch", "", true, false)
break
}
else {
@@ -1972,6 +1973,7 @@ combinedScenarios.each { scenario ->
if (scenario == 'formatting') {
buildCommands += "python tests/scripts/format.py -c \${WORKSPACE} -o Linux -a ${arch}"
+ Utilities.addArchival(newJob, "format.patch", "", true, false)
break
}