File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ component {
75
75
}
76
76
77
77
function buildJavaDeps (){
78
+ print
79
+ .line ()
80
+ .boldMagentaLine ( " Running task tasks/buildJavaDeps" )
81
+ .toConsole ();
78
82
task ( " tasks/BuildJavaDeps" )
79
83
.inWorkingDirectory ( variables .cwd )
80
84
.run ();
@@ -139,8 +143,8 @@ component {
139
143
command ( " tokenReplace" )
140
144
.params (
141
145
path = " /#variables .projectBuildDir #/**" ,
142
- token = (
arguments .
branch == " master " ? " @build.number@" : " [email protected] @" ),
143
- replacement = ( arguments .branch == " master " ? arguments .buildID : " -snapshot" )
146
+ token = (
arguments .
branch == " main " ? " @build.number@" : " [email protected] @" ),
147
+ replacement = ( arguments .branch == " main " ? arguments .buildID : " -snapshot" )
144
148
)
145
149
.run ();
146
150
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ component {
10
10
11
11
var rootDir = getCWD ().reReplace ( " [\\/]$" , " " );
12
12
13
- print .line ( rootDir );
14
- return ;
13
+ print
14
+ .line ()
15
+ .boldMagentaLine ( " Executing java build" )
16
+ .toConsole ();
15
17
16
18
command ( " run" )
17
19
.inWorkingDirectory ( rootDir & " /java/cbsso-opensaml" )
@@ -25,6 +27,11 @@ component {
25
27
command ( " cd" )
26
28
.params ( rootDir )
27
29
.run ();
30
+
31
+ print
32
+ .line ()
33
+ .boldMagentaLine ( " Finished building java dependences: cbsso-opensaml-all.jar" )
34
+ .toConsole ();
28
35
}
29
36
30
37
}
You can’t perform that action at this time.
0 commit comments