Skip to content

Commit

Permalink
ci: Maintain a node-local string copy
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisklein committed Apr 16, 2024
1 parent 66acea1 commit 67aaf57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (env.CHANGE_ID != null) { // only run checks for PRs
]
}

def jobMatrix(String type, String sourcedir, List specs) {
def jobMatrix(String type, String src, List specs) {
def nodes = [:]
for (spec in specs) {
def arch = spec.getOrDefault("arch", "x86_64")
Expand All @@ -68,6 +68,7 @@ def jobMatrix(String type, String sourcedir, List specs) {
node(selector) {
githubNotify(context: "${label}", description: "Building ...", status: "PENDING")
try {
def sourcedir = src
if (!sourcedir) {
deleteDir()
checkout scm
Expand Down

0 comments on commit 67aaf57

Please sign in to comment.