X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=Jenkinsfile;fp=Jenkinsfile;h=a8161fc79c63f1fd7cd8ed282436ef726f0c2b27;hb=aaf2df8b908fcb48043d2cd51803d8fd99f18b43;hp=0000000000000000000000000000000000000000;hpb=6ec9a9ce6c1062efa99da501fe8c6ea116aebf6f;p=dmaap%2Fdatarouter.git diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..a8161fc7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +node { + // Get the maven tool. + // ** NOTE: This 'M3' maven tool must be configured + // ** in the Jenkins global configuration. + def mvnHome = tool 'M3' + sh "echo ${mvnHome}" + + + // Mark the code checkout 'stage'.... + stage 'Checkout' + // Get some code from a GitHub repository + checkout scm + + // Mark the code build 'stage'.... + stage 'Build DMAAP-DR' + // Run the maven build + //sh for unix bat for windows + + sh "${mvnHome}/bin/mvn -f datarouter-prov/pom.xml clean deploy" + sh "${mvnHome}/bin/mvn -f datarouter-node/pom.xml clean deploy" + + + +}