diff options
author | Felix Nagel <info@felixnagel.com> | 2012-10-03 22:37:03 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-10-03 22:37:03 +0200 |
commit | cca4e77a95eb7024c204f4d0719baa2ef6195ed2 (patch) | |
tree | 732a8e171647d9b25b1b2988f09dccc5d182bad7 /build/tasks/testswarm.js | |
parent | 5e12c54be1813e1f627d3214c11d7520fb46c647 (diff) | |
parent | e8bdf468614e59309b4a02ad4f6c29c1d06083c1 (diff) | |
download | jquery-ui-cca4e77a95eb7024c204f4d0719baa2ef6195ed2.tar.gz jquery-ui-cca4e77a95eb7024c204f4d0719baa2ef6195ed2.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'build/tasks/testswarm.js')
-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 46f152e7f..34c17d4f6 100644 --- a/build/tasks/testswarm.js +++ b/build/tasks/testswarm.js @@ -3,7 +3,7 @@ module.exports = function( grunt ) { var versions = { "git": "git", - "1.8": "1.8.0", + "1.8": "1.8.0 1.8.1 1.8.2", "1.7": "1.7 1.7.1 1.7.2", "1.6": "1.6 1.6.1 1.6.2 1.6.3 1.6.4" }, @@ -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() ); }); }; |