From 71d12a1f76b9773844b72a417296d7888f7d2aa5 Mon Sep 17 00:00:00 2001 From: Brady-Malott <55215446+Brady-Malott@users.noreply.github.com> Date: Mon, 13 Feb 2023 21:49:34 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 40da509..ea37cb6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,8 +4,10 @@ pipeline { stages { stage('Build') { steps { - sh 'echo building...' - sh 'docker run -p 5000:5000 microblog:latest' + node { + checkout scm + def customImage = docker.build("microblog:latest") + } } }