From 22d231b9c1289ade866a9d19edb2d5318419d658 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Mon, 13 May 2024 09:23:10 -0400 Subject: [PATCH] contexts --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 82c6d3f..b727187 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,8 +28,8 @@ pipeline { } stage('Start secondary container') { steps { - sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose up -d --no-color secondary' - sh 'DOCKER_HOST="ssh://jenkins@pi502.in.thelinuxpro.net" docker compose ps' + sh 'docker --context pi502 compose up -d --no-color secondary' + sh 'docker --context pi502 compose ps' } } stage('test primary dns') {