apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/destiny.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 96fbba7ef711970d9193788a2e5eafbb creationTimestamp: "2026-05-14T07:04:01Z" generation: 6 labels: branch: main build: "38" context: release created-by-lighthouse: "true" event-GUID: 1312f526-4f63-11f1-86dd-af1151fd8ee8 lighthouse.jenkins-x.io/baseSHA: f3db3c3e7a462f9a992b1419263b58a0a9ae5359 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1778742241063" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-destiny-main-release-zvtkq lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: f3db3c3e7a462f9a992b1419263b58a0a9ae5359 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: destiny lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-destiny-main-release-4vphm-from-build-pack-pod provider: github repository: destiny tekton.dev/pipeline: apitaltrade-destiny-main-release-4vphm 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.18 operation: Update time: "2026-05-14T07:06:52Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} f:status: {} manager: jx-promote-0.6.31 operation: Update time: "2026-05-14T07:07:44Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} 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:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-05-14T07:09:05Z" name: greencapitaltrade-destiny-main-38 namespace: jx resourceVersion: "19292295" uid: fa42d09c-1a5a-42e2-90fb-56dbf8ccae0f spec: baseSHA: f3db3c3e7a462f9a992b1419263b58a0a9ae5359 batchPipelineActivity: {} build: "38" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/destiny/main/38.log completedTimestamp: "2026-05-14T07:07:24Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: destiny gitUrl: https://github.com/greencapitaltrade/destiny.git lastCommitMessage: | feat: agreement HTML preview endpoint Adds GET /v1/:application_id/agreement/preview that returns the rendered agreement HTML (without PDF conversion or Digio upload). Same template + variable interpolation that gets sent to Digio for e-sign, so the borrower UI can show exactly what they'll sign. models/agreement.js - Extract HTML rendering from preparePdf() into a new prepareHtml() method - preparePdf() now calls prepareHtml() then converts to PDF via html-pdf-chrome - Single source of truth for the rendered HTML across preview and PDF paths routes/agreements.js - GET /preview returns { html, agreement_id } for borrower display - Uses an existing unsigned agreement if present, otherwise builds a transient instance (no DB insert) just for rendering - Same borrower/sanction lookup as the POST signing flow tests/unit/agreement_preview_route.test.js - HTML rendering with template variable interpolation - 404 when no sanction exists for the application lastCommitSHA: cff77db91b08a4ef0c71c50de6d9a60739462dcf message: 'Tasks Completed: 0 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 0' pipeline: greencapitaltrade/destiny/main releaseNotesURL: https://github.com/greencapitaltrade/destiny/releases/tag/v1.53.1 startedTimestamp: "2026-05-14T07:04:01Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-05-14T07:07:24Z" name: Release startedTimestamp: "2026-05-14T07:06:24Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/3837 startedTimestamp: "2026-05-14T07:07:24Z" status: Succeeded startedTimestamp: "2026-05-14T07:07:24Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-14T07:07:48Z" name: from build pack startedTimestamp: "2026-05-14T07:04:15Z" status: Succeeded steps: - completedTimestamp: "2026-05-14T07:04:25Z" name: Git Clone startedTimestamp: "2026-05-14T07:04:15Z" status: Succeeded - completedTimestamp: "2026-05-14T07:04:29Z" name: Next Version startedTimestamp: "2026-05-14T07:04:26Z" status: Succeeded - completedTimestamp: "2026-05-14T07:04:31Z" name: Jx Variables startedTimestamp: "2026-05-14T07:04:29Z" status: Succeeded - completedTimestamp: "2026-05-14T07:05:30Z" name: Build Npm Install startedTimestamp: "2026-05-14T07:04:33Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:37Z" name: Build Container Build startedTimestamp: "2026-05-14T07:05:31Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:52Z" name: Promote Changelog startedTimestamp: "2026-05-14T07:06:37Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:55Z" name: Promote Helm Release startedTimestamp: "2026-05-14T07:06:52Z" status: Succeeded - completedTimestamp: "2026-05-14T07:07:48Z" name: Promote Jx Promote startedTimestamp: "2026-05-14T07:06:55Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-14T07:07:48Z" name: from build pack startedTimestamp: "2026-05-14T07:04:15Z" status: Succeeded steps: - completedTimestamp: "2026-05-14T07:04:25Z" name: Git Clone startedTimestamp: "2026-05-14T07:04:15Z" status: Succeeded - completedTimestamp: "2026-05-14T07:04:29Z" name: Next Version startedTimestamp: "2026-05-14T07:04:26Z" status: Succeeded - completedTimestamp: "2026-05-14T07:04:31Z" name: Jx Variables startedTimestamp: "2026-05-14T07:04:29Z" status: Succeeded - completedTimestamp: "2026-05-14T07:05:30Z" name: Build Npm Install startedTimestamp: "2026-05-14T07:04:33Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:37Z" name: Build Container Build startedTimestamp: "2026-05-14T07:05:31Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:52Z" name: Promote Changelog startedTimestamp: "2026-05-14T07:06:37Z" status: Succeeded - completedTimestamp: "2026-05-14T07:06:55Z" name: Promote Helm Release startedTimestamp: "2026-05-14T07:06:52Z" status: Succeeded - completedTimestamp: "2026-05-14T07:07:48Z" name: Promote Jx Promote startedTimestamp: "2026-05-14T07:06:55Z" status: Succeeded version: 1.53.1 status: {}