Browse Source

prod

master
Mohsen Taba 1 week ago
parent
commit
b3f13fa58b
  1. 3
      Jenkinsfile

3
Jenkinsfile

@ -15,8 +15,9 @@ pipeline {
sh """
sshpass -p \$PASSWORD ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 \$USERNAME@${production_server_ip} "
cd ${project_path} && \
chmod +x ./runner.sh 2>/dev/null || true && \
rm -f /tmp/dovodi_backend_deploy_status.txt /tmp/dovodi_backend_runner_deploy.log && \
(nohup ./runner.sh > /tmp/dovodi_backend_runner_deploy.log 2>&1 &)
(nohup bash ./runner.sh > /tmp/dovodi_backend_runner_deploy.log 2>&1 &)
"
"""
}

Loading…
Cancel
Save