修改jenkinsfile,恢复makedatafile阶段

pull/1/head
张小飞 2021-06-09 20:28:41 +08:00
parent f44a4ce90f
commit 72b5162a42
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -9,6 +9,12 @@ pipeline {
checkout([$class: 'GitSCM', branches: [[name: '*/SPM-Spring2021-2599-张小飞201831990641']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '15b0474b-b8eb-4574-9506-464f19a2b33e', url: 'https://github.com/lanlab-org/EnglishPal.git']]])
}
}
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'
}
}
stage('BuildIt') {
steps {