Removed test, added example

This commit is contained in:
Flare Microsystems
2024-11-17 09:02:17 -08:00
parent c203506bed
commit 27d8991894
3 changed files with 29 additions and 54 deletions

29
example.xml Normal file
View File

@@ -0,0 +1,29 @@
<execution>
<environment>
<variable name="ENV_VAR">Variable Contents</variable>
</environment>
<!--Empty clone clones the whole workspace-->
<!--TODO Add <exclude> or add attribute 'mode' for selecting between blacklist or whitelist, in which <include> would be used-->
<!--I.E. blacklisting any directory matching ".git"-->
<clone />
<bat>
echo this could be a whole batch script or just one command
</bat>
<py>
print("this could be a whole python script or just one call")
</py>
<sh which="bash">
echo "this could be a whole sh script or just one command"
</sh>
<ps>
echo "this could be a whole powershell script or just one command"
</ps>
<artifacts>
<workspace>
<file>a/single/file</file>
<files resolver="regex">^a\/file\/with\/regex.*$</files>
<!--Not yet supported, will be default (resolver not specified)-->
<files resolver="wildcard">a/*/bunch/**/of/files.*</files>
</workspace>
</artifacts>
</execution>