docker
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -10,6 +10,7 @@ def build_docker(name) {
|
||||
jobs = "${env.JOBS_COUNT}"
|
||||
}
|
||||
def args = "${pref} --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=${jobs}"
|
||||
args += " -v `pwd`:/soft/libs -v `pwd`/../libs_build_${name}:/soft/libs_build_${name} --build-arg HAS_SOURCES=1"
|
||||
dir ("docker/${image}") {
|
||||
//echo "build ${image} ${args}"
|
||||
sh "docker build ${args} --no-cache -t ${image} ."
|
||||
|
||||
Reference in New Issue
Block a user