From b93785727d19c2a8e096b3945db01b43800dc145 Mon Sep 17 00:00:00 2001 From: VINOD <96103074+vinodalam@users.noreply.github.com> Date: Thu, 25 May 2023 17:16:58 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 212f0679..b95ed3c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,18 +1,5 @@ -pipeline { - agent{ - node{ - label "java_slave" - } - } - environment { - PATH = "/opt/maven/bin:$PATH" - } - stages{ - stage("build code"){ - steps{ - sh 'mvn clean install' - } - +node{ + stage("vinod"){ + git 'https://github.com/ravdy/java-app.git' } } -}