-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
967ce93
commit 78c8af2
Showing
3 changed files
with
54 additions
and
35 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,51 @@ | ||
# Trigger the build whenever `main` or `rel/*` is updated | ||
trigger: | ||
- main | ||
- rel/* | ||
|
||
pr: none # Disable PR trigger | ||
|
||
# Scheduled nightly build | ||
schedules: | ||
- cron: "0 0 * * *" | ||
displayName: Nightly scheduled build | ||
always: false # Don't rebuild if there haven't been changes | ||
branches: | ||
include: | ||
- main | ||
|
||
# The `resources` specify the location and version of the 1ES PT. | ||
resources: | ||
repositories: | ||
- repository: 1esPipelines | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
|
||
extends: | ||
# The pipeline extends the 1ES PT which will inject different SDL and compliance tasks. | ||
# For non-production pipelines, use "Unofficial" as defined below. | ||
# For productions pipelines, use "Official". | ||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines | ||
parameters: | ||
# Update the pool with your team's 1ES hosted pool. | ||
pool: | ||
name: Azure Pipelines # Name of your hosted pool | ||
image: windows-latest # Name of the image in your pool. If not specified, first image of the pool is used | ||
os: windows # OS of the image. Allowed values: windows, linux, macOS | ||
|
||
stages: | ||
- stage: Stage | ||
jobs: | ||
- job: HostJob | ||
# If the pipeline publishes artifacts, use `templateContext` to define the artifacts. | ||
# This will enable 1ES PT to run SDL analysis tools on the artifacts and then upload them. | ||
templateContext: | ||
outputs: | ||
- output: pipelineArtifact | ||
targetPath: $(System.DefaultWorkingDirectory)/Samples | ||
artifactName: artifactName | ||
# Define the steps that the pipeline will run. | ||
# In most cases, copy and paste the steps from the original pipeline. | ||
steps: | ||
- powershell: echo "Hello World from host" |
This file was deleted.
Oops, something went wrong.
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