-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.yaml
34 lines (30 loc) · 1.09 KB
/
task.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: create_steplets
description: this task will add dynamic steplets to Dynamic Steps
source: https://github.com/jfrog/jfrog-pipelines-task
labels:
- task
- template
- dynamic
- steplets
- steps
input:
- name: step_names
description: Required input of comma separated step names for which steplets are to be created
- name: environment_variables
description: optional input variable to create steplet multipliers using environment variables
- name: nodePools
description: optional input variable to create steplet multipliers using nodePools variables
- name: runtimes
description: optional input variable to create steplet multipliers using runtimes variables
output:
- name: steplets
description: created steplets as part of the task
execution:
- bin/create_steplets-${JFROG_OPERATING_SYSTEM_FAMILY}-${JFROG_ARCHITECTURE}
hooks:
onStepSuccess:
- echo "Dynamic steplets created successfully for the given step"
onStepFailure:
- echo "Failed creating dynamic steplets for the given step"
onStepComplete:
- echo "injecting from task into step onComplete"