Extensions/Common/lib/vsts-task-lib/task.js
function getVariable(name) {
    var varval = process.env[name.replace(/\./g, '_').toUpperCase()];
    debug(name + '=' + varval);
    var mocked = mock.getResponse('getVariable', name);
    return mocked || varval;
}
function getVariable(name) {
    var varval = process.env[name.replace(/\./g, '_').toUpperCase()];
    debug(name + '=' + varval);
    var mocked = mock.getResponse('getVariable', name);
    return mocked || varval;
}
----------------------------------------------------- Input Helpers -----------------------------------------------------