Vadim Surkov 7 years ago
parent
commit
84431367b3
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

@@ -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") {