Jets Git

Gem Version

BoltOps Badge

BoltOps Learn Badge

Gathers git information for Jets.

This library gathers information from your local git repo or the build system jets runs on. It supports:

  • azure: Azure Pipelines.
  • bitbucket: BitBucket Pipelines.
  • circleci: CircleCI.
  • codebuild: AWS CodeBuild
  • custom: Custom control.
  • github: Github Actions.
  • gitlab: Gitlab Pipelines.
  • local: Local git repo.

Custom Control

You can set these variables if you have a custom build system and need more control over what is set. Example:

JETS_GIT_CUSTOM=1
JETS_GIT_CUSTOM_BRANCH=main
JETS_GIT_CUSTOM_SHA=abcdefgh
JETS_GIT_CUSTOM_URL=https://github.com/owner/repo
JETS_GIT_CUSTOM_MESSAGE="commit message"

The JETS_GIT_CUSTOM=1 tells the library to use the Custom information.

Disabling

If you need to turn off the gathering of any git information, you can set it.

JETS_GIT_DISABLED=1