Merge "Async/streaming gRPC client/server proto"
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..e9d6bf9
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,27 @@
+node ('build') {
+ stage 'Checkout cord repo'
+ m_url = 'https://gerrit.opencord.org/manifest'
+ checkout changelog: false, poll: false, scm [$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: m_url, quiet: true]
+
+ dir ('incubator/voltha') {
+ try {
+ stage 'Bring up voltha dev vm'
+ sh 'vagrant up voltha'
+
+ stage 'Build voltha'
+ sh 'vagrant ssh -c "cd /voltha && source env.sh && make fetch && make" voltha'
+
+ stage 'Bring up voltha containers'
+ sh 'vagrant ssh -c "cd /voltha && source env.sh && docker-compose -f compose/docker-compose-system-test.yml up -d" voltha'
+
+ currentBuild.result = 'SUCCESS'
+ step([$class: 'Mailer', recipients: 'cord-dev@opencord.org', sendToIndividuals: false])
+ } catch (err) {
+ currentBuild.result = 'FAILURE'
+ step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'cord-dev@opencord.org', sendToIndividuals: false])
+ } finally {
+ sh 'vagrant destroy -f voltha'
+ }
+ echo "RESULT: ${currentBuild.result}"
+ }
+}