Donal Spring
2018-05-09 3b3bd415f0c25ba04d891bbb24d261103ce43a12
Merge pull request #213 from bparry02/patch-2

Set nexus hostname using oc route command
1 files modified
2 ■■■ changed files
2-attack-of-the-pipelines/README.md 2 ●●● patch | view | raw | blame | history
2-attack-of-the-pipelines/README.md
@@ -177,7 +177,7 @@
2. To prepare Nexus to host the binaries created by the frontend and backend builds we need to run a prepare-nexus script. Before we do this we need to export some variables change `<YOUR_NAME>` and `somedomain` accordingly.
```bash
export NEXUS_SERVICE_HOST=nexus-<YOUR_NAME>-ci-cd.apps.somedomain.com
export NEXUS_SERVICE_HOST=$(oc get route nexus --template='{{.spec.host}}' -n <YOUR_NAME>-ci-cd)
export NEXUS_SERVICE_PORT=80
npm run prepare-nexus
```