Compare commits
No commits in common. "master" and "rapp/pick-what-you-like" have entirely different histories.
master
...
rapp/pick-
|
@ -1,12 +1,25 @@
|
||||||
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Trigger Submodule Pipelines') {
|
stage('Checkout Code & Submodules') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
git branch: 'main', url: 'git@github.com:your-org/my-main-repo.git', credentialsId: 'git-credentials'
|
||||||
build job: 'frontend-pipeline', wait: false
|
sh 'git submodule update --init --recursive'
|
||||||
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue