From 9a0df6a9f51d4ca928ce529bb60161cb46a81df5 Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Tue, 29 Jan 2019 01:05:03 +1100 Subject: [PATCH] Added a test stage to the jenkins build. --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1bb877a3d..4f4683941 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,15 @@ pipeline { agent { dockerfile true } stages { - stage('build') { + stage('Build') { steps { sh 'cargo build' } } + stage('Test') { + steps { + sh 'cargo test --all' + } + } } }