Jenkins: Make sure Docker images are fresh
This commit is contained in:
parent
131d530d1a
commit
73cac9a4b2
1 changed files with 4 additions and 1 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -20,6 +20,7 @@ pys.each { py ->
|
|||
stage("Prepare docker $py.name") {
|
||||
dir('dockerbuild') {
|
||||
deleteDir()
|
||||
docker.image(py.docker).pull()
|
||||
buildDockerfile(py.docker)
|
||||
image = docker.build("dosage-$py.docker")
|
||||
}
|
||||
|
@ -98,7 +99,9 @@ def windowsBuild() {
|
|||
def windowsBuildCommands() {
|
||||
deleteDir()
|
||||
unstash 'bin'
|
||||
docker.image('tobix/pywine').inside {
|
||||
def img = docker.image('tobix/pywine')
|
||||
img.pull()
|
||||
img.inside {
|
||||
sh '''
|
||||
. /opt/mkuserwineprefix
|
||||
tar xvf dist/dosage-*.tar.gz
|
||||
|
|
Loading…
Reference in a new issue