first release
Some checks failed
SHS Gitea/libs/pipeline/head There was a failure building this commit

This commit is contained in:
2020-04-27 19:49:54 +03:00
parent b14cfe4a86
commit cd61d10c61
2 changed files with 60 additions and 0 deletions

10
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,10 @@
node {
def img
def def_args = "--no-cache --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=4"
if (env.DOCKER_PREFIX) {
img = docker.build("${env.DOCKER_PREFIX}/libs", "${def_args} --build-arg DOCKER_PREFIX=${env.DOCKER_PREFIX} .")
} else {
img = docker.build("libs", "${def_args} .")
}
img.push()
}