add Jenkinsfile
This commit is contained in:
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -3,7 +3,4 @@
|
|||||||
url = https://gitea.mindboost.team/Mindboost/mindboost-backend.git
|
url = https://gitea.mindboost.team/Mindboost/mindboost-backend.git
|
||||||
[submodule "apps/frontend/src"]
|
[submodule "apps/frontend/src"]
|
||||||
path = apps/frontend/src
|
path = apps/frontend/src
|
||||||
url = https://gitea.mindboost.team/Mindboost/mindboost-webapp.git
|
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
|
|
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -22,13 +22,5 @@ pipeline {
|
|||||||
build job: 'frontend-pipeline', wait: true
|
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'"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Submodule apps/backend/src updated: 623a270948...9ec88bb4fa
Submodule apps/frontend/src updated: 49027dc8ea...03a625f7ac
Reference in New Issue
Block a user