From 614b65285b30f0dbf866f3c627e9d0c7a558f121 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 13:28:50 -0700 Subject: [PATCH 1/3] chore: add DevOps build pipeline for S360 security vulnerability scanning Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .azurepipelines/build.yml diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml new file mode 100644 index 00000000..37c964f3 --- /dev/null +++ b/.azurepipelines/build.yml @@ -0,0 +1,47 @@ +trigger: none +pr: none + +schedules: + - cron: '0 0 * * 1,3' + displayName: Monday and Wednesday builds + branches: + include: + - main + always: true + +resources: + repositories: + - repository: 1ESPipelineTemplates + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + +extends: + template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates + parameters: + pool: + name: Azure-Pipelines-1ESPT-ExDShared + os: linux + stages: + - stage: Build + jobs: + - job: Build + displayName: Build Java Core SDK + steps: + - checkout: self + submodules: recursive + + - task: JavaToolInstaller@0 + displayName: Set up Java + inputs: + versionSpec: '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) From 46897c24346c18d1bc7875577aa7e32a8657d0b7 Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 14:47:51 -0700 Subject: [PATCH 2/3] chore: update build pipeline schedule to daily Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml index 37c964f3..14619a21 100644 --- a/.azurepipelines/build.yml +++ b/.azurepipelines/build.yml @@ -2,8 +2,8 @@ trigger: none pr: none schedules: - - cron: '0 0 * * 1,3' - displayName: Monday and Wednesday builds + - cron: '0 0 * * *' + displayName: Daily builds branches: include: - main From 2d4b2696c623685e95a36c138b618798460d0caf Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Thu, 14 May 2026 15:22:42 -0700 Subject: [PATCH 3/3] chore: enable SDL security scanning in build pipeline Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azurepipelines/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.azurepipelines/build.yml b/.azurepipelines/build.yml index 14619a21..885f89ee 100644 --- a/.azurepipelines/build.yml +++ b/.azurepipelines/build.yml @@ -22,6 +22,17 @@ extends: pool: name: Azure-Pipelines-1ESPT-ExDShared os: linux + sdl: + sourceAnalysisPool: + name: Azure-Pipelines-1ESPT-ExDShared + image: windows-2022 + os: windows + credscan: + enabled: true + policheck: + enabled: true + binskim: + enabled: true stages: - stage: Build jobs: