From 927985d692ea09a0f1a6f6c5713ab5d24bfc3fe0 Mon Sep 17 00:00:00 2001 From: Basyrov Rustam Date: Mon, 9 Jun 2025 12:21:41 +0300 Subject: [PATCH] add bash --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bf04f9e..368e4c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,8 @@ pipeline { keyFileVariable: 'SSH_PRIVATE_KEY' ) ]) { - sh '''ssh -i "$SSH_PRIVATE_KEY" -p 2222 saccada@saccada.xyz << EOF + sh '''#!/bin/bash + ssh -i "$SSH_PRIVATE_KEY" -p 2222 saccada@saccada.xyz << EOF cd ~/ws/django-example-app git pull --rebase docker compose pull