aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2013-10-02 15:41:04 +0200
committerTimo Tijhof <krinklemail@gmail.com>2013-10-02 15:41:04 +0200
commit8689dee13c4e01360de99e8b9d95f4f379cb3c3c (patch)
tree2a166da719b963bde54a298db09ea36891637a96
parent62b30d04b3720ca138d78de636d123922c717a9e (diff)
downloadjquery-ui-8689dee13c4e01360de99e8b9d95f4f379cb3c3c.tar.gz
jquery-ui-8689dee13c4e01360de99e8b9d95f4f379cb3c3c.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`.
-rw-r--r--build/tasks/testswarm.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index c7aeea1de..0df18ea72 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -41,13 +41,12 @@ function submit( commit, runs, configFile, extra, done ) {
config = grunt.file.readJSON( configFile ).jqueryui,
commitUrl = "https://github.com/jquery/jquery-ui/commit/" + commit;
- if ( extra ) {
- extra = " " + extra;
- }
+ extra = " (1.9" + ( extra ? "; " + extra : "" ) + ")";
for ( testName in runs ) {
runs[ testName ] = config.testUrl + commit + "/tests/unit/" + runs[ testName ];
}
+
testswarm.createClient({
url: config.swarmUrl,
pollInterval: 10000,
@@ -59,7 +58,7 @@ function submit( commit, runs, configFile, extra, done ) {
token: config.authToken
})
.addjob({
- name: "jQuery UI 1-9 #<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
@@ -77,7 +76,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 ) {