This commit is contained in:
R. Tyler Croy 2016-11-15 19:09:19 -08:00
parent 0aa02f6cc3
commit 1855ebed34
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -4,14 +4,14 @@ node('docker') {
stage('Build') {
docker.image('alpine').inside {
echo 'im building'
sh 'uname -a'
sh 'echo "HELLO" > artifact.txt'
}
}
stage('Test') {
docker.image('redis').withRun { container ->
docker.image('maven').inside("--link ${container.id}:redis") {
sh 'host redis'
sh 'cat artifact.txt'
sh 'ls -lah'
}
}