env-ci

Get environment variables exposed by CI services

MIT License

Downloads
7.2M
Stars
227
Committers
28

Bot releases are visible (Hide)

env-ci - v3.2.2

Published by pvdlg over 5 years ago

3.2.2 (2019-06-05)

Bug Fixes

  • fix CircleCi PR detection (f49ac93)
env-ci - v3.2.1

Published by pvdlg over 5 years ago

3.2.1 (2019-06-05)

Bug Fixes

  • package: update java-properties to version 1.0.0 (8f5cd22)
env-ci - v3.2.0

Published by pvdlg almost 6 years ago

3.2.0 (2019-01-09)

Features

  • add support for GitHub Actions (b6869bf)
env-ci - v3.1.3

Published by pvdlg almost 6 years ago

3.1.3 (2018-12-17)

Bug Fixes

  • teamcity: fallback for missing/erroneous properties file (345476f)
env-ci - v3.1.2

Published by pvdlg almost 6 years ago

3.1.2 (2018-11-24)

Bug Fixes

  • teamcity: read branch and root from config file rather than env (39f1d3f)
env-ci - v3.1.1

Published by pvdlg almost 6 years ago

3.1.1 (2018-11-19)

Bug Fixes

  • teamcity: read branch and root from environment variables if absent from properties file (ff4b400)
env-ci - v3.1.0

Published by pvdlg about 6 years ago

3.1.0 (2018-09-27)

Features

  • add buildUrl and jobUrl for Travis (11a0389)
env-ci - v3.0.0

Published by pvdlg about 6 years ago

3.0.0 (2018-09-19)

Features

  • add support for Codefresh (f473d26)
  • distinguish source and target branches on PR builds (defc475)

BREAKING CHANGES

  • The value of branch will change for certain CI services when building a Pull Request (and only in that case).

For the following services, branch will contains the Pull Request target rather than the branch the Pull Request originated from: Bitrise, Buildkite, Cirrus, Drone, Jenkins, Shippable, VSTS.

For the following services, branch will be undefined as no variable is provided to determine the Pull Request target: Buddy, CircleCI, Sail, Semaphore.

For the following services, branch will not change and still contains the Pull Request target: Travis, Appveyor.

The prBranch property can be used to determine the branch the Pull Request originated from.

env-ci - v2.6.0

Published by pvdlg about 6 years ago

2.6.0 (2018-09-17)

Features

env-ci - v2.5.0

Published by pvdlg about 6 years ago

2.5.0 (2018-09-12)

Features

  • add support for tag variable (c10f220)
env-ci - v2.4.0

Published by pvdlg about 6 years ago

2.4.0 (2018-09-07)

Features

  • support custom env and cwd options (50493bb)
env-ci - v2.3.0

Published by pvdlg about 6 years ago

2.3.0 (2018-09-07)

Features

env-ci - v2.2.0

Published by pvdlg about 6 years ago

2.2.0 (2018-09-03)

Bug Fixes

  • always set isPr to true or false and never undefined (790283f)

Features

  • add support for Cirrus CI (31afc7d)
  • add support for Visual Studio Team Services (ae09fe5)
env-ci - v2.1.3

Published by pvdlg about 6 years ago

2.1.3 (2018-08-26)

Bug Fixes

  • package: update execa to version 1.0.0 (a860323)
env-ci - v2.1.2

Published by pvdlg about 6 years ago

2.1.2 (2018-08-24)

Bug Fixes

  • package: update execa to version 0.11.0 (1f22332)
env-ci - v2.1.1

Published by pvdlg over 6 years ago

2.1.1 (2018-06-15)

Bug Fixes

  • support circle 2.0 env vars (6efe192)
env-ci - v2.1.0

Published by pvdlg over 6 years ago

2.1.0 (2018-05-04)

Features

  • git: use remote branches only for local detached head (bfd7cd0)
env-ci - v2.0.1

Published by pvdlg over 6 years ago

2.0.1 (2018-04-30)

Bug Fixes

  • fix regex for parsing git branch (4324504)
env-ci - v2.0.0

Published by pvdlg over 6 years ago

2.0.0 (2018-04-29)

Features

BREAKING CHANGES

  • remove support for Node.js < 6
env-ci - v1.7.2

Published by pvdlg over 6 years ago

1.7.2 (2018-04-27)

Bug Fixes

  • retrieve branch from repo with a detached head (716b7e6)
Package Rankings
Top 1.41% on Npmjs.org
Top 28.33% on Repo1.maven.org
Badges
Extracted from project README
Build Status npm latest version
Related Projects