Move node info to a script.

Review Request #3842 — Created May 8, 2016 and submitted — Latest diff uploaded

jsirois
pants
jsirois/issues/3343/access_node_info_from_script
3356, 3361
4f3e5de...
pants-reviews
patricklaw
Previously, the Jenkinsfile node info was always being taken from the
Jenkins master.

 Jenkinsfile                                                     |  18 +++++-------------
 build-support/aws/ec2/ci/print_node_info.sh                     |  31 +++++++++++++++++++++++++++++++
 build-support/{ => aws/ec2}/packer/README.md                    |   4 ++--
 build-support/{ => aws/ec2}/packer/images/check-ami-success.png | Bin
 build-support/{ => aws/ec2}/packer/jenkins-slave.customize.sh   |   0
 build-support/{ => aws/ec2}/packer/jenkins-slave.json           |   0
 build-support/{ => aws/ec2}/packer/jenkins-slave.packages.sh    |   0
 7 files changed, 38 insertions(+), 15 deletions(-)
Tested this script on my machine, mac-mini1, jenkins.pantsbuild.org and 1 slave.

CI went green here:
  http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/branch/PR-3361/2/
Loading...