mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-27 05:43:06 +07:00
17 lines
392 B
JavaScript
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
|
||
|
};
|
||
|
}
|
||
|
|
||
|
};
|