Compare commits

..

3 Commits

2 changed files with 5 additions and 18 deletions

21
Jenkinsfile vendored
View File

@ -1,26 +1,13 @@
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