env-ci

Get environment variables exposed by CI services

MIT License

Downloads
7.2M
Stars
227
Committers
28

Bot releases are hidden (Show)

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)
env-ci - v1.7.1

Published by pvdlg over 6 years ago

1.7.1 (2018-04-22)

Bug Fixes

  • gitlab: get build from CI_PIPELINE_ID and job from CI_JOB_ID (b0a335c)
env-ci - v1.7.0

Published by pvdlg over 6 years ago

1.7.0 (2018-04-16)

Features

  • add AWS CodeBuild support (a9bed45)
env-ci - v1.6.0

Published by pvdlg over 6 years ago

1.6.0 (2018-04-06)

Features

  • add name property (CI commercial name) (4d3d673)
env-ci - v1.5.0

Published by pvdlg over 6 years ago

1.5.0 (2018-03-30)

Features

env-ci - v1.4.2

Published by pvdlg over 6 years ago

1.4.2 (2018-03-15)

Bug Fixes

  • package: update execa to version 0.10.0 (ea44060)
env-ci - v1.4.1

Published by pvdlg over 6 years ago

1.4.1 (2018-02-13)

Bug Fixes

  • add GIT_LOCAL_BRANCH to find branch name on Jenkins (87b9fbc)
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