-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathletstestit.yml
39 lines (38 loc) · 1.2 KB
/
letstestit.yml
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
35
36
37
38
39
pipelines:
- name: testing_pipeline
steps:
- name: step1_testing
type: Bash
configuration:
integrations:
- name: art_v
execution:
onExecute:
- echo automation > test.sh
- add_run_files test.sh jfrog
- mkdir restore
- restore_run_files jfrog restore/test.sh
- cd restore && ls
- cat test.sh
- name: step2_testing
type: Bash
configuration:
integrations:
- name: art_v
inputSteps:
- name: step1_testing
execution:
onStart:
- mkdir restore_onstart_1
#- echo "#!/bin/bash -e" > get_files.sh
#- echo restore_run_files jfrog restore_onstart_1/test.sh > get_files.sh
#- cat get_files.sh
#- chmod +x get_files.sh && ./get_files.sh
- restore_run_files jfrog restore_onstart_1/test.sh
- cd restore_onstart_1 && ls
- cat test.sh
onExecute:
- mkdir restore_onexecute
- restore_run_files jfrog restore_onexecute/test.sh
- cd restore_onexecute && ls
- cat test.sh