forked from blacklabelops-legacy/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
19 lines (19 loc) · 812 Bytes
/
Jenkinsfile
File metadata and controls
19 lines (19 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** Jenkins 2.0 Buildfile
*
* Master Jenkins 2.0 can be started by typing:
* docker run -d -p 8090:8080 --name jenkins blacklabelops/jenkins
*
* Slave 'docker' can be started by typing:
* docker run -d -v /var/run/docker.sock:/var/run/docker.sock --link jenkins:jenkins -e "SWARM_CLIENT_LABELS=docker" blacklabelops/swarm-dockerhost
**/
node {
checkout scm
stage 'Build & Test Images'
parallel(
"image-openjdk": { load 'java-openjdk/Jenkinsfile' },
"image-jdk6-alpine": { load 'java-jdk-6-alpine/Jenkinsfile' },
"image-jdk6-centos": { load 'java-jdk-6-centos/Jenkinsfile' },
"image-oracle-centos": { load 'java-oracle-centos/Jenkinsfile' },
"image-oracle-ubuntu": { load 'java-oracle-ubuntu/Jenkinsfile' },
"image-oracle-alpine": { load 'java-oracle-alpine/Jenkinsfile' })
}