added --pull to the docker build
This commit is contained in:
parent
5b968f7e5a
commit
1ead156c64
4
automation/Jenkinsfile
vendored
4
automation/Jenkinsfile
vendored
@ -5,7 +5,9 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
dir 'automation'
|
dir 'automation'
|
||||||
additionalBuildArgs '--no-cache'
|
#force docker to redownload base image and rebuild all steps instead of caching them
|
||||||
|
#this way, we always get an up to date docker image one each build
|
||||||
|
additionalBuildArgs '--no-cache --pull'
|
||||||
reuseNode true
|
reuseNode true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user