Vadim Surkov 7 년 전
부모
커밋
84431367b3
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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") {