screwdriver-api 4.1.185 → 4.1.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugins/builds/index.js +0 -5
package/package.json
CHANGED
package/plugins/builds/index.js
CHANGED
|
@@ -410,11 +410,6 @@ function parseJobInfo({ joinObj = {}, current, nextJobName, nextPipelineId }) {
|
|
|
410
410
|
* @return {Promise} All finished builds
|
|
411
411
|
*/
|
|
412
412
|
async function getFinishedBuilds(event, buildFactory) {
|
|
413
|
-
if (!event.parentEventId) {
|
|
414
|
-
// FIXME: remove this flow to always use buildFactory.getLatestBuilds
|
|
415
|
-
return event.getBuilds();
|
|
416
|
-
}
|
|
417
|
-
|
|
418
413
|
// FIXME: buildFactory.getLatestBuilds doesn't return build model
|
|
419
414
|
const builds = await buildFactory.getLatestBuilds({ groupEventId: event.groupEventId });
|
|
420
415
|
|