Create jenkinsfile

This commit is contained in:
sprientera992 2021-06-08 12:18:16 +03:00 committed by GitHub
parent e7c879ed3a
commit 51d75acadb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
jenkinsfile Normal file
View file

@ -0,0 +1,12 @@
pipeline {
agent slave1
stages {
stage ('Build') {
steps {
echo 'Running build automation'
sh './mvnw package'
sh 'java -jar target/*.jar'
}
}
}
}