archiving voltha test results from voltha build
Change-Id: Ie92234314c48c6baccd17edb21a317317462b5ac
diff --git a/jjb/pipeline/voltha-atest-provisioning.groovy b/jjb/pipeline/voltha-atest-provisioning.groovy
index 433c6c5..81af6c4 100755
--- a/jjb/pipeline/voltha-atest-provisioning.groovy
+++ b/jjb/pipeline/voltha-atest-provisioning.groovy
@@ -72,7 +72,18 @@
unstableThreshold: 0]);
}
}
+ }
+ post {
+ always {
+ sh '''
+ cp $WORKSPACE/cord/incubator/voltha/tests/atests/common/*.log .
+ cp $WORKSPACE/cord/incubator/voltha/tests/atests/common/voltha_test_results/*.log .
+ sudo chown cord:cord $WORKSPACE/*log
+ '''
+ archiveArtifacts artifacts: '*.log'
+ step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "gdepatie@northforgeinc.com, kailash@opennetworking.org", sendToIndividuals: false])
+ }
}
}