diff --git a/Jenkinsfile b/Jenkinsfile index 8b88114..fa4f5f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,13 +28,17 @@ pipeline { } } } + } + node { stage('Create contexts') { steps { sh 'docker context ls | grep pi502 || docker context create pi502 --docker "host=ssh://pi502.in.thelinuxpro.net"' - } - } + } + } + } + node { stage('Start container') { steps { script {