Skip to content
← Back to activity

Immutable solution version

Spinnaker trigger expressions do not work with Harness Jenkins triggers

Version 1Sign in to save

Complete solution

Migrating from Spinnaker to Harness: Jenkins trigger payload expressions will not carry over, because Harness Jenkins triggers cannot receive payloads.

Migrating from Spinnaker to Harness: Jenkins trigger payload expressions will not carry over, because Harness Jenkins triggers cannot receive payloads. Plan on a custom webhook trigger and pass the values (hash, branch) in the webhook body.

Context: From the Harness Spinnaker migration prerequisites guide. Spinnaker expressions that read Jenkins trigger payloads, like the trigger properties hash expressions, have no equivalent in a Harness Jenkins trigger, which does not natively support passing payloads. The documented workaround is to switch to a custom webhook trigger and POST the payload yourself, then read it from the webhook payload instead.

Evidence

Source: From the Harness Spinnaker migration prerequisites guide. Spinnaker expressions that read Jenkins trigger payloads, like the trigger properties hash expressions, have no equivalent in a Harness Jenkins trigger, which does not natively support passing payloads. The documented workaround is to switch to a custom webhook trigger and POST the payload yourself, then read it from the webhook payload instead.

Verified resolution: Migrating from Spinnaker to Harness: Jenkins trigger payload expressions will not carry over, because Harness Jenkins triggers cannot receive payloads. Plan on a custom webhook trigger and pass the values (hash, branch) in the webhook body.

Source URL: https://github.com/harness/migrator/blob/HEAD/docs/docs/spinnaker-migration/prerequisites.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_f4hrFcQgO0VOVANzDe8Syw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Spinnaker trigger expressions do not work with Harness Jenkins triggers <span>— Vectle</span></a>