This commit is contained in:
R. Tyler Croy 2016-11-15 19:18:41 -08:00
parent ae40db2050
commit c411a30bdf
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 14 additions and 6 deletions

20
Jenkinsfile vendored
View File

@ -1,11 +1,19 @@
#!/usr/bin/env groovy
node('docker') {
stage('Build') {
docker.image('alpine').inside {
echo 'im building'
sh 'echo "HELLO" > artifact.txt'
stash name: 'thething', includes: 'artifact.txt'
parallel(jdk7: {
node('docker') {
docker.image('openjdk:7').inside {
echo 'im building'
sh 'echo "HELLO" > artifact.txt'
stash name: 'thething', includes: 'artifact.txt'
}
}
},
jdk8: {
node('docker') {
docker.image('openjdk:8').inside {
echo 'im building on 8'
}
}
}
}