зеркало из https://github.com/mozilla/treeherder.git
Bug 1304253 - Pass the repository name to the API when retriggering
Since after bug 1280039, retriggers error with: "Unable to send retrigger: Must also filter on repository if filtering on job id".
This commit is contained in:
Родитель
69b81c772f
Коммит
62d2c72aba
|
@ -330,6 +330,7 @@ treeherder.controller('PluginCtrl', [
|
|||
ThJobModel.retrigger($scope.repoName, job_id_list).then(function() {
|
||||
// XXX: Remove this after 1134929 is resolved.
|
||||
return ThJobDetailModel.getJobDetails({"title": "buildbot_request_id",
|
||||
"repository": $scope.repoName,
|
||||
"job_id__in": job_id_list.join(',')})
|
||||
.then(function(data) {
|
||||
var requestIdList = _.pluck(data, 'value');
|
||||
|
|
Загрузка…
Ссылка в новой задаче