|
@@ -4,6 +4,8 @@ pipeline {
|
|
|
}
|
|
|
environment {
|
|
|
git_url=""
|
|
|
+ docker_registry='dev-registry.infoclinica.ru:5000'
|
|
|
+ docker_image='node'
|
|
|
}
|
|
|
parameters {
|
|
|
string(
|
|
@@ -27,8 +29,7 @@ pipeline {
|
|
|
when { expression { build == "true" } }
|
|
|
steps {
|
|
|
echo "Building with repo $repo"
|
|
|
- sh '''pwd
|
|
|
- ls'''
|
|
|
+ sh "echo docker build -t ${docker_registry}/${docker_image}:${repo}-${BUILD_NUMBER} ${WORKSPACE}"
|
|
|
}
|
|
|
}
|
|
|
stage("Update") {
|