diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2013-10-02 15:33:03 +0200 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-10-02 09:49:05 -0400 |
commit | 647b839c526d81017db341a1829677fc0e5a27d5 (patch) | |
tree | f87f5bd141e836612a1fe6cfeff114d1ef055d87 /build | |
parent | f3668632e4e2e9d06a88b9fd61b54674a4f65c1c (diff) | |
download | jquery-ui-647b839c526d81017db341a1829677fc0e5a27d5.tar.gz jquery-ui-647b839c526d81017db341a1829677fc0e5a27d5.zip |
Gruntfile: Remove project prefix from TestSwarm job name
* Also added a line break to separate the for statement
from the testswarm chain.
* Passing explicit false instead of empty string as `extra`.
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/testswarm.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index dd9959a62..620c71e4b 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -41,12 +41,13 @@ function submit( commit, runs, configFile, extra, done ) { commitUrl = "https://github.com/jquery/jquery-ui/commit/" + commit; if ( extra ) { - extra = " " + extra; + extra = " (" + extra + ")"; } for ( testName in runs ) { runs[ testName ] = config.testUrl + commit + "/tests/unit/" + runs[ testName ]; } + testswarm.createClient({ url: config.swarmUrl, pollInterval: 10000, @@ -58,7 +59,7 @@ function submit( commit, runs, configFile, extra, done ) { token: config.authToken }) .addjob({ - name: "jQuery UI #<a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra, + name: "Commit <a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra, runs: runs, runMax: config.runMax, browserSets: config.browserSets @@ -76,7 +77,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) { for ( test in tests ) { latestTests[ test ] = tests[ test ] + "?nojshint=true"; } - submit( commit, latestTests, configFile, "", this.async() ); + submit( commit, latestTests, configFile, false, this.async() ); }); grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, minor ) { |