Skip to content

Commit

Permalink
hotfix: load utils in pre-merge pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Rautiola <[email protected]>
  • Loading branch information
joinemm committed Nov 6, 2024
1 parent 97e20dc commit ae5b675
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ghaf-pre-merge-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
def REPO_URL = 'https://github.com/tiiuae/ghaf/'
def WORKDIR = 'ghaf'

// Utils module will be loaded in the first pipeline stage
def utils = null

def targets = [
[ system: "aarch64-linux", target: "doc", ],
[ system: "x86_64-linux", target: "doc", ],
Expand Down Expand Up @@ -80,6 +83,7 @@ pipeline {
}
stage('Checkout') {
steps {
script { utils = load "utils.groovy" }
dir(WORKDIR) {
// References:
// https://www.jenkins.io/doc/pipeline/steps/params/scmgit/#scmgit
Expand Down

0 comments on commit ae5b675

Please sign in to comment.