Example 1
resources:
- name: Image_1
type: Image
configuration:
registry: PSSG_DockerRegistry
imageName: docker/jfreq_win
imageTag: latest
pipelines:
- name: pipelines_Image_1
steps:
- name: step_Image_1
type: PowerShell
configuration:
nodePool: win_2019
inputResources:
- name: Image_1
execution:
onExecute:
- write_output "executing step..."
- if($Image_1_isTrigger -ne "true"){
Write-Error "Stop" -ErrorAction Stop
}Example 2
resources:
- name: Image_2
type: Image
configuration:
registry: s_artifactory
sourceRepository: docker-local
imageName: ubuntu
imageTag: latest
pipelines:
- name: pipelines_IMAGE_2
steps:
- name: step_IMAGE_2
type: PowerShell
configuration:
nodePool: win_2019
inputResources:
- name: Image_2
execution:
onExecute:
- write_output "executing step..."