File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 56
56
value: tcp://localhost:2375
57
57
- name: HOME
58
58
value: /home/jenkins/agent
59
+ - name: curl
60
+ image: curlimages/curl
61
+ command:
62
+ - cat
63
+ tty: true
59
64
securityContext:
60
65
runAsUser: 1000
61
66
volumes:
@@ -352,7 +357,7 @@ pipeline {
352
357
credentialsId : ' OvertureSlackJenkinsWebhookURL' ,
353
358
variable : ' fixed_slackChannelURL'
354
359
)]) {
355
- container(' node ' ) {
360
+ container(' curl ' ) {
356
361
script {
357
362
if (env. BRANCH_NAME ==~ / (develop|master|test\S *)/ ) {
358
363
sh " curl \
@@ -374,7 +379,7 @@ pipeline {
374
379
credentialsId : ' OvertureSlackJenkinsWebhookURL' ,
375
380
variable : ' success_slackChannelURL'
376
381
)]) {
377
- container(' node ' ) {
382
+ container(' curl ' ) {
378
383
script {
379
384
if (env. BRANCH_NAME ==~ / (test\S *)/ ) {
380
385
sh " curl \
@@ -396,7 +401,7 @@ pipeline {
396
401
credentialsId : ' OvertureSlackJenkinsWebhookURL' ,
397
402
variable : ' failed_slackChannelURL'
398
403
)]) {
399
- container(' node ' ) {
404
+ container(' curl ' ) {
400
405
script {
401
406
if (env. BRANCH_NAME ==~ / (develop|master|test\S *)/ ) {
402
407
sh " curl \
You can’t perform that action at this time.
0 commit comments