diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b16e51a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +pipeline { + agent any + + stages { + stage('[Subsonics] - Déploiement') { + steps { + script { + + echo "[Subsonics-Deploy] - Deploy Stage" + sh "ssh raphix@raphix.fr sudo apt update -y" + sh "ssh raphix@raphix.fr sudo apt upgrade -y" + sh "ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/subsonics_deploy.sh" + + + } + + } + } + } +}