forked from darinpope/jenkins-example-matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile-3-parallel
84 lines (84 loc) · 1.94 KB
/
Jenkinsfile-3-parallel
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
pipeline {
agent none
stages {
stage('BuildAndTest') {
parallel {
stage('macos-chrome') {
agent {label 'macos-chrome'}
stages {
stage('Build') {
steps {
sh 'echo Do Build for macos-chrome'
}
}
stage('Test') {
steps {
sh 'echo Do Test for macos-chrome'
}
}
}
}
stage('macos-firefox') {
agent {label 'macos-firefox'}
stages {
stage('Build') {
steps {
sh 'echo Do Build for macos-firefox'
}
}
stage('Test') {
steps {
sh 'echo Do Test for macos-firefox'
}
}
}
}
stage('macos-safari') {
agent {label 'macos-safari'}
stages {
stage('Build') {
steps {
sh 'echo Do Build for macos-safari'
}
}
stage('Test') {
steps {
sh 'echo Do Test for macos-safari'
}
}
}
}
stage('linux-chrome') {
agent {label 'linux-chrome'}
stages {
stage('Build') {
steps {
sh 'echo Do Build for linux-chrome'
}
}
stage('Test') {
steps {
sh 'echo Do Test for linux-chrome'
}
}
}
}
stage('linux-firefox') {
agent {label 'linux-firefox'}
stages {
stage('Build') {
steps {
sh 'echo Do Build for linux-firefox'
}
}
stage('Test') {
steps {
sh 'echo Do Test for linux-firefox'
}
}
}
}
}
}
}
}