iteration 124987: no this time is the one, you guys
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:09:25 -04:00
parent cf30b79983
commit f3721755ad

6
Jenkinsfile vendored
View File

@ -21,20 +21,20 @@ pipeline {
-H 'accept: application/json' \
-H 'Authorization: token ${env.JENKINSONGITEA}' \
-H 'Content-Type: application/json' \
--data-binary post.json
--data-binary @post.json
rm post.json
""")
//to matrix
env.avatarMXC=sh(returnStdout: true, script: """
curl 'https://greyn.club:8448/_matrix/media/v3/upload?filename=potterverse-wizards-are-morons-avatar.png' \
curl 'https://greyn.club:8448/_matrix/media/v3/upload?filename=potterverse-wizards-are-morons-avatar-\$(mktemp -u XXX).png' \
-X 'POST' \
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
-H 'Content-Type: image/png' \
--compressed \
--data-binary @meta/avatar.png \
| jq .content_uri
| jq -r .content_uri
""").trim()
sh(returnStdout: true, script: """