Skip to content

Commit

Permalink
Create Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiswaladi246 authored Jun 1, 2024
1 parent d9cd513 commit 99425f8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
pipeline {
agent any

tools {
jdk 'jdk17'
maven 'maven3'
}

stages {
stage('Compile') {
steps {
sh 'mvn compile'
}
}

stage('Test') {
steps {
sh 'mvn test'
}
}

stage('Build') {
steps {
sh 'mvn package'
}
}
}
}

0 comments on commit 99425f8

Please sign in to comment.