From 2d87afbaeaa2cc6f294f55730365374ec8590667 Mon Sep 17 00:00:00 2001 From: Shreyas Gopalakrishna <11889130+shreyas-gopalakrishna@users.noreply.github.com> Date: Fri, 15 Mar 2024 12:52:40 -0700 Subject: [PATCH] Update application insights agent version to 3.5.1 (#754) * Update application insights agent version to 3.5.1 * Update command --- azure-pipelines-e2e-integration-tests.yml | 6 +++--- azure-pipelines.yml | 6 +++--- package-pipeline.ps1 | 2 +- setup-tests-pipeline.ps1 | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/azure-pipelines-e2e-integration-tests.yml b/azure-pipelines-e2e-integration-tests.yml index 1718ecd4..72f20a35 100644 --- a/azure-pipelines-e2e-integration-tests.yml +++ b/azure-pipelines-e2e-integration-tests.yml @@ -8,7 +8,7 @@ trigger: none jobs: - job: "End_to_end_integration_tests" variables: - ApplicationInsightAgentVersion: 3.4.19 + ApplicationInsightAgentVersion: 3.5.1 displayName: 'End to end integration tests' strategy: maxParallel: 1 @@ -115,7 +115,7 @@ jobs: displayName: 'Package Java for E2E' - pwsh: | # Download JDK for later installation - Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -O "$(JAVA_VERSION).tar.gz" + Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -OutFile "$(JAVA_VERSION).tar.gz" $current = get-location | select -ExpandProperty Path Write-Host "##vso[task.setvariable variable=downloadPath;]$current" displayName: 'Download jdk for Linux' @@ -131,7 +131,7 @@ jobs: condition: eq( variables['Agent.OS'], 'Linux' ) displayName: 'Setup Java for Linux' - pwsh: | - Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -O "$(JAVA_VERSION).zip" + Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -OutFile "$(JAVA_VERSION).zip" Expand-Archive -Force "$(JAVA_VERSION).zip" . cd $(JDK_PATH) $current = get-location | select -ExpandProperty Path diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a18676c5..94e61070 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -82,7 +82,7 @@ jobs: dependsOn: Build variables: buildNumber: $[ dependencies.Build.outputs['output.buildNumber'] ] - ApplicationInsightAgentVersion: 3.4.19 + ApplicationInsightAgentVersion: 3.5.1 strategy: maxParallel: 1 matrix: @@ -160,7 +160,7 @@ jobs: inputs: version: 6.0.x - pwsh: | # Download JDK for later installation - Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -O "$(JAVA_VERSION).tar.gz" + Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -OutFile "$(JAVA_VERSION).tar.gz" $current = get-location | select -ExpandProperty Path Write-Host "##vso[task.setvariable variable=downloadPath;]$current" displayName: 'Download jdk for Linux' @@ -176,7 +176,7 @@ jobs: condition: eq( variables['Agent.OS'], 'Linux' ) displayName: 'Setup Java for Linux' - pwsh: | - Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -O "$(JAVA_VERSION).zip" + Invoke-WebRequest $(JDK_DOWNLOAD_LINK) -OutFile "$(JAVA_VERSION).zip" Expand-Archive -Force "$(JAVA_VERSION).zip" . cd $(JDK_PATH) $current = get-location | select -ExpandProperty Path diff --git a/package-pipeline.ps1 b/package-pipeline.ps1 index f14678e1..0ce0f783 100644 --- a/package-pipeline.ps1 +++ b/package-pipeline.ps1 @@ -10,7 +10,7 @@ function StopOnFailedExecution { } } -$ApplicationInsightsAgentVersion = '3.4.19' +$ApplicationInsightsAgentVersion = '3.5.1' $ApplicationInsightsAgentFilename = "applicationinsights-agent-${ApplicationInsightsAgentVersion}.jar" $ApplicationInsightsAgentUrl = "https://repo1.maven.org/maven2/com/microsoft/azure/applicationinsights-agent/${ApplicationInsightsAgentVersion}/${ApplicationInsightsAgentFilename}" diff --git a/setup-tests-pipeline.ps1 b/setup-tests-pipeline.ps1 index fb1759ef..baa5cd27 100644 --- a/setup-tests-pipeline.ps1 +++ b/setup-tests-pipeline.ps1 @@ -29,7 +29,7 @@ else $FUNC_CLI_DIRECTORY = Join-Path $PSScriptRoot 'Azure.Functions.Cli' -$ApplicationInsightsAgentVersion = '3.4.19' +$ApplicationInsightsAgentVersion = '3.5.1' $ApplicationInsightsAgentFilename = "applicationinsights-agent-${ApplicationInsightsAgentVersion}.jar" $ApplicationInsightsAgentUrl = "https://repo1.maven.org/maven2/com/microsoft/azure/applicationinsights-agent/${ApplicationInsightsAgentVersion}/${ApplicationInsightsAgentFilename}"