diff --git a/script/cibuild b/script/cibuild index 0682446cb..0e54798fb 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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'); }