-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
32 lines (29 loc) · 929 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
agent any
environment {
entityGuid = 'MTE2Nj*****************************'
}
stages {
stage('Check env') {
steps {
sh "printenv"
}
}
stage('Post to NR') {
steps {
script {
step([$class: 'NewRelicDeploymentNotifier',
notifications: [[
apiKey: '4',
applicationId: '',
changelog: '',
commit: '',
deeplink: 'http://localhost:8080/job/PipelineV2/configure',
deploymentType: 'BLUE_GREEN', description: '',
entityGuid: "${entityGuid}", groupId: '', revision: '', timestamp: '', user: 'jenkins', version: '1']
]])
}
}
}
}
}