bash strings are the death of me
All checks were successful
beefhavers/potterverse-wizards-are-morons/pipeline/head This commit looks good

This commit is contained in:
adam 2025-04-26 12:14:11 -04:00
parent 1abaf36b3c
commit bbcf4c586e

3
Jenkinsfile vendored
View File

@ -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' \