소스 검색

add Jenkinsfile

Benjamin Kornblum 9 달 전
부모
커밋
8a83a0bc51
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -1,5 +1,5 @@
-pipeline {
-    agent any
+node {
+    def app
 
     stage('Clone repository') {
         /* Let's make sure we have the repository cloned to our workspace */
@@ -11,7 +11,7 @@ pipeline {
         /* This builds the actual image; synonymous to
          * docker build on the command line */
 
-        app = docker.build("hochzeit")
+        app = docker.build("hochzeit:latest")
     }
 
     stage('Test image') {