forked from Nelsons-Demos/sales
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile_wazi
46 lines (38 loc) · 1.75 KB
/
Jenkinsfile_wazi
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
needs work add to other piplein for testin ...
// Sample Jenkinsfile using ssh and myMazi for CI only (Nlopez)
// For CI/CD use the zDT project
//test comment
def myApp = 'poc-app'
scripts = '/u/nlopez/waziDBB/dbb-zappbuild/scripts'
pipeline {
agent { label 'myWazi-Agent' }
options { skipDefaultCheckout(true) }
stages {
stage('Clone') {
steps {
println '** Cloning on USS ...'
//sh 'rm -r ' + env.WORKSPACE+'/* >/dev/null 2>&1 ; ' + scripts+'/CI/Clone2.sh ' + env.WORKSPACE + ' ' + myApp + ' [email protected]:nlopez1-ibm/poc-workspace.git ' + env.BRANCH_NAME
//sh scripts+'/CI/Clone2.sh ' + env.WORKSPACE + ' poc-workspace [email protected]:nlopez1-ibm/poc-workspace.git ' + env.BRANCH_NAME
sh 'git -version'
}
}
stage('Build') {
steps {
println '** SKIP Building feature with DBB ...'
//sh scripts+'/CI/Build.sh ' + env.WORKSPACE + ' poc-workspace ' + myApp + ' --userBuild poc-app/cobol/datbatch.cbl'
}
}
// stage('Package') {
// steps {
// println '** Packaging artifacts ...'
// sh scripts+'/CI/Package_Create.sh ' + env.WORKSPACE + ' poc-workspace ' + ' poc-app ' + env.BUILD_ID
// }
// }
//stage('Publish') {
// steps {
// println '** Packaging artifacts and Publishing to UCD Code Station ...'
// sh scripts+'/CD/UCD_Pub.sh ' + env.BUILD_ID + ' poc-app ' + env.WORKSPACE+'/poc-workspace '
// }
//}
}
}