diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..2caa2a2 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,33 @@ +pipeline { + agent any + stages { + stage('compile') { + steps { + sh 'mvn compile' + echo 'ddfhsdfksdf' + } + } + + stage('test') { + steps { + sh 'mvn clean test' + } + } + + stage('package') { + steps { + sh 'mvn package -DskipTests' + } + } + + stage('Archive') { + steps { + archiveArtifacts '**/target/*.jar' + } + } + + } + tools { + maven 'Maven 3.6.3' + } +} \ No newline at end of file diff --git a/README.md b/README.md index 6ae4ea5..13b1a41 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +Extra changes for testing # Sysfoo Application