From e923514de48c775453cea6ef525e7c5c53ceff62 Mon Sep 17 00:00:00 2001
From: Donal Spring <donalspring@gmail.com>
Date: Wed, 09 May 2018 16:23:19 +0200
Subject: [PATCH] Merge pull request #213 from bparry02/patch-2

---
 exercises/2-attack-of-the-pipelines/README.md |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exercises/2-attack-of-the-pipelines/README.md b/exercises/2-attack-of-the-pipelines/README.md
index 7151f62..dfcade9 100644
--- a/exercises/2-attack-of-the-pipelines/README.md
+++ b/exercises/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