forked from krishnajc/AssetRepo
-
Notifications
You must be signed in to change notification settings - Fork 29
/
DevOpsJenkins.txt
36 lines (36 loc) · 1.01 KB
/
DevOpsJenkins.txt
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
pipeline {
agent any
stages {
stage('Initialize'){
steps {
sh 'chmod -R 777 ${WORKSPACE}'
}
}
stage('Build'){
steps {
sh "/opt/softwareag/common/AssetBuildEnvironment/bin/build.sh"
}
}
stage('Cleanup'){
steps {
sh 'chmod -R 777 /opt/CI/builds/IS'
}
}
stage('CreateProject') {
steps {
sh "/opt/softwareag/IntegrationServer/instances/default/packages/WmDeployer/bin/projectautomatorUnix.sh ${WORKSPACE}/ProjectAutomator_Full.xml"
}
}
stage('Deploy') {
steps {
sh "/opt/softwareag/IntegrationServer/instances/default/packages/WmDeployer/bin/Deployer.sh --deploy -dc FHB_DEPLOYMENTCANDIDATE -project FHB_PROJECT -host vvaipresal32991.eur.ad.sag -port 5555 -user Administrator -pwd manage"
}
}
stage('Test') {
steps {
sh "${WORKSPACE}/Test.sh"
junit 'reports/*.xml'
}
}
}
}