forked from microsoft/vscode-gradle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix buildJars task (microsoft#1481) chore(deps): bump protobufjs from 7.2.4 to 7.2.6 in /npm-package (microsoft#1483) Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.4 to 7.2.6. - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md) - [Commits](protobufjs/protobuf.js@protobufjs-v7.2.4...protobufjs-v7.2.6) --- updated-dependencies: - dependency-name: protobufjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jinbo Wang <[email protected]> chore(deps-dev): bump protobufjs from 7.2.4 to 7.2.6 in /extension (microsoft#1482) Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.2.4 to 7.2.6. - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md) - [Commits](protobufjs/protobuf.js@protobufjs-v7.2.4...protobufjs-v7.2.6) --- updated-dependencies: - dependency-name: protobufjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jinbo Wang <[email protected]> chores: Add build server debug config (microsoft#1486) build: Update code sign task to v5 (microsoft#1488) refactor: Move Gradle Daemons implementation from Java into Typescript (microsoft#1489) Fix: Append the log message to build output if it's from compilation report. (microsoft#1490) - Store the id of the compilation task in an LRU cache. - Append the log message to the build output if it's from the compilation task. Signed-off-by: Sheng Chen <[email protected]> fix: set GradleExecution jdk use java.import.gradle.java.home (microsoft#1491) Refresh the output folders after build tasks (microsoft#1493) Signed-off-by: Sheng Chen <[email protected]> build: Update telemetry wrapper to 0.14.0 (microsoft#1495) chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /extension (microsoft#1496) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Extract api scan to a separate pipeline (microsoft#1498) build: Prepare for 3.14.0 (microsoft#1499) chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /npm-package (microsoft#1500) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> gradle server muti-thread fix- Fix the importer version and prepare for 3.14.1 (microsoft#1501) build - Update target platform (microsoft#1502) init named pipe impl muti-thread and named pipe for buildServer gradle server muti-thread fix- Fix the importer version and prepare for 3.14.1 (microsoft#1501) build - Update target platform (microsoft#1502) init named pipe test build Server named pipe connection test build Server named pipe connection update build/initialize sender finish forward message demo finish merge and named pipe implement polling solution Only send request after initialization (microsoft#1503) fix - Add java 22 to compatibility matrix (microsoft#1505) Introduce gson to simplify the object parsing (microsoft#1509) Signed-off-by: Sheng Chen <[email protected]> fix bug: buildServerHandler
- Loading branch information
Showing
52 changed files
with
1,667 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
name: $(Date:yyyyMMdd).$(Rev:r) | ||
resources: | ||
repositories: | ||
- repository: self | ||
type: git | ||
ref: refs/heads/main | ||
- repository: 1esPipelines | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
trigger: none | ||
pr: none | ||
extends: | ||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines | ||
parameters: | ||
pool: | ||
name: 1ES_JavaTooling_Pool | ||
image: 1ES_JavaTooling_Windows_2022 | ||
os: windows | ||
sdl: | ||
sourceAnalysisPool: | ||
name: 1ES_JavaTooling_Pool | ||
image: 1ES_JavaTooling_Windows_2022 | ||
os: windows | ||
spotBugs: | ||
enabled: false | ||
stages: | ||
- stage: Build | ||
jobs: | ||
- job: Job_1 | ||
displayName: VSCode-Gradle-API-SCAN | ||
templateContext: | ||
outputs: | ||
- output: pipelineArtifact | ||
artifactName: extension | ||
targetPath: $(Build.ArtifactStagingDirectory) | ||
displayName: "Publish Artifact: extension" | ||
steps: | ||
- checkout: self | ||
fetchTags: true | ||
- task: JavaToolInstaller@0 | ||
displayName: Install Java 11 | ||
inputs: | ||
versionSpec: '11' | ||
jdkArchitectureOption: 'x64' | ||
jdkSourceOption: 'PreInstalled' | ||
- task: NodeTool@0 | ||
displayName: Install Node 16.14.2 | ||
inputs: | ||
versionSpec: '16.14.2' | ||
- task: Gradle@2 | ||
displayName: Build | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
gradleOptions: '-Xmx3072m' | ||
tasks: 'build' | ||
- task: Gradle@2 | ||
displayName: PrepareForRelease | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
gradleOptions: '-Xmx3072m' | ||
tasks: 'prepareForRelease' | ||
- bash: chmod +x gradle-server | ||
workingDirectory: $(Build.SourcesDirectory)/extension/lib | ||
displayName: Set permission | ||
- task: DownloadBuildArtifacts@1 | ||
displayName: 'Download Build Server Artifacts' | ||
inputs: | ||
buildType: specific | ||
project: 'a4d27ce2-a42d-4b71-8eef-78cee9a9728e' | ||
pipeline: 16493 | ||
downloadType: specific | ||
extractTars: false | ||
- task: CopyFiles@2 | ||
displayName: 'Copy Build Server Artifacts' | ||
inputs: | ||
SourceFolder: '$(System.ArtifactsDirectory)/build-server/server/build/libs' | ||
Contents: '**' | ||
TargetFolder: $(Build.SourcesDirectory)/extension/server | ||
- task: JavaToolInstaller@0 | ||
displayName: Install Java 17 | ||
inputs: | ||
versionSpec: '17' | ||
jdkArchitectureOption: 'x64' | ||
jdkSourceOption: 'PreInstalled' | ||
- task: Gradle@2 | ||
displayName: Build | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
gradleOptions: '-Xmx3072m' | ||
tasks: ':extension:copyJdtlsPluginJar' | ||
- bash: npx @vscode/vsce@latest package | ||
workingDirectory: $(Build.SourcesDirectory)/extension | ||
displayName: Package VSIX | ||
- task: CopyFiles@2 | ||
displayName: "Copy Files for APIScan" | ||
inputs: | ||
Contents: "extension/*.vsix" | ||
TargetFolder: $(Agent.TempDirectory)/APIScanFiles | ||
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true')) | ||
### Run latest version of APIScan listed at https://www.1eswiki.com/wiki/APIScan_Build_Task | ||
- task: APIScan@2 | ||
displayName: Run APIScan | ||
inputs: | ||
softwareFolder: $(Agent.TempDirectory)/APIScanFiles | ||
softwareName: "vscode-gradle" | ||
softwareVersionNum: "$(Build.BuildId)" | ||
isLargeApp: false | ||
toolVersion: "Latest" | ||
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true')) | ||
env: | ||
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.