修改jenkinsfile不再执行删除数据库操作

pull/1/head
张小飞 2021-05-29 21:20:53 +08:00
parent 5d87bb8bae
commit 6bbc5839b7
2 changed files with 1 additions and 5 deletions

5
.gitignore vendored
View File

@ -6,7 +6,4 @@ app/static/usr/*.jpg
app/static/img/
app/static/frequency/frequency_*.pickle
app/static/frequency/frequency.p
app/static/wordfreqapp.db
app/static/wordfreqapp.sql
app/static/donate-the-author.jpg
app/static/donate-the-author-hidden.jpg

1
Jenkinsfile vendored
View File

@ -11,7 +11,6 @@ pipeline {
}
stage('MakeDatabasefile') {
steps {
sh 'touch ./app/static/wordfreqapp.db && rm -f ./app/static/wordfreqapp.db'
sh 'cat ./app/static/wordfreqapp.sql | sqlite3 ./app/static/wordfreqapp.db'
}
}