diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..41732bdcc7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +//Declarative script + +pipeline{ + agent any + tools { + maven "maven3.8.4" + } + stages{ + stage('GitClone'){ + steps{ + sh"echo cloning the latest application version" + git "https://github.com/colinfuanjia/hello-world" + } + } + stage('TestBuild'){ + steps{ + sh"echo running UnitTesting" + sh "mvn package" + } + } + } + }