Kaydet (Commit) c12d704f authored tarafından Batuhan Osman TASKAYA's avatar Batuhan Osman TASKAYA

add discord webhook to jenkins file

üst 4fb2d5f8
pipeline { pipeline {
agent { docker { image 'python:3.7.1' } } agent { docker { image 'python:3.7.1' } }
environment {
WEBHOOK_DISCORD = credentials('discord-webhook-1')
}
stages { stages {
stage('prepare') { stage('prepare') {
steps { steps {
...@@ -62,9 +65,6 @@ pipeline { ...@@ -62,9 +65,6 @@ pipeline {
} }
} }
post { post {
environment {
WEBHOOK_DISCORD = credentials('discord-webhook-1')
}
always { always {
junit 'test_*.xml' junit 'test_*.xml'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment