@@ -32,7 +32,7 @@ var versions = {
32
32
"Widget" : "widget/widget.html"
33
33
} ;
34
34
35
- function submit ( commit , tests , configFile , done ) {
35
+ function submit ( commit , tests , configFile , version , done ) {
36
36
var test ,
37
37
testswarm = require ( "testswarm" ) ,
38
38
config = grunt . file . readJSON ( configFile ) . jqueryui ,
@@ -49,7 +49,7 @@ function submit( commit, tests, configFile, done ) {
49
49
} , {
50
50
authUsername : config . authUsername ,
51
51
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>' ,
53
53
runMax : config . runMax ,
54
54
"runNames[]" : Object . keys ( tests ) ,
55
55
"runUrls[]" : testUrls ,
@@ -63,7 +63,7 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
63
63
for ( test in tests ) {
64
64
latestTests [ test ] = tests [ test ] + "?nojshint=true" ;
65
65
}
66
- submit ( commit , latestTests , configFile , this . async ( ) ) ;
66
+ submit ( commit , latestTests , configFile , "" , this . async ( ) ) ;
67
67
} ) ;
68
68
69
69
grunt . registerTask ( "testswarm-multi-jquery" , function ( commit , configFile , minor ) {
@@ -73,7 +73,7 @@ grunt.registerTask( "testswarm-multi-jquery", function( commit, configFile, mino
73
73
allTests [ test + "-" + version ] = tests [ test ] + "?nojshint=true&jquery=" + version ;
74
74
}
75
75
} ) ;
76
- submit ( commit , allTests , configFile , this . async ( ) ) ;
76
+ submit ( commit , allTests , configFile , minor + " core" , this . async ( ) ) ;
77
77
} ) ;
78
78
79
79
} ;
0 commit comments