apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/bifrost.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 8772f7e4857855c89c62b22963cbd03a creationTimestamp: "2026-07-23T08:14:32Z" generation: 8 labels: branch: main build: "152" context: release created-by-lighthouse: "true" event-GUID: 529384bc-866e-11f1-8c73-514bd9c14191 lighthouse.jenkins-x.io/baseSHA: 3430f19bc480f27e978893789bef921db92c2c66 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1784794472333" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-jrc2x lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 3430f19bc480f27e978893789bef921db92c2c66 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: bifrost lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-bifrost-main-release-ph72b-from-build-pack-pod provider: github repository: bifrost tekton.dev/pipeline: apitaltrade-bifrost-main-release managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:branch: {} f:context: {} f:owner: {} f:provider: {} f:repository: {} f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.22 operation: Update time: "2026-07-23T08:18:17Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} f:pipeline.jenkins-x.io/traceID: {} f:labels: .: {} f:build: {} f:created-by-lighthouse: {} f:event-GUID: {} f:lighthouse.jenkins-x.io/baseSHA: {} f:lighthouse.jenkins-x.io/branch: {} f:lighthouse.jenkins-x.io/buildNum: {} f:lighthouse.jenkins-x.io/context: {} f:lighthouse.jenkins-x.io/id: {} f:lighthouse.jenkins-x.io/job: {} f:lighthouse.jenkins-x.io/lastCommitSHA: {} f:lighthouse.jenkins-x.io/refs.org: {} f:lighthouse.jenkins-x.io/refs.repo: {} f:lighthouse.jenkins-x.io/type: {} f:podName: {} f:tekton.dev/pipeline: {} f:spec: .: {} f:baseSHA: {} f:batchPipelineActivity: {} f:build: {} f:buildLogsUrl: {} f:completedTimestamp: {} f:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:status: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-07-23T08:19:59Z" name: greencapitaltrade-bifrost-main-152 namespace: jx resourceVersion: "209894521" uid: 55947373-4616-4c1d-ade1-09c48e9c1f82 spec: baseSHA: 3430f19bc480f27e978893789bef921db92c2c66 batchPipelineActivity: {} build: "152" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/152.log completedTimestamp: "2026-07-23T08:19:51Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: "feat(reports): server-side CSV export for asset report endpoints\n\nAdds format='csv' to the reports/{summary,metrics,assets,drivers,\nexpenses,alerts,maintenance,geofences} endpoints, serialized via a\nshared _rows_to_csv() helper (stdlib csv module) so any consumer\n(Fury, scripts, future PDF/xlsx work) can reuse it instead of each\nclient re-implementing CSV escaping. Response shape on format='csv'\nis {success, format: 'csv', filename, csv} instead of {success, data}.\n\nAlso fixes two pre-existing bugs surfaced while adding CSV coverage:\n- get_asset_expense_reports referenced a nonexistent `purpose` field\n on asset.petty_cash (only expense_type exists) — silently caught by\n the endpoint's broad try/except and masked because no prior test\n created a petty_cash row in the report's date range.\n- test_report_api.py setUp() referenced undefined `asset_rec` and the\n wrong model names (asset.vehicle.model / .brand instead of\n asset.model / asset.model.brand), breaking every test in the file\n before this change (KeyError/NameError in setUp).\n\nNote: reports/trips|stops|events are called by Fury but have no\nBifrost route today (pre-existing gap, unconfirmed elsewhere in the\naddon) — CSV export for those three report types is out of scope\nhere and left for a follow-up once the endpoints exist.\n\n\U0001F916 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.8 (1M context) \n" lastCommitSHA: b9bb324a8d634d0b50986f15f031263d1f43ac7d message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.83.0 startedTimestamp: "2026-07-23T08:14:32Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-07-23T08:19:51Z" name: from build pack startedTimestamp: "2026-07-23T08:14:45Z" status: Succeeded steps: - completedTimestamp: "2026-07-23T08:15:00Z" name: Git Clone startedTimestamp: "2026-07-23T08:14:45Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:04Z" name: Next Version startedTimestamp: "2026-07-23T08:15:01Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:08Z" name: Jx Variables startedTimestamp: "2026-07-23T08:15:05Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:09Z" name: Setup Npm Nexus startedTimestamp: "2026-07-23T08:15:09Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:11Z" name: Setup Pip Cache startedTimestamp: "2026-07-23T08:15:09Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:12Z" name: Process Config Templates startedTimestamp: "2026-07-23T08:15:11Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:12Z" name: Update Asset Management Version startedTimestamp: "2026-07-23T08:15:12Z" status: Succeeded - completedTimestamp: "2026-07-23T08:15:15Z" name: Check Registry startedTimestamp: "2026-07-23T08:15:13Z" status: Succeeded - completedTimestamp: "2026-07-23T08:17:58Z" name: Build Container Build startedTimestamp: "2026-07-23T08:15:17Z" status: Succeeded - completedTimestamp: "2026-07-23T08:18:17Z" name: Promote Changelog startedTimestamp: "2026-07-23T08:17:58Z" status: Succeeded - completedTimestamp: "2026-07-23T08:18:20Z" name: Promote Helm Release startedTimestamp: "2026-07-23T08:18:17Z" status: Succeeded - completedTimestamp: "2026-07-23T08:19:17Z" name: Promote Jx Promote startedTimestamp: "2026-07-23T08:18:21Z" status: Succeeded - completedTimestamp: "2026-07-23T08:19:51Z" name: Publish Org Kb startedTimestamp: "2026-07-23T08:19:17Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4895 startedTimestamp: "2026-07-23T08:18:53Z" status: Succeeded startedTimestamp: "2026-07-23T08:18:53Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4896 startedTimestamp: "2026-07-23T08:19:14Z" status: Succeeded startedTimestamp: "2026-07-23T08:19:14Z" status: Succeeded version: 6.83.0 status: {}