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