Skip to content

Commit 6e55168

Browse files
committed
grunt testswarm: Job name consistent with other jquery repos.
With hash symbol in front of link and 10-char commit hash.
1 parent 149567e commit 6e55168

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/tasks/testswarm.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ function submit( commit, tests, configFile, version, done ) {
4242
for ( test in tests ) {
4343
testUrls.push( testBase + tests[ test ] );
4444
}
45+
version = version ? ( version + " " ) : "";
4546
testswarm({
4647
url: config.swarmUrl,
4748
pollInterval: 10000,
@@ -50,7 +51,7 @@ function submit( commit, tests, configFile, version, done ) {
5051
}, {
5152
authUsername: config.authUsername,
5253
authToken: config.authToken,
53-
jobName: 'jQuery UI ' + version + '<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 7 ) + '</a>',
54+
jobName: 'jQuery UI ' + version + '#<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
5455
runMax: config.runMax,
5556
"runNames[]": Object.keys(tests),
5657
"runUrls[]": testUrls,
@@ -74,7 +75,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino
7475
allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version;
7576
}
7677
});
77-
submit( commit, allTests, configFile, minor + " core ", this.async() );
78+
submit( commit, allTests, configFile, minor + " core", this.async() );
7879
});
7980

8081
};

0 commit comments

Comments
 (0)