Skip to content

Commit 8b597fb

Browse files
committed
Revert "disable testing for now, as it just passed"
This reverts commit 57b8382.
1 parent 9955457 commit 8b597fb

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

Jenkinsfile

+45-45
Original file line numberDiff line numberDiff line change
@@ -29,51 +29,51 @@ node {
2929
}
3030
}
3131

32-
// lock('minishift') {
33-
// notifySlack()
34-
35-
// try {
36-
// parallel (
37-
// 'start services': {
38-
// stage ('start services') {
39-
// sh "make kill"
40-
// sh "make up"
41-
// sh "sleep 60"
42-
// }
43-
// },
44-
// 'start minishift': {
45-
// stage ('start minishift') {
46-
// sh 'make minishift MINISHIFT_CPUS=8 MINISHIFT_MEMORY=12GB MINISHIFT_DISK_SIZE=50GB'
47-
// }
48-
// }
49-
// )
50-
// } catch (e) {
51-
// echo "Something went wrong, trying to cleanup"
52-
// cleanup()
53-
// throw e
54-
// }
55-
56-
// parallel (
57-
// '_tests': {
58-
// stage ('run tests') {
59-
// try {
60-
// sh "make push-minishift"
61-
// sh "make tests -j2"
62-
// } catch (e) {
63-
// echo "Something went wrong, trying to cleanup"
64-
// cleanup()
65-
// throw e
66-
// }
67-
// cleanup()
68-
// }
69-
// },
70-
// 'logs': {
71-
// stage ('all') {
72-
// sh "make logs"
73-
// }
74-
// },
75-
// )
76-
// }
32+
lock('minishift') {
33+
notifySlack()
34+
35+
try {
36+
parallel (
37+
'start services': {
38+
stage ('start services') {
39+
sh "make kill"
40+
sh "make up"
41+
sh "sleep 60"
42+
}
43+
},
44+
'start minishift': {
45+
stage ('start minishift') {
46+
sh 'make minishift MINISHIFT_CPUS=8 MINISHIFT_MEMORY=12GB MINISHIFT_DISK_SIZE=50GB'
47+
}
48+
}
49+
)
50+
} catch (e) {
51+
echo "Something went wrong, trying to cleanup"
52+
cleanup()
53+
throw e
54+
}
55+
56+
parallel (
57+
'_tests': {
58+
stage ('run tests') {
59+
try {
60+
sh "make push-minishift"
61+
sh "make tests -j2"
62+
} catch (e) {
63+
echo "Something went wrong, trying to cleanup"
64+
cleanup()
65+
throw e
66+
}
67+
cleanup()
68+
}
69+
},
70+
'logs': {
71+
stage ('all') {
72+
sh "make logs"
73+
}
74+
},
75+
)
76+
}
7777

7878
if (env.BRANCH_NAME == 'master') {
7979
parallel (

0 commit comments

Comments
 (0)