bash strings are the death of me
All checks were successful
beefhavers/potterverse-wizards-are-morons/pipeline/head This commit looks good
All checks were successful
beefhavers/potterverse-wizards-are-morons/pipeline/head This commit looks good
This commit is contained in:
parent
1abaf36b3c
commit
bbcf4c586e
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -28,7 +28,8 @@ pipeline {
|
|||||||
|
|
||||||
//to matrix
|
//to matrix
|
||||||
env.avatarMXC=sh(returnStdout: true, script: """
|
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' \
|
-X 'POST' \
|
||||||
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
|
-H 'authorization: Bearer ${env.JENKINSONMATRIXTOKEN}' \
|
||||||
-H 'Content-Type: image/png' \
|
-H 'Content-Type: image/png' \
|
||||||
|
Loading…
Reference in New Issue
Block a user