"Widget": "widget/widget.html"
};
-function submit( commit, tests, configFile, done ) {
+function submit( commit, tests, configFile, version, done ) {
var test,
testswarm = require( "testswarm" ),
config = grunt.file.readJSON( configFile ).jqueryui,
}, {
authUsername: config.authUsername,
authToken: config.authToken,
- jobName: 'jQuery UI commit #<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
+ jobName: 'jQuery UI ' + version + '<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 7 ) + '</a>',
runMax: config.runMax,
"runNames[]": Object.keys(tests),
"runUrls[]": testUrls,
for ( test in tests ) {
latestTests[ test ] = tests[ test ] + "?nojshint=true";
}
- submit( commit, latestTests, configFile, this.async() );
+ submit( commit, latestTests, configFile, "", this.async() );
});
grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, minor ) {
allTests[ test + "-" + version ] = tests[ test ] + "?nojshint=true&jquery=" + version;
}
});
- submit( commit, allTests, configFile, this.async() );
+ submit( commit, allTests, configFile, minor + " core", this.async() );
});
};