aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2012-07-23 11:50:50 -0500
committerCorey Frang <gnarf@gnarf.net>2012-07-23 11:50:50 -0500
commit9fb9b6d65c30221f38b1ce15a943a74c0fb2a3c0 (patch)
treeb3d3e01cc886f9c3a830660fe944a90d5e9775bf
parentcb41ec798ac945038bc2764329b264d48f61209c (diff)
downloadjquery-ui-9fb9b6d65c30221f38b1ce15a943a74c0fb2a3c0.tar.gz
jquery-ui-9fb9b6d65c30221f38b1ce15a943a74c0fb2a3c0.zip
Build: Adding subtitles for release coverage builds to testswarm description
-rw-r--r--build/tasks/testswarm.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index d0ae556a8..60b6370d4 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -32,7 +32,7 @@ var versions = {
"Widget": "widget/widget.html"
};
-function submit( commit, tests, configFile, done ) {
+function submit( commit, tests, configFile, version, done ) {
var test,
testswarm = require( "testswarm" ),
config = grunt.file.readJSON( configFile ).jqueryui,
@@ -49,7 +49,7 @@ function submit( commit, tests, configFile, done ) {
}, {
authUsername: config.authUsername,
authToken: config.authToken,
- jobName: 'jQuery UI commit #<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
+ jobName: 'jQuery UI ' + version + '<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 7 ) + '</a>',
runMax: config.runMax,
"runNames[]": Object.keys(tests),
"runUrls[]": testUrls,
@@ -63,7 +63,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, "", this.async() );
});
grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, minor ) {
@@ -73,7 +73,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino
allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version;
}
});
- submit( commit, allTests, configFile, this.async() );
+ submit( commit, allTests, configFile, minor + " core", this.async() );
});
};