Compare commits

...

3 Commits

2 changed files with 5 additions and 18 deletions

23
Jenkinsfile vendored
View File

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

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