attempts to correct upload path
This commit is contained in:
parent
1d8b7c4b69
commit
e11fdb8d6f
@ -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/"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user