3 Commits

Author SHA1 Message Date
root
3be5f08ffd change the set-global.env 2025-03-18 11:42:55 +00:00
4b39cd884b Merge branch 'rapp/pick-what-you-like' 2025-03-05 17:48:17 +01:00
eb7b1cf7dd add Jenkinsfile that triggers the frontend and backend pipeline 2025-03-05 14:07:48 +00:00
2 changed files with 5 additions and 18 deletions

23
Jenkinsfile vendored
View File

@@ -1,25 +1,12 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Checkout Code & Submodules') { stage('Trigger Submodule Pipelines') {
steps { steps {
git branch: 'main', url: 'git@github.com:your-org/my-main-repo.git', credentialsId: 'git-credentials' script {
sh 'git submodule update --init --recursive' build job: 'frontend-pipeline', wait: false
} build job: 'backend-pipeline', wait: false
} }
stage('Run Backend Pipeline') {
steps {
build job: 'backend-pipeline', wait: true
}
}
stage('Run Frontend Pipeline') {
steps {
build job: 'frontend-pipeline', wait: true
} }
} }
} }

0
scripts/setup/set-global-env.sh Normal file → Executable file
View File