修改jenkinsfile不再执行删除数据库操作
parent
5d87bb8bae
commit
6bbc5839b7
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue