From 2e7b6ec891bbc10b1cd08a0ebcf470eb4b5d5665 Mon Sep 17 00:00:00 2001 From: Brady-Malott <55215446+Brady-Malott@users.noreply.github.com> Date: Fri, 17 Feb 2023 00:22:43 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d987a89..a917524 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,9 @@ -node { - checkout scm - - def customImage = docker.build("microblog:latest") +pipeline { + agent any + + stages { + stage('Build') { + sh 'docker build -t microblog:latest .' + } + } }