mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #3563 from serverless/updateCIDetection
Update CI detection
This commit is contained in:
commit
f0cc5446a6
@ -3,6 +3,7 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const YAML = require('js-yaml');
|
||||
const ci = require('ci-info');
|
||||
const BbPromise = require('bluebird');
|
||||
const fse = BbPromise.promisifyAll(require('fs-extra'));
|
||||
const _ = require('lodash');
|
||||
@ -339,7 +340,8 @@ class Utils {
|
||||
serverlessVersion: serverless.version,
|
||||
nodeJsVersion: process.version,
|
||||
isDockerContainer,
|
||||
isCISystem: !!((process.env.CI || process.env.JENKINS_URL) || false),
|
||||
isCISystem: ci.isCI,
|
||||
ciSystem: ci.name,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
2877
npm-shrinkwrap.json
generated
2877
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -87,6 +87,7 @@
|
||||
"aws-sdk": "^2.7.13",
|
||||
"bluebird": "^3.4.0",
|
||||
"chalk": "^1.1.1",
|
||||
"ci-info": "^1.0.0",
|
||||
"download": "^5.0.2",
|
||||
"filesize": "^3.3.0",
|
||||
"fs-extra": "^0.26.7",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user