Browse Source

Added PATH var to environment

Raymond Edah 7 năm trước cách đây
mục cha
commit
fc6c5b8dca
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -1,5 +1,8 @@
 pipeline {
     agent { label 'smartos' }
+    environment {
+        PATH = '/opt/local/java/openjdk8/bin:/opt/local/bin:/opt/local/sbin:/ec/bin:/ec/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin'
+    }
 
     stages {
         stage('Build') {