Skip to content

Commit

Permalink
Fix to Jenkinsfile to enable running R tests in a Docker container (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiewior authored Jul 12, 2017
1 parent 3a698d4 commit ec57870
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ pipeline {
stage('Test R code') {
steps {
echo 'Testing R code....'
sh "cd R/tests && Rscript run_tests.R"
}
sh 'docker run -i --rm --network="host" -w="/tmp" -v $(pwd | sed "s|/var/jenkins_home|/data/home/jenkins|g")/R/tests:/tmp zsibio.ii.pw.edu.pl:50009/zsi-bio-toolset Rscript run_tests.R' }
post {
always {
junit '**R/tests/*.xml'
Expand Down

0 comments on commit ec57870

Please sign in to comment.