File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ trigger : none
2+ pr : none
3+
4+ schedules :
5+ - cron : ' 0 0 * * *'
6+ displayName : Daily builds
7+ branches :
8+ include :
9+ - main
10+ always : true
11+
12+ resources :
13+ repositories :
14+ - repository : 1ESPipelineTemplates
15+ type : git
16+ name : 1ESPipelineTemplates/1ESPipelineTemplates
17+ ref : refs/tags/release
18+
19+ extends :
20+ template : v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
21+ parameters :
22+ pool :
23+ name : Azure-Pipelines-1ESPT-ExDShared
24+ os : linux
25+ sdl :
26+ sourceAnalysisPool :
27+ name : Azure-Pipelines-1ESPT-ExDShared
28+ image : windows-2022
29+ os : windows
30+ credscan :
31+ enabled : true
32+ policheck :
33+ enabled : true
34+ binskim :
35+ enabled : true
36+ stages :
37+ - stage : Build
38+ jobs :
39+ - job : Build
40+ displayName : Build Java Core SDK
41+ steps :
42+ - checkout : self
43+ submodules : recursive
44+
45+ - task : JavaToolInstaller@0
46+ displayName : Set up Java
47+ inputs :
48+ versionSpec : ' 17'
49+ jdkArchitectureOption : ' x64'
50+ jdkSourceOption : ' PreInstalled'
51+
52+ - script : chmod +x gradlew && ./gradlew assemble
53+ displayName : Build SDK
54+ workingDirectory : $(Build.SourcesDirectory)
55+
56+ - script : ./gradlew test
57+ displayName : Run unit tests
58+ workingDirectory : $(Build.SourcesDirectory)
You can’t perform that action at this time.
0 commit comments