grunt testswarm: Job name consistent with other jquery repos.

With hash symbol in front of link and 10-char commit hash.
This commit is contained in:
Timo Tijhof 2012-09-29 05:25:45 +02:00
parent 149567e476
commit 6e55168318

View File

@ -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,