From 16c96886d788363787ce8e8f1ea79bd418e82ff4 Mon Sep 17 00:00:00 2001 From: Kirti99bafna <110446847+Kirti99bafna@users.noreply.github.com> Date: Mon, 22 Aug 2022 16:36:50 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index db8d3f5..26afcb4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,28 +1,11 @@ -pipeline { - - agent any - - stages { - - stage('Install Dependencies') { - steps { - sh 'npm install' - } - } - - stage('Test') { - steps { - sh 'echo "testing application..."' +pipeline { + agent any + tools{ + maven 'maven' + stages{ + stage("build"){ + steps } - } - - stage("Deploy nodejs application") { - steps { - sh 'echo "deploying application..."' - } - - } - - } + } +} - } \ No newline at end of file