Skip to content

Commit 4e06c37

Browse files
committed
Wrap clause in dir
1 parent 0ec6463 commit 4e06c37

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.ci/Jenkinsfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ pipeline {
4747
}
4848
post {
4949
always {
50-
archiveArtifacts(allowEmptyArchive: true, artifacts: 'src/github.com/elastic/elastic-package/build/test-results/*.xml')
51-
junit(allowEmptyResults: false,
50+
dir("${BASE_DIR}") {
51+
archiveArtifacts(allowEmptyArchive: true, artifacts: 'build/test-results/*.xml')
52+
junit(allowEmptyResults: false,
5253
keepLongStdio: true,
53-
testResults: "src/github.com/elastic/elastic-package/build/test-results/*.xml")
54+
testResults: "build/test-results/*.xml")
55+
}
5456
}
5557
}
5658
}

0 commit comments

Comments
 (0)