Skip to content

Commit 65a2353

Browse files
authored
Fix publishing (#2348)
* Fix publishing * Revert "Exclude maven-metadata-local.xml (#2347)" This reverts commit b327007.
1 parent b327007 commit 65a2353

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build:
1616
- !!defaultcommand
1717
name: 'Assemble'
1818
command: '.scripts/gradle.cmd'
19-
arguments: ':agent:agent:publishToMavenLocal -DisRelease=true -Pai.etw.native.build=release --offline'
19+
arguments: 'publishToMavenLocal -DisRelease=true -Pai.etw.native.build=release --offline'
2020
- !!buildcommand
2121
name: 'Copy files from maven local repository'
2222
command: '.scripts/copy-from-maven-local.cmd'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pushd %~dp0..
22

33
mkdir published
44

5-
xcopy /E %USERPROFILE%\.m2\repository\com\microsoft\azure\applicationinsights-agent\* published /EXCLUDE:.scripts\list-of-excluded-files.txt
6-
xcopy /E %USERPROFILE%\.m2\repository\com\microsoft\azure\applicationinsights-runtime-attach\* published /EXCLUDE:.scripts\list-of-excluded-files.txt
5+
xcopy /E %USERPROFILE%\.m2\repository\com\microsoft\azure\applicationinsights-agent\* published
6+
xcopy /E %USERPROFILE%\.m2\repository\com\microsoft\azure\applicationinsights-runtime-attach\* published
77

88
popd

.scripts/list-of-excluded-files.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)