修改jenkinsfile,恢复makedatafile阶段
parent
f44a4ce90f
commit
72b5162a42
|
@ -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']]])
|
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') {
|
stage('BuildIt') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in New Issue