I am trying to transport file from bitbucket pipeline using (Oracle Commerce Cloud's- design code utility command) in bitbucket pipelines yml file throws the below error: -
<span>/opt/atlassian/pipelines/agent/build/src/utils.js:70</span><span> return new URL(pUrl).origin</span><span> ^</span><span>TypeError: URL is not a constructor</span><span> at getHostFromUrl (/opt/atlassian/pipelines/agent/build/src/utils.js:70:10)</span><span> at Object.exports.main (/opt/atlassian/pipelines/agent/build/src/dcuMain.js:98:18)</span><span> at Object.<anonymous> (/opt/atlassian/pipelines/agent/build/dcuIndex.js:3:33)</span><span> at Module._compile (module.js:570:32)</span><span> at Object.Module._extensions..js (module.js:579:10)</span><span> at Module.load (module.js:487:32)</span><span> at tryModuleLoad (module.js:446:12)</span><span> at Function.Module._load (module.js:438:3)</span><span> at Module.runMain (module.js:604:10)</span><span> at run (bootstrap_node.js:394:7)</span><span> at startup (bootstrap_node.js:149:9)</span><span> at bootstrap_node.js:509:3</span>
The DCU command i wrote in yml file is below: -
dcu -n https://ccadmin-z98a.oracleoutsourcing.com -k <appkey> -t 'widget\About Us\display.template'