Browse Source

edit .jenkins file

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

+ 3 - 3
env/test.jenkins

@@ -10,13 +10,13 @@ pipeline {
     stages {
       stage("get time & uptime") {
         steps {
-          sh 'echo uptime > /tmp/uptime'
-          sh 'echo date >> /tmp/uptime'
+          sh 'uptime > /tmp/uptime'
+          sh 'date >> /tmp/uptime'
 	       }
       } 
       stage("get pwd") {
         steps {
-         sh 'echo pwd >> /tmp/uptime'
+         sh 'pwd >> /tmp/uptime'
          }
       }
     }