Skip to content

Commit e0bbfa7

Browse files
authored
Fix maven push (#1575)
* Copy bits to 3.0.3-BETA.2-HEYA-TEST container on azure blob * Add more logs * Add check to download 64bit or 32bit 7-Zip * Add a check to install 64bit vs. 32bit azcopy * Install 3rd party softwares to D drive * Don't use 7-Zip to unzip azcopy * Add a new param called JarPath * Clean up * Revert Version back to 3.0.3-BETA.2 * Copy more files required by maven
1 parent b59737b commit e0bbfa7

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.pipelines/pipeline.user.windows.buddy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ build:
1414
- to: 'Artifacts'
1515
include:
1616
- '**/build/libs/*.jar'
17-
exclude:
17+
- '**/build/libs/*.jar'
1818
- '**/build/libs/*-sources.jar'
1919
- '**/build/libs/*-javadoc.jar'
20+
- '**/build/libs/*.pom'
21+
exclude:
2022
- 'buildSrc/**/*'

.pipelines/pipeline.user.windows.official.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ build:
1313
- to: 'Artifacts'
1414
include:
1515
- '**/build/libs/*.jar'
16-
exclude:
16+
- '**/build/libs/*.jar'
1717
- '**/build/libs/*-sources.jar'
1818
- '**/build/libs/*-javadoc.jar'
19+
- '**/build/libs/*.pom'
20+
exclude:
1921
- 'buildSrc/**/*'

.scripts/copyBitsToAzureBlob.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ Write-Host "Jar path: $JarPath"
2020
$Env:AZCOPY_SPA_CLIENT_SECRET=$ServicePrincipalKey
2121
azcopy login --service-principal --application-id $ServicePrincipleClientId
2222
azcopy copy "$JarPath/applicationinsights-agent-$SDKVersionNumber.jar" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/applicationinsights-sdk/java/$SDKVersionNumber/"
23-
Remove-Item Env:AZCOPY_SPA_CLIENT_SECRET
23+
azcopy copy "$JarPath/applicationinsights-agent-$SDKVersionNumber-devtest.jar" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/applicationinsights-sdk/java/$SDKVersionNumber/"
24+
azcopy copy "$JarPath/applicationinsights-agent-$SDKVersionNumber-javadoc.jar" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/applicationinsights-sdk/java/$SDKVersionNumber/"
25+
azcopy copy "$JarPath/applicationinsights-agent-$SDKVersionNumber-sources.jar" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/applicationinsights-sdk/java/$SDKVersionNumber/"
26+
azcopy copy "$JarPath/applicationinsights-agent-$SDKVersionNumber.pom" "https://azuresdkpartnerdrops.blob.core.windows.net/drops/applicationinsights-sdk/java/$SDKVersionNumber/"
27+
Remove-Item Env:AZCOPY_SPA_CLIENT_SECRET

0 commit comments

Comments
 (0)