Skip to content
Permalink
Browse files

grunt testswarm: Job name consistent with other jquery repos.

With hash symbol in front of link and 10-char commit hash.
  • Loading branch information...
Krinkle committed Sep 29, 2012
1 parent 149567e commit 6e55168318495da50cae457433eae2438699e1f3
Showing with 3 additions and 2 deletions.
  1. +3 −2 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() );
});

};

0 comments on commit 6e55168

Please sign in to comment.
You can’t perform that action at this time.