Adds README, Jenkinsfile and .gitignore
All checks were successful
EpicKnarvik97/KnarGUI/pipeline/head This commit looks good
KnarCraft/KnarGUI/pipeline/head This commit looks good

This commit is contained in:
2023-07-27 18:00:00 +02:00
parent d839955808
commit e3ea5a5340
3 changed files with 154 additions and 0 deletions

33
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,33 @@
pipeline {
agent any
tools {
jdk 'JDK17'
}
stages {
stage('Build') {
steps {
echo 'Building...'
sh 'mvn clean & mvn validate & mvn compile'
}
}
stage('Test') {
steps {
echo 'Testing...'
sh 'mvn test'
}
}
stage('Verify') {
steps {
echo 'Verifying...'
sh 'mvn verify -Dmaven.test.skip=true'
}
}
stage('Deploy') {
steps {
echo 'Deploying...'
sh 'mvn deploy -Dmaven.install.skip=true -Dmaven.test.skip=true'
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
}
}
}
}