attempts to correct upload path

This commit is contained in:
Hyatt 2023-03-09 17:50:20 -06:00
parent 1d8b7c4b69
commit e11fdb8d6f
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -189,10 +189,16 @@ pipeline {
""", """,
returnStdout: true returnStdout: true
).trim() ).trim()
def appLoc = sh (
script: """
printf '%s\\n' "\$(find ./ -name "*.AppImage")"
""",
returnStdout: true
).trim()
functions.pushArtifact( functions.pushArtifact(
repoCreds: "nexus-generic-upload-bot", repoCreds: "nexus-generic-upload-bot",
fileName: appName, fileName: appName,
filePath: workspace + "/lens/dist/", filePath: workspace + "/" + appLoc,
fileURL: "https://nexus.c.test-chamber-13.lan/repository/generic/appimage/" fileURL: "https://nexus.c.test-chamber-13.lan/repository/generic/appimage/"
) )
} }