Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b39cd884b | ||
|
|
eb7b1cf7dd |
Vendored
+5
-18
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user