dbaghdanov
04/18/2019, 3:51 PMdeploy.xml
needs to have both a <files>
and <objects>
. Sometimes I want to deploy one xor the other. My work around has been to include an empty folder: <path>~/Objects/EmptyObjects/*</path>
😕Albert Margarit (NS Eng Lead)
04/18/2019, 3:59 PMAlbert Margarit (NS Eng Lead)
04/18/2019, 4:00 PMTJ Tyrrell
04/18/2019, 4:04 PMdbaghdanov
04/18/2019, 4:08 PM<deploy>
<files>
<path>~/FileCabinet/SuiteScripts/some-script.js</path>
</files>
</deploy>
this is what throws an error:
<deploy>
<files>
<path>~/FileCabinet/SuiteScripts/some-script.js</path>
</files>
<objects>
</objects>
</deploy>
*** ERROR ***
Validation failed.
An error occurred during deploy file validation.
Details: The deploy file is invalid. The group must have at least 1 step : The group must have at least 1 step
---- Debugging information ----
message : The group must have at least 1 step
cause-exception : java.lang.RuntimeException
cause-message : The group must have at least 1 step
class : com.netledger.app.suiteapp.devframework.xml.container.XmlDeployFile
required-type : com.netledger.app.suiteapp.devframework.xml.container.XmlDeployFile
converter-type : com.netledger.app.suiteapp.devframework.xml.converter.XmlDeployFileConverter
path : /deploy/objects
version : 1.4.8
-------------------------------
File: ~/deploy.xml
Albert Margarit (NS Eng Lead)
04/18/2019, 4:08 PMAlbert Margarit (NS Eng Lead)
04/18/2019, 4:09 PMdbaghdanov
04/18/2019, 4:09 PMAlbert Margarit (NS Eng Lead)
04/18/2019, 4:32 PM