screwdriver-api 4.1.224 → 4.1.227

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": "4.1.224",
3
+ "version": "4.1.227",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -105,7 +105,7 @@
105
105
  "screwdriver-config-parser": "^7.4.0",
106
106
  "screwdriver-coverage-bookend": "^1.0.3",
107
107
  "screwdriver-coverage-sonar": "^3.3.3",
108
- "screwdriver-data-schema": "^21.17.0",
108
+ "screwdriver-data-schema": "^21.22.2",
109
109
  "screwdriver-datastore-sequelize": "^7.2.7",
110
110
  "screwdriver-executor-base": "^8.4.0",
111
111
  "screwdriver-executor-docker": "^5.0.1",
@@ -412,7 +412,7 @@ function parseJobInfo({ joinObj = {}, current, nextJobName, nextPipelineId }) {
412
412
  */
413
413
  async function getFinishedBuilds(event, buildFactory) {
414
414
  // FIXME: buildFactory.getLatestBuilds doesn't return build model
415
- const builds = await buildFactory.getLatestBuilds({ groupEventId: event.groupEventId });
415
+ const builds = await buildFactory.getLatestBuilds({ groupEventId: event.groupEventId, readOnly: false });
416
416
 
417
417
  builds.forEach(b => {
418
418
  try {