Skip to content
Snippets Groups Projects
Commit e0dbc6e4 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Add new file

parent 6d61c2d0
No related branches found
No related tags found
No related merge requests found
node {
try {
stage('Checkout') {
checkout scm
}
stage('Test'){
sh """
virtualenv --python=python2.7 env
. env/bin/activate
pip install -r requirements.txt
pip install selenium
cp lmtweb/local_settings_sample.py lmtweb/local_settings.py
./manage.py collectstatic
#./manage.py test lmtweb.tests.MySeleniumTests.test_login
#./manage.py test
"""
}
stage 'Build'
}
catch (err) {
throw err
}
finally {
sh """
rm -rf static
"""
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment