Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for execute_build_script_from_env (0.16 sec)

  1. .teamcity/scripts/post_build_on_ec2.sh

    source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
    
    exit_if_not_on_ec2_instance
    
    if [[ "${BUILD_TYPE_ID:-}" == Gradle_Xperimental* ]]; then
      execute_build_script_from_env "${XPERIMENTAL_EC2_POST_BUILD_SCRIPT:-}"
    elif [[ "${BUILD_TYPE_ID:-}" == Gradle_Master* ]]; then
      execute_build_script_from_env "${MASTER_EC2_POST_BUILD_SCRIPT:-}"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 979 bytes
    - Viewed (0)
  2. .teamcity/scripts/configure_build_env_on_ec2.sh

    fi
    
    # Execute pre-build script based on BUILD_TYPE_ID
    if [[ "${BUILD_TYPE_ID:-}" == Gradle_Xperimental* ]]; then
      execute_build_script_from_env "${XPERIMENTAL_EC2_PRE_BUILD_SCRIPT:-}"
    elif [[ "${BUILD_TYPE_ID:-}" == Gradle_Master* ]]; then
      execute_build_script_from_env "${MASTER_EC2_PRE_BUILD_SCRIPT:-}"
    fi
    
    # READ-ONLY DEPENDENCY CACHE
    if [ -d "/opt/gradle-cache" ]; then
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 23 03:27:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. .teamcity/scripts/common.sh

        echo "Not running on an EC2 instance, skipping the configuration"
        exit 0
      fi
    }
    
    # Function to write and execute a build script from environment variable content
    execute_build_script_from_env() {
      local script_content="$1"
      echo "${script_content}" > "${TMPDIR}/pre-or-post-build.sh"
      bash -x "${TMPDIR}/pre-or-post-build.sh"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top