setup-php/node_modules/codecov/lib/services/teamcity.js
2019-09-20 21:54:46 +05:30

17 lines
392 B
JavaScript

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
};
}
};