Skip to content

Commit

Permalink
standalone tools fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebv committed Feb 23, 2015
1 parent 2a670d4 commit a832a22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/standalone-tools/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ gulp.task('download-build', function () {
var upstreamBuildNumber = argv.upStreamBuildNumber;
var ciRootUrl = process.env.HUDSON_URL;

console.log(' upstreamJobName ->', upstreamJobName);
console.log(' upstreamBuildNumber ->', upstreamBuildNumber);
console.log('upstreamJobName ->', upstreamJobName);
console.log('upstreamBuildNumber ->', upstreamBuildNumber);

return request(ciRootUrl + 'job/' + encode(upstreamJobName) +
'/' + upstreamBuildNumber + '/api/json')
var upStreamJobUrl = ciRootUrl + 'job/' + encode(upstreamJobName) +
'/' + upstreamBuildNumber + '/api/json';
console.log('upStreamJobUrl ->', upStreamJobUrl);
return request(upStreamJobUrl)
.spread(function (res, body) {
// extracting downstream build job information
return _(JSON.parse(body).subBuilds).chain()
Expand Down
2 changes: 2 additions & 0 deletions ci/standalone-tools/setup
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ then
curl -sS https://raw.githubusercontent.com/creationix/nvm/v0.23.3/install.sh | ( bash || true )
source ~/.nvm/nvm.sh
nvm install 0.10 &> nvm-install.log
else
source ~/.nvm/nvm.sh
fi

# print node and npm versions
Expand Down

0 comments on commit a832a22

Please sign in to comment.