@@ -32,7 +32,7 @@ var versions = {
3232 "Widget" : "widget/widget.html"
3333 } ;
3434
35- function submit ( commit , tests , configFile , done ) {
35+ function submit ( commit , tests , configFile , version , done ) {
3636 var test ,
3737 testswarm = require ( "testswarm" ) ,
3838 config = grunt . file . readJSON ( configFile ) . jqueryui ,
@@ -49,7 +49,7 @@ function submit( commit, tests, configFile, done ) {
4949 } , {
5050 authUsername : config . authUsername ,
5151 authToken : config . authToken ,
52- jobName : 'jQuery UI commit # <a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit . substr ( 0 , 10 ) + '</a>' ,
52+ jobName : 'jQuery UI ' + version + ' <a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit . substr ( 0 , 7 ) + '</a>' ,
5353 runMax : config . runMax ,
5454 "runNames[]" : Object . keys ( tests ) ,
5555 "runUrls[]" : testUrls ,
@@ -63,7 +63,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
6363 for ( test in tests ) {
6464 latestTests [ test ] = tests [ test ] + "?nojshint=true" ;
6565 }
66- submit ( commit , latestTests , configFile , this . async ( ) ) ;
66+ submit ( commit , latestTests , configFile , "" , this . async ( ) ) ;
6767} ) ;
6868
6969grunt . registerTask ( "testswarm-multi-jquery" , function ( commit , configFile , minor ) {
@@ -73,7 +73,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino
7373 allTests [ test + "-" + version ] = tests [ test ] + "?nojshint=true&jquery=" + version ;
7474 }
7575 } ) ;
76- submit ( commit , allTests , configFile , this . async ( ) ) ;
76+ submit ( commit , allTests , configFile , minor + " core" , this . async ( ) ) ;
7777} ) ;
7878
7979} ;
0 commit comments