From 12ca4a1106bcc750fc081599bf53b2732136e7e9 Mon Sep 17 00:00:00 2001 From: Bryan Parry <bparry02@gmail.com> Date: Wed, 02 May 2018 23:46:05 +0200 Subject: [PATCH] Set nexus hostname using oc route command --- 2-attack-of-the-pipelines/README.md | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/2-attack-of-the-pipelines/README.md b/2-attack-of-the-pipelines/README.md index 4a5ce91..5206fb7 100644 --- a/2-attack-of-the-pipelines/README.md +++ b/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 ``` -- Gitblit v1.9.3