Validated in: https://pagure.io/fedora-ci/messages
Changes value for field "environment" to "stage" - it can be either "stage" or "production".
Adds required field "generated_at" - contains date/time in ISO 8601 format.
Signed-off-by: Lukas Holecek hluk@email.cz
@rayson Can you review? (I didn't properly test this on Jenkins.)
+1
PS. I didn't test it on Jenkins either, but I tried running new Date().format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone('UTC')) on GroovyConsole and got the following output:
new Date().format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone('UTC'))
2019-02-21T08:06:48Z
PS. I didn't test it on Jenkins either, but I tried running new Date().format("yyyy-MM-dd'T'HH🇲🇲ss'Z'", TimeZone.getTimeZone('UTC')) on GroovyConsole and got the following output: 2019-02-21T08:06:48Z
Yup, that's the only part I could test in console. :)
@rayson Thanks for checking.
Commit b145b67e fixes this pull-request
Pull-Request has been merged by rayson
Let's merge it and see if post-merge pipeline job succeeds.
Validated in: https://pagure.io/fedora-ci/messages
Changes value for field "environment" to "stage" - it can be either
"stage" or "production".
Adds required field "generated_at" - contains date/time in ISO 8601
format.
Signed-off-by: Lukas Holecek hluk@email.cz