Skip to content

Commit 89c6b55

Browse files
committed
Jenkinsfile: adding upstreamProjects
1 parent ada6016 commit 89c6b55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Jenkinsfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
pipeline {
33
agent any
44

5+
triggers {
6+
def branch = env.BRANCH_NAME.replaceAll("/", "%2F")
7+
upstream(upstreamProjects: "ObjectStore/$branch")
8+
}
9+
510
stages {
611
stage('build-java') {
712
steps {

0 commit comments

Comments
 (0)