submitToTreeherder: skip schema validation (#21)

* submitToTreeherder: skip schema validation

* submitToTreeherder: add comment with link to schema issue
This commit is contained in:
Jeremiah Orem 2017-04-28 09:46:54 -07:00 коммит произвёл GitHub
Родитель bb7edb8b1d
Коммит 98cd38319d
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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"
}