diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..64577c16 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,30 @@ +pipeline { + agent any + + tools { + maven 'Maven 3.6.3' + } + + stages { + stage('build') { + steps { + echo 'compiling sysfoo app' + sh 'mvn compile' + } + } + + stage('test') { + steps { + echo 'compunit testiling sysfoo app' + sh 'mvn clean test' + } + } + + stage('package') { + steps { + echo 'package sysfoo app' + sh 'mvn package -DskipTests' + } + } + } +}