From e11fdb8d6feaf91bde9b0ac1320582dea36c6ce4 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Thu, 9 Mar 2023 17:50:20 -0600 Subject: [PATCH] attempts to correct upload path --- build-k8s-lenz.jenkins | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build-k8s-lenz.jenkins b/build-k8s-lenz.jenkins index 033b575..f8c03f8 100644 --- a/build-k8s-lenz.jenkins +++ b/build-k8s-lenz.jenkins @@ -189,10 +189,16 @@ pipeline { """, returnStdout: true ).trim() + def appLoc = sh ( + script: """ + printf '%s\\n' "\$(find ./ -name "*.AppImage")" + """, + returnStdout: true + ).trim() functions.pushArtifact( repoCreds: "nexus-generic-upload-bot", fileName: appName, - filePath: workspace + "/lens/dist/", + filePath: workspace + "/" + appLoc, fileURL: "https://nexus.c.test-chamber-13.lan/repository/generic/appimage/" ) }