Skip to content

Commit 10b8f0d

Browse files
committed
build(ci): trigger a deploy of the test API after a successful build
1 parent ef707a8 commit 10b8f0d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Jenkinsfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,19 @@ pipeline {
105105
}
106106
}
107107

108+
stage('(Re)Deploy Test API') {
109+
when {
110+
expression {
111+
return env.BRANCH_NAME ==~ SNAPSHOT_BRANCH_REGEX
112+
}
113+
}
114+
steps {
115+
script {
116+
build job: 'oqapi Deployment/main', wait: false
117+
}
118+
}
119+
}
120+
108121
stage('Wrapping Up') {
109122
steps {
110123
encourage()

0 commit comments

Comments
 (0)