Skip to content

Commit

Permalink
Update application insights agent version to 3.5.1 (#754)
Browse files Browse the repository at this point in the history
* Update application insights agent version to 3.5.1

* Update command
  • Loading branch information
shreyas-gopalakrishna authored Mar 15, 2024
1 parent c92d38c commit 64a4718
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines-e2e-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package-pipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
2 changes: 1 addition & 1 deletion setup-tests-pipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 64a4718

Please sign in to comment.