Update Jenkinsfile
This commit is contained in:
parent
5ccf341a51
commit
fef58121f6
1 changed files with 7 additions and 0 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -6,5 +6,12 @@ pipeline {
|
|||
sh 'docker build --pull -t workout:jenkins .'
|
||||
}
|
||||
}
|
||||
stage('test') {
|
||||
steps {
|
||||
sh 'db=`docker run --rm -d postgres`'
|
||||
sh 'echo $db'
|
||||
sh 'docker image ls'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue