run some specs under new jenkins

closes CORE-3248

Change-Id: I2cdc3a875f5d58113941fa09f265b7c5298926fd
Reviewed-on: https://gerrit.instructure.com/206128
Tested-by: Jenkins
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2019-08-21 13:59:40 -06:00
parent 3f2d4131d2
commit 052fa33fd1
2 changed files with 2 additions and 3 deletions

View File

@ -39,8 +39,7 @@ pipeline {
sh 'printenv | sort'
sh 'build/new-jenkins/docker-compose-build-up.sh'
sh 'build/new-jenkins/docker-compose-create-migrate-database.sh'
// Todo: create script for rspec tests
// sh 'build/new-jenkins/rspec-tests.sh'
sh 'build/new-jenkins/rspec-tests.sh'
}
}

View File

@ -4,4 +4,4 @@
# spec_files=`find spec {gems,vendor}/plugins/*/spec_canvas -type f -name '*_spec.rb'|grep -v '/selenium/'|tr '\n' ' '`
# Todo: run the specs in spec_files
# docker-compose exec -T web bundle exec rspec -f doc --format html --out results.html spec_files
docker-compose exec -T web bundle exec rspec -f doc --format html --out results.html spec/lib/*_spec.rb