diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2012-09-29 05:25:45 +0200 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2012-09-29 05:25:45 +0200 |
commit | 6e55168318495da50cae457433eae2438699e1f3 (patch) | |
tree | 4036bf92beed57131f9d6d2d82ad2098e73d9c20 | |
parent | 149567e476b70fdda9be6f5628798d67cb1ca6af (diff) | |
download | jquery-ui-6e55168318495da50cae457433eae2438699e1f3.tar.gz jquery-ui-6e55168318495da50cae457433eae2438699e1f3.zip |
grunt testswarm: Job name consistent with other jquery repos.
With hash symbol in front of link and 10-char commit hash.
-rw-r--r-- | build/tasks/testswarm.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js index b42f9cd61..34c17d4f6 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -42,6 +42,7 @@ function submit( commit, tests, configFile, version, done ) { for ( test in tests ) { testUrls.push( testBase + tests[ test ] ); } + version = version ? ( version + " " ) : ""; testswarm({ url: config.swarmUrl, pollInterval: 10000, @@ -50,7 +51,7 @@ function submit( commit, tests, configFile, version, done ) { }, { authUsername: config.authUsername, authToken: config.authToken, - jobName: 'jQuery UI ' + version + '<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 7 ) + '</a>', + jobName: 'jQuery UI ' + version + '#<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>', runMax: config.runMax, "runNames[]": Object.keys(tests), "runUrls[]": testUrls, @@ -74,7 +75,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version; } }); - submit( commit, allTests, configFile, minor + " core ", this.async() ); + submit( commit, allTests, configFile, minor + " core", this.async() ); }); }; |