Skip to content

Commit

Permalink
jobs/bodhi-trigger: print raw JSON instead of parsed object
Browse files Browse the repository at this point in the history
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`).
jlebon authored and dustymabe committed Sep 9, 2024
1 parent 322a6d4 commit c088dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/bodhi-trigger.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit c088dcc

Please sign in to comment.