Skip to content

Commit 55560fc

Browse files
authored
Merge pull request #850 from microsoftgraph/ramsessanchez-patch-1
Bug Fixes
2 parents 35369c8 + 7f10b81 commit 55560fc

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

.azure-pipelines/buildAndPackage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stages:
3232
- job: Build
3333
steps:
3434
- template: templates/build/checkout-and-credscan.yml
35-
- template: templates/build/install-java.yml
35+
- template: templates/install-java.yml
3636
- template: templates/secure-files.yml
3737
parameters:
3838
stageID: 'build'
@@ -50,9 +50,9 @@ stages:
5050
runOnce:
5151
deploy:
5252
steps:
53-
- template: templates/download-artifacts.yml
53+
- template: templates/install-java.yml
5454
- template: templates/secure-files.yml
55-
- template: templates/maven-preview/copy-and-build.yml
55+
- template: templates/copy-and-build.yml
5656
parameters:
5757
task: 'publishSnapshotPublicationToSonatypeSnapshotRepository'
5858

@@ -68,10 +68,11 @@ stages:
6868
runOnce:
6969
deploy:
7070
steps:
71+
- template: templates/install-java.yml
7172
- template: templates/secure-files.yml
7273
parameters:
7374
stageID: 'release'
74-
- template: templates/maven-release/copy-and-build.yml
75+
- template: templates/copy-and-build.yml
7576
parameters:
7677
task: 'publishMavenCentralReleasePublicationToSonatypeRepository'
7778

@@ -84,6 +85,7 @@ stages:
8485
runOnce:
8586
deploy:
8687
steps:
88+
- template: templates/install-java.yml
8789
- template: templates/version-and-release.yml
8890
parameters:
8991
gitConnection: 'microsoftgraphrelease'
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
steps:
2-
- task: Gradle@2
3-
inputs:
4-
gradleWrapperFile: 'gradlew'
5-
tasks: 'build'
6-
publishJUnitResults: true
7-
testResultsFiles: '**/TEST-*.xml'
8-
javaHomeOption: 'JDKVersion'
9-
sonarQubeRunAnalysis: false
10-
2+
- task: Gradle@2
3+
inputs:
4+
gradleWrapperFile: '$(Build.SourcesDirectory)/gradlew'
5+
tasks: 'build'
6+
publishJUnitResults: true
7+
testResultsFiles: '**/TEST-*.xml'
8+
javaHomeOption: 'JDKVersion'
9+
sonarQubeRunAnalysis: false

.azure-pipelines/templates/copy-and-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ steps:
88
inputs:
99
SourceFolder: '$(Agent.TempDirectory)'
1010
Contents: '**'
11-
TargetFolder: '$(DROP_PATH)/'
11+
TargetFolder: '$(Agent.BuildDirectory)/Drop/'
1212

1313
- task: Gradle@2
1414
inputs:
15-
gradleWrapperFile: '$(DROP_PATH)/gradlew'
16-
workingDirectory: '$(DROP_PATH)/'
15+
gradleWrapperFile: '$(Agent.BuildDirectory)/Drop/gradlew'
16+
workingDirectory: '$(Agent.BuildDirectory)/Drop/'
1717
options: '-x jar -x javadoc -x javadocJar -x compileJava -x processResources -x classes -x sourceJar'
1818
tasks: ${{ parameters.task }}
1919
publishJUnitResults: true
File renamed without changes.

.azure-pipelines/templates/version-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ steps:
77
- task: PowerShell@2
88
inputs:
99
filePath: '$(DROP_PATH)/Scripts/getLatestVersion.ps1'
10-
arguments: '-propertiesPath "$(PROPERTIES_PATH)"'
10+
arguments: '-propertiesPath "$(DROP_PATH)/gradle.properties"'
1111
pwsh: true
1212

1313
- task: GitHubRelease@1

0 commit comments

Comments
 (0)