Removed test, added example
This commit is contained in:
29
example.xml
Normal file
29
example.xml
Normal 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>
|
||||
Reference in New Issue
Block a user