screwdriver-api 7.0.68 → 7.0.70

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "7.0.68",
3
+ "version": "7.0.70",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -114,7 +114,7 @@
114
114
  "screwdriver-executor-queue": "^4.0.0",
115
115
  "screwdriver-executor-router": "^3.0.0",
116
116
  "screwdriver-logger": "^2.0.0",
117
- "screwdriver-models": "^29.14.1",
117
+ "screwdriver-models": "^29.17.2",
118
118
  "screwdriver-notifications-email": "^3.0.0",
119
119
  "screwdriver-notifications-slack": "^5.0.0",
120
120
  "screwdriver-request": "^2.0.1",
@@ -914,7 +914,9 @@ const buildsPlugin = {
914
914
  jobId: nextJobId
915
915
  });
916
916
 
917
- finishedInternalBuilds = finishedInternalBuilds.concat(nextBuild);
917
+ if (nextBuild) {
918
+ finishedInternalBuilds = finishedInternalBuilds.concat(nextBuild);
919
+ }
918
920
  }
919
921
 
920
922
  fillParentBuilds(parentBuilds, current, finishedInternalBuilds);
@@ -18,8 +18,6 @@ module.exports = () => ({
18
18
  scope: ['user', 'build']
19
19
  },
20
20
  handler: async (request, h) => {
21
- console.log('request.params', request.params);
22
-
23
21
  const { namespace, name } = request.params;
24
22
  const { pipelineTemplateFactory } = request.server.app;
25
23