Add some logging

This commit is contained in:
Kevin Sawicki 2014-06-13 15:19:20 -07:00
parent ca86e0258f
commit 28015339d9

View File

@ -25,9 +25,11 @@ function loadEnvironmentVariables(filePath) {
}
function readEnvironmentVariables() {
if (process.platform === 'win32')
loadEnvironmentVariables('C:\\jenkins\\config\\atomcredentials');
else {
if (process.platform === 'win32') {
console.log(process.env.SystemDrive);
console.log(path.resolve('/jenkins/config/atomcredentials'));
loadEnvironmentVariables('Y:\\jenkins\\config\\atomcredentials');
} else {
loadEnvironmentVariables('/var/lib/jenkins/config/atomcredentials');
loadEnvironmentVariables('/var/lib/jenkins/config/xcodekeychain');
}