forked from kakwa/puppet-samba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
33 lines (29 loc) · 1.01 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
pipeline {
agent none
stages {
stage('Compile') {
steps {
parallel(
"CentOS 7": {
node(label: 'root_centos-7') {
sh 'git config --global user.email "[email protected]";env | sort'
sh 'git config --global user.name "[email protected]"'
git(url: 'https://github.com/kakwa/puppet-samba', poll: true, changelog: true, branch: "${env.BRANCH_NAME}")
sh 'git clean -fdx'
sh './tests/tests.sh -C'
}
},
"Debian 8": {
node(label: 'root_debian-8') {
sh 'git config --global user.email "[email protected]"'
sh 'git config --global user.name "[email protected]"'
git(url: 'https://github.com/kakwa/puppet-samba', poll: true, changelog: true, branch: "${env.BRANCH_NAME}")
sh 'git clean -fdx'
sh './tests/tests.sh -CD'
}
}
)
}
}
}
}