Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Documentation for the above plugin settings is available here https://mohamicorp.atlassian.net/wiki/spaces/DOC/pages/210305025/Sending+URL+Parameters+to+Jenkins#Available-Parameters

Bamboo

Sealights PR Parameter

Bamboo Build env. variables

Comment

pullRequestNumber

latestCommit

bamboo.repository.pr.key

repoUrl 

bamboo.planRepository.<position>.repositoryUrl

targetBranch

bamboo.repository.pr.targetBranch

The base reference name of the webhook event that triggered the build. It is the branch reference for pull requests (i.e. target branch).
It may require some string manipulation to match the branch name that was provided to SeaLights when scanning the reference branch.

Info

More details for Bamboo CI may be found in the official documentation: https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html

AWS CodeBuild

Sealights PR Parameter

AWS Code Build env. variables

Comment

pullRequestNumber

CODEBUILD_WEBHOOK_TRIGGER

For builds triggered by a pull request, its format is pr/pull-request-number: a string manipulation is required to remove the /pr prefix and retrieve the number itself.

latestCommit

CODEBUILD_RESOLVED_SOURCE_VERSION

repoUrl 

CODEBUILD_SOURCE_REPO_URL

targetBranch

CODEBUILD_WEBHOOK_BASE_REF

The base reference name of the webhook event that triggered the build. It is the branch reference for pull requests (i.e. target branch).
It may require some string manipulation to match the branch name that was provided to SeaLights when scanning the reference branch.

...