|
@@ -1,10 +1,10 @@
|
|
|
#!/bin/bash
|
|
|
-#git_url_pki="ssh://git@git.sdsys.ru:8022/iru/openvpn-pki.git"
|
|
|
+#git_url="ssh://git@git.sdsys.ru:8022/iru/openvpn-pki.git"
|
|
|
#git_dir_pki="openvpn-pki"
|
|
|
|
|
|
JENKINS_MAIL="jenkins.dev@sdsys.ru"
|
|
|
cd /
|
|
|
-GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url_pki}
|
|
|
+GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url}
|
|
|
cd /${git_dir_pki} && git checkout $2
|
|
|
|
|
|
stonevpn -f $1 -n "$1" -z
|