we are using XL Release task: ‘XL Deploy CI - Create CI’ to create configuration item, we would like create a shell script, so that’s why specify ‘CI ID’ with ‘Applications/test/test/3.5/scripts’ and ‘CI Type’ with ‘script.Script’.
I understand we need specify ‘XML Descriptor’ as well, due to without it, it will prompt error:
Exception during execution:
javax.script.ScriptException: Exception: Failed to create ci [Applications/test/test/3.5/scripts]. Server return , with content [Artifacts need to have either a fileUri set or an uploaded file] in at line number 3
Seems like need specify fileUri in ‘XML Descriptor’.
So would like to know:
- how to specify fileUri in ‘XML Descriptor’
- due to this is shell script, can I upload into XL release template property as attachment and refer it in ‘XML Descriptor’?