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 {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Trigger Submodule Pipelines') {
|
||||
stage('Checkout Code & Submodules') {
|
||||
steps {
|
||||
script {
|
||||
build job: 'frontend-pipeline', wait: false
|
||||
build job: 'backend-pipeline', wait: false
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue