|
@@ -5,13 +5,13 @@
|
|
JENKINS_MAIL="jenkins.dev@sdsys.ru"
|
|
JENKINS_MAIL="jenkins.dev@sdsys.ru"
|
|
cd /
|
|
cd /
|
|
GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url}
|
|
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
|
|
|
|
|
|
+cd /${git_dir} && git checkout $2
|
|
|
|
|
|
stonevpn -f $1 -n "$1" -z
|
|
stonevpn -f $1 -n "$1" -z
|
|
|
|
|
|
echo "Generate new key and cert for $1" > /tmp/commit.txt
|
|
echo "Generate new key and cert for $1" > /tmp/commit.txt
|
|
|
|
|
|
-cd ${git_dir_pki}
|
|
|
|
|
|
+cd /${git_dir}
|
|
|
|
|
|
git add -A
|
|
git add -A
|
|
git config --global user.email "${JENKINS_MAIL}"
|
|
git config --global user.email "${JENKINS_MAIL}"
|