Sha256: f02c77cdd0760c6655a5b5948d925d92cfa884d91c1576734b2c82c960971951

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

# Jets Git

[![Gem Version](https://badge.fury.io/rb/jets-git.svg)](http://badge.fury.io/rb/jets-git)

[![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)

[![BoltOps Learn Badge](https://img.boltops.com/boltops-learn/boltops-learn.png)](https://learn.boltops.com)

Gathers git information for Jets.

This library gathers information from your local git repo or the build system [jets](https://rubyonjets.com) 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jets-git-0.2.1 README.md
jets-git-0.2.0 README.md