-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathJenkinsfile
40 lines (39 loc) · 1.53 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
pipeline {
agent any
stages {
stage('Virtual Env Test') {
steps {
echo 'Running Virtual install tests...'
sh 'echo "hello world"'
}
}
stage('Virtual Env Test Cleanup') {
steps {
echo 'Cleaning up Virtual install tests...'
}
}
stage('Physical Install Test') {
steps {
echo 'Running Physical install tests...'
// sh 'cp /var/lib/jenkins/workspace/snaps-config/lab3/lab3-SoS.yaml /var/lib/jenkins/workspace/snaps-config/jenkins-ci/lab3-SoS.yaml'
sh 'python /var/lib/jenkins/workspace/snaps-k8s/iaas_launch.py -f /var/lib/jenkins/workspace/snaps-config/jenkins-ci/cilab-k8s.yaml -k8_d'
}
}
stage('Cleaning up Physical Install Test') {
steps {
echo 'Cleaning up Physical install tests...'
// sh 'python /var/lib/jenkins/workspace/snaps-orchestration/openstack-launch.py -t /var/lib/jenkins/workspace/snaps-openstack/ci/snaps/snaps_os_tmplt.yaml -e /var/lib/jenkins/workspace/snaps-config/jenkins-ci/lab3-SoS.yaml -v build_id=${BUILD_ID} -i -c'
}
}
stage('Baremetal install Test') {
steps {
echo 'Running Baremetal install tests...'
}
}
stage('Cleaning up Baremetal install Test') {
steps {
echo 'Running Baremetal install tests...'
}
}
}
}