Skip to content

Commit 014c898

Browse files
authored
Fix pipeline alt (#2271)
1 parent d615a15 commit 014c898

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ build:
1313
to: 'Scripts'
1414
include:
1515
- '**/*'
16-
- !!buildcommand
16+
- !!defaultcommand
1717
name: 'Assemble ApplicationInsights-Java JARs'
1818
command: '.scripts/gradle.cmd'
1919
arguments: 'publishToMavenLocal -DisRelease=true -Pai.etw.native.build=release'
20+
- !!buildcommand
21+
name: 'Copy files from maven local repository'
22+
command: '.scripts/copy-from-maven-local.cmd'
2023
artifacts:
2124
- to: 'Artifacts'
2225
include:
23-
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*.jar'
24-
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*-sources.jar'
25-
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*-javadoc.jar'
26-
- '~/.m2/repository/com/microsoft/azure/applicationinsights-agent/*/*.pom'
26+
- 'published/**/*'

.scripts/copy-from-maven-local.cmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pushd %~dp0..
2+
3+
mkdir published
4+
5+
xcopy /E %USERPROFILE%\.m2\repository\com\microsoft\azure\applicationinsights-agent\* published
6+
7+
popd

0 commit comments

Comments
 (0)