add Jenkinsfile

This commit is contained in:
2025-03-05 15:52:54 +01:00
parent da67cbd46e
commit f682150557
4 changed files with 3 additions and 14 deletions

5
.gitmodules vendored
View File

@@ -3,7 +3,4 @@
url = https://gitea.mindboost.team/Mindboost/mindboost-backend.git
[submodule "apps/frontend/src"]
path = apps/frontend/src
url = https://gitea.mindboost.team/Mindboost/mindboost-webapp.git
[submodule "apps/tools/invoiceninja/dockerfiles"]
path = apps/tools/invoiceninja/dockerfiles
url = https://github.com/invoiceninja/dockerfiles.git
url = https://gitea.mindboost.team/Mindboost/mindboost-webapp.git

8
Jenkinsfile vendored
View File

@@ -22,13 +22,5 @@ pipeline {
build job: 'frontend-pipeline', wait: true
}
}
stage('Deploy Infrastructure') {
steps {
sshagent(['jenkins-ssh-key']) {
sh "ssh user@server 'cd /opt/myapp && git pull origin main && docker compose up -d'"
}
}
}
}
}