-
Notifications
You must be signed in to change notification settings - Fork 950
/
Jenkinsfile
49 lines (29 loc) · 1.06 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
node {
//Declare a global variable for mvnHome
stage('Version') {
//build job: 'Version Check'
}
stage('Environment') {
// build job: 'Enviro-Check'
}
stage('Document') {
//build job: 'Generate-JavaDoc', parameters: [booleanParam(name: 'generate_javadoc', value: false), stringParam(name: 'javadoc_location', value: 'C:\\_javadoc00')]
}
stage('Compile'){
// build job: 'Compile-RPS'
}
stage('Acceptance') {
//def response = input message: 'UAT Tests', parameters: [choice(choices: 'Pass\nFail', description: 'Proceed or Abort?', name: 'Pass or Fail?')]
}
stage('Almost Done!') {
def response = input message: 'Whatcha think?', parameters: [choice(choices: 'Yes\nNo', description: 'Proceed or Abort?', name: 'Wasn\'t that cool?')]
if (response=="Yes") {
echo "I agree!"
} else {
echo "You are hard to please."
}
}
stage('Static Code Analysis'){
build job: 'static-code-analysis'
}
}