Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

ci implementaion #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cat <<-'JENKINSFILE' > Jenkinsfile
pipeline {
agent{
docker {
image 'python: 3.7.2'
}
stages{
stage('build'){
steps{
sh 'python --version'
sh 'pip install -r requirements/dev.txt'
}
}
stage('test'){
steps {
sh flask test

}
}
stage('Git merge'){
steps {
git checkout master
git merge dev
git checkout dev

}
}
}
}
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ database tables and perform the initial migration ::

flask db init
flask db migrate

edited to test multibranch
flask db upgrade

To run the web application use::
Expand Down Expand Up @@ -81,3 +83,6 @@ This will generate a new migration script. Then run ::
To apply the migration.

For a full migration command reference, run ``flask db --help``.


still editing