From c088dcc406170d2eee426505e33bcd7088bbb2cd Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Mon, 9 Sep 2024 16:49:41 -0400 Subject: [PATCH] jobs/bodhi-trigger: print raw JSON instead of parsed object That makes it easier to copy/paste if we want to replay a job (currently even replaying a fedmsg-triggered job will still ask you to input the `CI_MESSAGE`). --- jobs/bodhi-trigger.Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/bodhi-trigger.Jenkinsfile b/jobs/bodhi-trigger.Jenkinsfile index fd4b605..eb9d3e0 100644 --- a/jobs/bodhi-trigger.Jenkinsfile +++ b/jobs/bodhi-trigger.Jenkinsfile @@ -77,8 +77,8 @@ if (raw_message == null) { test_mode = true } +println("Handling message: ${raw_message}") def msg = readJSON(text: raw_message) -println("Handling message: ${msg}") // collect streams with matching releasever def releasever = msg.update.release.version.toInteger()