This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Jenkinsfile
65 lines (65 loc) · 1.5 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
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
pipeline {
agent any
stages {
stage('Build and Test') {
parallel {
stage('Local centos7 gcc8') {
stages{
stage('Build') {
steps {
sh './jenkins/build_centos7_gcc8.sh'
}
}
stage('Test') {
steps {
sh './jenkins/test_centos7_gcc8.sh'
}
}
}
}
stage('Docker centos7 clang7') {
stages{
stage('Build') {
steps {
sh './jenkins/docker/build.sh centos7 clang7'
}
}
stage('Test') {
steps {
sh './jenkins/docker/test.sh centos7 clang7'
}
}
}
}
stage('Docker ubuntu20 gcc8') {
stages{
stage('Build') {
steps {
sh './jenkins/docker/build.sh ubuntu20 gcc8'
}
}
stage('Test') {
steps {
sh './jenkins/docker/test.sh ubuntu20 gcc8'
}
}
}
}
stage('Docker ubuntu20 clang7') {
stages{
stage('Build') {
steps {
sh './jenkins/docker/build.sh ubuntu20 clang7'
}
}
stage('Test') {
steps {
sh './jenkins/docker/test.sh ubuntu20 clang7'
}
}
}
}
}
}
}
}