From bbcf4c586ec190265c98027cfc49a220159e4d81 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 26 Apr 2025 12:14:11 -0400 Subject: [PATCH] bash strings are the death of me --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 77b1874..135f752 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,7 +28,8 @@ pipeline { //to matrix env.avatarMXC=sh(returnStdout: true, script: """ - curl 'https://greyn.club:8448/_matrix/media/v3/upload?filename=potterverse-wizards-are-morons-avatar-\$(mktemp -u XXX).png' \ + url= "https://greyn.club:8448/_matrix/media/v3/upload"'?'"filename=potterverse-wizards-are-morons-avatar-\$(mktemp -u XXX).png" + curl "\$url" \ -X 'POST' \ -H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \ -H 'Content-Type: image/png' \