Clean up archive of packages.
diff --git a/vars/functions.groovy b/vars/functions.groovy
index bd6928e..bb8e771 100644
--- a/vars/functions.groovy
+++ b/vars/functions.groovy
@@ -55,8 +55,7 @@
}
def archivePackage(boardName, packageName, repo = Repository.CORE) {
- def workspacePath = "/home/jenkins/workspace"
- def archivePath = "${workspacePath}/pool/${repo.toRepoDirName(boardName)}"
+ def archivePath = "pool/${repo.toRepoDirName(boardName)}"
sh """
mkdir -p ${archivePath}
@@ -64,7 +63,7 @@
"""
archiveArtifacts(
- artifacts: "${archivePath}/**",
+ artifacts: "${archivePath}/*",
fingerprint: true)
}