Browse Source

Обновить 'Jenkinsfile'

Vladimir Tomishinets 7 years ago
parent
commit
79450e0488
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Jenkinsfile

+ 2 - 4
Jenkinsfile

@@ -35,9 +35,7 @@ pipeline {
                 git clone ${PKI_GIT_URL}
              '''
         }
-          sh '''ls -al ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys
-                ls -al ${WORKSPACE}/openvpn/keys
-                cp ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/ca.crt \
+          sh '''cp ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/ca.crt \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/server.crt \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/server.key \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/sds-client.crt \
@@ -46,7 +44,7 @@ pipeline {
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/stonevpn.crl \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/dh2048.pem \
                 ${WORKSPACE}/openvpn/keys
-                ls -al ${WORKSPACE}/openvpn/keys
+                ls -al ${WORKSPACE}/openvpn/keys/
              '''
       }
     }