diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index a7a6e0f8c..1dc2a2d13 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 #" + commit.substr( 0, 10 ) + "" + extra, + name: "Commit " + commit.substr( 0, 10 ) + "" + 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 ) {