-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
48 lines (48 loc) · 912 Bytes
/
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
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Build'
sleep 10
}
}
stage('Test') {
parallel {
stage('test_1') {
steps {
node(label: 'test') {
echo "test 1 runs ..."
sleep 10
echo "... test 1 done"
}
}
}
stage('test_2') {
steps {
node(label: 'test') {
echo "test 2 runs ..."
sleep 10
echo "... test 2 done"
}
}
}
stage('test_3') {
steps {
node(label: 'test') {
echo "test 3 runs ..."
sleep 10
echo "... test 3 done"
}
}
}
}
}
stage('Report') {
steps {
echo 'report'
sleep 10
}
}
}
}