Skip to content

Commit 927b1f2

Browse files
committed
ci: Maintain a node-local string copy
1 parent 34b6b6a commit 927b1f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if (env.CHANGE_ID != null) { // only run checks for PRs
4242
]
4343
}
4444

45-
def jobMatrix(String type, String sourcedir, List specs) {
45+
def jobMatrix(String type, String src, List specs) {
4646
def nodes = [:]
4747
for (spec in specs) {
4848
def arch = spec.getOrDefault("arch", "x86_64")
@@ -68,6 +68,7 @@ def jobMatrix(String type, String sourcedir, List specs) {
6868
node(selector) {
6969
githubNotify(context: "${label}", description: "Building ...", status: "PENDING")
7070
try {
71+
def sourcedir = src
7172
if (!sourcedir) {
7273
deleteDir()
7374
checkout scm

0 commit comments

Comments
 (0)