Browse Source

edit .jenkins file

root 5 năm trước cách đây
mục cha
commit
6fc0651740
1 tập tin đã thay đổi với 16 bổ sung15 xóa
  1. 16 15
      env/test.jenkins

+ 16 - 15
env/test.jenkins

@@ -4,21 +4,22 @@ properties([disableConcurentBuilds])
 
 pipeline {
     agent {
-	label 'master'
-	}
+      label 'master'
+    }
     options {
-	timestamps()
-	}
+      timestamps()
+    }
     stages {
-        stage("get time & uptime"){
-            steps {
-               sh 'echo uptime > /tmp/uptime'
-               sh 'echo date >> /tmp/uptime'
-	    } 
-        stage("get pwd")
-            steps {
-               sh 'echo pwd >> /tmp/uptime'
-            }
-        }
+      stage("get time & uptime") {
+        steps {
+          sh 'echo uptime > /tmp/uptime'
+          sh 'echo date >> /tmp/uptime'
+	       }
+      } 
+      stage("get pwd") {
+        steps {
+         sh 'echo pwd >> /tmp/uptime'
+         }
+      }
     }
-}
+}