Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Skipping (0.02 sec)

  1. .teamcity/scripts/configure_build_env_on_ec2.sh

    curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    IS_EC2_INSTANCE=$?
    if [ $IS_EC2_INSTANCE -ne 0 ]; then
      echo "Not running on an EC2 instance, skipping the configuration"
      exit 0
    fi
    
    # TAG
    EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type")
    echo "##teamcity[addBuildTag 'ec2-instance-type=$EC2_INSTANCE_TYPE']"
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top