Skip to content

Commit

Permalink
shlib: checkout into pr
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Holovchenko <andriih@nvidia.com>
  • Loading branch information
andrii-holovchenko committed Jun 4, 2024
1 parent 4b27ab0 commit 0ef895a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/Jenkinsfile.shlib
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

// load pipeline functions
// Requires pipeline-github-lib plugin to load library from github
@Library('github.com/Mellanox/ci-demo@master')
def branch = env.ghprbPullId ? "origin/pr/${env.ghprbPullId}/merge" : 'master'
def libUrl = "github.com/Mellanox/ci-demo@${branch}"
@Library(libUrl)
def matrix = new com.mellanox.cicd.Matrix()

matrix.main()
Expand Down

0 comments on commit 0ef895a

Please sign in to comment.