gitea avatar is working, I think. matrix failed because I have matrix.server
All checks were successful
beefhavers/potterverse-wizards-are-morons/pipeline/head This commit looks good

This commit is contained in:
adam 2025-04-26 11:59:55 -04:00
parent 6e2c5c94a5
commit cf30b79983
2 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -28,14 +28,14 @@ pipeline {
//to matrix
env.avatarMXC=sh(returnStdout: true, script: """
curl 'https://matrix.server/_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.png' \
-X 'POST' \
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
-H 'Content-Type: image/png' \
--compressed \
--data-binary @meta/avatar.png \
| jq .content_uri
""").trim
""").trim()
sh(returnStdout: true, script: """
curl -X 'PUT' \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 22 KiB