submitToTreeherder: skip schema validation (#21)
* submitToTreeherder: skip schema validation * submitToTreeherder: add comment with link to schema issue
This commit is contained in:
Родитель
bb7edb8b1d
Коммит
98cd38319d
|
@ -42,8 +42,12 @@ def call(String project,
|
|||
// TODO include ec2-metadata output in payload
|
||||
exchange = "exchange/${PULSE_USR}/jobs"
|
||||
routingKey = "${PULSE_USR}.${payload.productName}"
|
||||
schema = libraryResource 'org/mozilla/fxtest/pulse/schemas/treeherder.yml'
|
||||
publishToPulse(exchange, routingKey, JsonOutput.toJson(payload), schema)
|
||||
|
||||
// Skipping schema validation due to https://github.com/mozilla/fxtest-jenkins-pipeline/issues/22
|
||||
// schema = libraryResource 'org/mozilla/fxtest/pulse/schemas/treeherder.yml'
|
||||
// publishToPulse(exchange, routingKey, JsonOutput.toJson(payload), schema)
|
||||
|
||||
publishToPulse(exchange, routingKey, JsonOutput.toJson(payload))
|
||||
treeherderURL = "https://treeherder.mozilla.org/#/jobs?repo=${payload.productName}&revision=${payload.origin.revision}"
|
||||
echo "Results will be available to view at $treeherderURL"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче