Fix archiving for jitdiff windows build only jobs
authorSven Boemer <sbomer@gmail.com>
Wed, 23 Nov 2016 17:14:03 +0000 (09:14 -0800)
committerSven Boemer <sbomer@gmail.com>
Wed, 23 Nov 2016 17:14:03 +0000 (09:14 -0800)
The dasm archiving was enabled for all jitdiff scenarios, including the
build set up for the ubuntu/osx flow jobs. The dasm artifacts don't
exist in build-only scenarios, and this was preventing archiving of
the build.

netci.groovy

index a6809ea..48d5989 100755 (executable)
@@ -1960,8 +1960,10 @@ combinedScenarios.each { scenario ->
 
                                         if (scenario == 'jitdiff') {
                                             // retrive jit-dasm output for base commit, and run jit-diff
-
-                                            Utilities.addArchival(newJob, "bin/tests/${osGroup}.${arch}.${configuration}/dasm/**")
+                                            if (!isBuildOnly) {
+                                                // if this is a build only job, we want to keep the default (build) artifacts for the flow job
+                                                Utilities.addArchival(newJob, "bin/tests/${osGroup}.${arch}.${configuration}/dasm/**")
+                                            }
                                         }
                                         
                                         if (!isBuildOnly) {