upgraded to Hudson slave image 1.13

This commit is contained in:
Axel Uhl committed 2019-11-08 23:58:52 +00:00
1 parent 71abfaae64
commit 4cd981412b
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
AWS=/root/.local/bin/aws
REGION=eu-west-1
#HUDSON_SLAVE_AMI_ID=ami-046152714826b63b1
HUDSON_SLAVE_AMI_ID=ami-0fa8b90782b43be2f
HUDSON_SLAVE_AMI_ID=ami-0812bc35c7464732e
echo Launching instance...
instanceid=`$AWS ec2 run-instances --image-id $HUDSON_SLAVE_AMI_ID --count 1 --instance-type c5d.4xlarge --key-name Axel --security-groups "Sailing Analytics App" --region $REGION --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=Hudson Ubuntu Slave}]' --instance-initiated-shutdown-behavior terminate | tee /tmp/slavelaunch.out | jq .Instances[0].InstanceId | sed -e 's/"//g'`
if [ "$instanceid" = "" ]; then