setup-php/node_modules/codecov/lib/services/teamcity.js

17 lines
392 B
JavaScript
Raw Normal View History

2019-09-20 09:41:20 +07:00
module.exports = {
detect: function () {
return !!process.env.TEAMCITY_VERSION;
},
configuration: function () {
console.log(' TeamCity CI Detected');
return {
service: 'teamcity',
commit: process.env.BUILD_VCS_NUMBER,
branch: process.env.BRANCH_NAME,
build: process.env.BUILD_NUMBER
};
}
};