Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8edcf00
fix: add missing image property to daily-ci pipeline pool configuration
ramsessanchez May 21, 2026
0e23139
fix: update spotbugs plugin to 6.5.4
ramsessanchez May 21, 2026
da7898b
fix: update sonarqube plugin to 7.3.0.8198
ramsessanchez May 21, 2026
7b6fb99
Update SpotBugs plugin version to 6.5.5
ramsessanchez May 22, 2026
0c1be82
fix: add pluginManagement repositories to settings.gradle
ramsessanchez May 22, 2026
5c84da0
Downgrade SpotBugs plugin version to 6.5.4
ramsessanchez May 22, 2026
5f8ae02
fix: make spotbugs/sonarqube plugins conditional for restricted CI en…
ramsessanchez May 22, 2026
14a9f98
Change build command from 'assemble' to 'build'
ramsessanchez May 22, 2026
55a9bb9
fix: use system properties for skipCodeAnalysis flag
ramsessanchez May 22, 2026
463a4a6
fix: use Gradle@4 ADO task for daily-ci build
ramsessanchez May 22, 2026
f912749
revert: restore original plugins block in build.gradle
ramsessanchez May 22, 2026
e2fb7c3
fix: match Go SDK daily-ci pool config (remove image property)
ramsessanchez May 22, 2026
aae3f80
fix: enable 1ES internal module proxy for Java dependency resolution
ramsessanchez May 22, 2026
0c2ee5d
test: strip spotbugs/sonarqube plugins in daily-ci to test core dep r…
ramsessanchez May 22, 2026
9b867d3
fix: also strip spotbugs/sonarqube config blocks from build.gradle
ramsessanchez May 22, 2026
b36b573
test: add networkIsolation overrideAllowRules for Maven/Gradle repos
ramsessanchez May 22, 2026
700ad67
Add network isolation policy to CI build pipeline
ramsessanchez May 23, 2026
ddd0e8f
fix: correct YAML indentation for settings.networkIsolationPolicy
ramsessanchez May 23, 2026
1c3dd93
fix: route Gradle deps through CFS upstream Azure Artifacts feed
ramsessanchez May 23, 2026
c31d3f4
fix: remove sed steps, let plugins resolve through CFS feed
ramsessanchez May 23, 2026
61a19e6
fix: add CFS upstream feed to build.gradle and settings.gradle
ramsessanchez May 23, 2026
d4701eb
fix: add Gradle credentials step for CFS feed authentication
ramsessanchez May 23, 2026
556ebc0
fix: move CFS feed credentials to gradle.properties
ramsessanchez May 23, 2026
dd33475
fix: pass CFS feed token via ADO pipeline variable
ramsessanchez May 23, 2026
b7f29ef
fix: remove underscore from Gradle repo name (identity constraint)
ramsessanchez May 23, 2026
efd5633
fix: restore underscores in Azure Artifacts feed URLs
ramsessanchez May 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .azure-pipelines/daily-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ extends:
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
os: linux
sdl:
sourceAnalysisPool:
Expand All @@ -42,17 +43,15 @@ extends:
- checkout: self
submodules: recursive

- task: JavaToolInstaller@0
displayName: Set up Java
- task: Gradle@4
displayName: Build and Test SDK
inputs:
versionSpec: '17'
gradleWrapperFile: 'gradlew'
workingDirectory: '$(Build.SourcesDirectory)'
tasks: 'assemble test'
options: '--no-daemon -PGraphDeveloperExperiencesPublicPassword=$(ARTIFACTS_PAT)'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.17'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'

- script: chmod +x gradlew && ./gradlew assemble
displayName: Build SDK
workingDirectory: $(Build.SourcesDirectory)

- script: ./gradlew test
displayName: Run unit tests
workingDirectory: $(Build.SourcesDirectory)
20 changes: 18 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
id 'maven-publish'
id 'signing'
id 'jacoco'
id 'com.github.spotbugs' version '6.2.5'
id "org.sonarqube" version "7.2.2.6593"
id 'com.github.spotbugs' version '6.5.4'
id "org.sonarqube" version "7.3.0.8198"

}

Expand Down Expand Up @@ -69,6 +69,14 @@ sourceSets {
repositories {
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
maven {
url 'https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1'
name 'GraphDeveloperExperiencesPublic'
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}

apply from: "gradle/dependencies.gradle"
Expand Down Expand Up @@ -119,6 +127,14 @@ publishing {
name = "ADO"
url = layout.buildDirectory.dir("publishing-repository")
}
maven {
url 'https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1'
name 'GraphDeveloperExperiencesPublic'
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ mavenArtifactSuffix =
#enable mavenCentralPublishingEnabled to publish to maven central
mavenCentralSnapshotArtifactSuffix = -SNAPSHOT
mavenCentralPublishingEnabled=false

# Azure Artifacts CFS feed credentials
GraphDeveloperExperiencesPublicUsername=microsoftgraph
GraphDeveloperExperiencesPublicPassword=PERSONAL_ACCESS_TOKEN
15 changes: 15 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven {
url 'https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1'
name 'GraphDeveloperExperiencesPublic'
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}
}

/*
* This file was generated by the Gradle 'init' task.
*
Expand Down
Loading