File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pipeline {
11
11
}
12
12
post {
13
13
always {
14
- post_always(true )
14
+ post_always(true , false )
15
15
}
16
16
}
17
17
}
@@ -31,7 +31,7 @@ pipeline {
31
31
}
32
32
post {
33
33
always {
34
- post_always(false )
34
+ post_always(false , false )
35
35
}
36
36
}
37
37
}
@@ -49,29 +49,29 @@ pipeline {
49
49
}
50
50
post {
51
51
always {
52
- post_always(false )
52
+ post_always(false , false )
53
53
}
54
54
}
55
55
}
56
56
}
57
57
post {
58
58
always {
59
- post_always(true )
59
+ post_always(true , true )
60
60
}
61
61
}
62
62
}
63
63
}
64
64
}
65
65
66
- def post_always (art ){
66
+ def post_always (cmt , art ){
67
67
def list = [env. WEBHOOK_NISHBOX , env. WEBHOOK_ORIN ]
68
68
for (int i = 0 ; i < list. size(); i++ ){
69
69
discordSend(
70
70
webhookURL : list[i],
71
71
link : env. BUILD_URL ,
72
72
result : currentBuild. currentResult,
73
73
title : " ${ env.JOB_NAME} - ${ env.STAGE_NAME} " ,
74
- showChangeset : art ,
74
+ showChangeset : cmt ,
75
75
enableArtifactsList : art,
76
76
description : " **Build:** ${ env.BUILD_NUMBER} \n **Status:** ${ currentBuild.currentResult} "
77
77
)
You can’t perform that action at this time.
0 commit comments