bmoers / sn-cicd

CICD Server for Service-Now
GNU Lesser General Public License v3.0
44 stars 35 forks source link

Suport custom domains #31

Closed bmoers closed 4 years ago

bmoers commented 4 years ago

The CICD process does not support "custom urls" - environment must be running under the "service-now.com" domain.

Replace hardcoded ".service-now.com" with ENV var as discussed here https://github.com/bmoers/sn-cicd/issues/30#issuecomment-616701410

bmoers commented 4 years ago

change https://github.com/bmoers/sn-cicd-integration/blob/81407229cc645228e718e7e69477e6c6ae19df6c/script_include/CiCdDeploy.js#L343 to targetMatch[2] !== targetMatch[1]

replace 'service-now.com' with a new env var https://github.com/bmoers/sn-cicd-example/blob/292c1b595f10a4394001e670093ac99c402fcfa0/cicd.js#L90

bmoers commented 4 years ago

Option available in https://github.com/bmoers/sn-cicd-integration/releases/tag/v1.4.9