diff --git a/worker/Jenkinsfile b/worker/Jenkinsfile new file mode 100644 index 0000000000..127aa83fb5 --- /dev/null +++ b/worker/Jenkinsfile @@ -0,0 +1,34 @@ +pipeline { + agent any + + tools{ + maven 'Maven 3.6.1' + } + + + stages { + stage('build') { + steps { + echo 'Compile' + dir['worker'] { + sh 'mvn compile' + } + } + } + stage('test') { + steps { + echo 'Test' + } + } + stage('package') { + steps { + echo 'Package' + } + } + } + post { + always { + echo 'This pipeline is completed' + } + } +}