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: -
/opt/atlassian/pipelines/agent/build/src/utils.js:70
return new URL(pUrl).origin
^
TypeError: URL is not a constructor
at getHostFromUrl (/opt/atlassian/pipelines/agent/build/src/utils.js:70:10)
at Object.exports.main (/opt/atlassian/pipelines/agent/build/src/dcuMain.js:98:18)
at Object.<anonymous> (/opt/atlassian/pipelines/agent/build/dcuIndex.js:3:33)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
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'