summaryrefslogtreecommitdiff
path: root/test/asset/shell
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-12-13 21:39:15 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-12-16 21:57:05 +0100
commitabcb6bf31ff9c86c4c1f3edf0b184dae8159f812 (patch)
tree80b362f5f93b716ce90ad9d8339ff028b6a87f5a /test/asset/shell
parentaecba79be823cdcf5d48042f84adfe46c209f109 (diff)
Prepare used artifacts within the prepareJob functionHEADmaster
Changelog: Prepare used artifacts for the `shell` command
Diffstat (limited to 'test/asset/shell')
-rw-r--r--test/asset/shell/minici.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/asset/shell/minici.yaml b/test/asset/shell/minici.yaml
new file mode 100644
index 0000000..b980161
--- /dev/null
+++ b/test/asset/shell/minici.yaml
@@ -0,0 +1,28 @@
+repo r1:
+repo r2:
+
+job generate:
+ checkout: null
+
+ shell:
+ - echo "content 1" > f1
+ - mkdir -p dir
+ - echo "content 2" > dir/f2
+
+ artifact file:
+ path: f1
+
+ artifact dir:
+ path: dir
+
+
+job combine:
+ checkout:
+ - repo: r1
+ dest: d1
+ - repo: r2
+ dest: d2
+
+ uses:
+ - generate.file
+ - generate.dir