forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
39 lines (39 loc) · 1.2 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
pipeline {
agent any
stages {
stage('Build') {
parallel {
stage('Ubuntu 16.04 x86_64') {
agent {
dockerfile { dir 'docker/ubuntu_16_04_x86_64' }
}
steps {
sh './configure'
sh 'make -j8'
sh 'cp out/Release/node node_ubuntu_16_04_x86_64'
}
post {
success {
archive 'node_ubuntu_16_04_x86_64'
}
}
}
stage('Fedora 27 x86_64') {
agent {
dockerfile { dir 'docker/fedora_27_x86_64' }
}
steps {
sh './configure'
sh 'make -j8'
sh 'cp out/Release/node node_fedora_27_x86_64'
}
post {
success {
archive 'node_fedora_27_x86_64'
}
}
}
}
}
}
}