forked from mrlan/EnglishPal
				
			修改测试文件中访问端口,删除jenkinsfile中不必要的阶段
							parent
							
								
									f475915ab6
								
							
						
					
					
						commit
						03446abe22
					
				|  | @ -9,11 +9,7 @@ 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 'cat ./app/static/wordfreqapp.sql | sqlite3 ./app/static/wordfreqapp.db' |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|         stage('BuildIt') { |         stage('BuildIt') { | ||||||
|             steps { |             steps { | ||||||
|                 echo 'Building..' |                 echo 'Building..' | ||||||
|  | @ -31,10 +27,6 @@ pipeline { | ||||||
|                 sh 'python3 -m pytest -v -s ./app/test' |                 sh 'python3 -m pytest -v -s ./app/test' | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         stage('DeployIt') { |       | ||||||
|             steps { |  | ||||||
|                 echo 'Deploying....' |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ import string | ||||||
| driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | ||||||
| driver.implicitly_wait(10) | driver.implicitly_wait(10) | ||||||
| 
 | 
 | ||||||
| HOME_PAGE = 'http://121.4.94.30:91/' | HOME_PAGE = 'http://121.4.94.30:5000/' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def has_punctuation(s): | def has_punctuation(s): | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ import string | ||||||
| driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | ||||||
| driver.implicitly_wait(10) | driver.implicitly_wait(10) | ||||||
| 
 | 
 | ||||||
| HOME_PAGE = 'http://121.4.94.30:91/' | HOME_PAGE = 'http://121.4.94.30:5000/' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def has_punctuation(s): | def has_punctuation(s): | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ import random, string | ||||||
| driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | ||||||
| driver.implicitly_wait(10) | driver.implicitly_wait(10) | ||||||
| 
 | 
 | ||||||
| HOME_PAGE = 'http://121.4.94.30:91/' | HOME_PAGE = 'http://121.4.94.30:4000/' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ import random, string, time | ||||||
| driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | ||||||
| driver.implicitly_wait(10) | driver.implicitly_wait(10) | ||||||
| 
 | 
 | ||||||
| HOME_PAGE = 'http://121.4.94.30:91/' | HOME_PAGE = 'http://121.4.94.30:5000/' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ import random, string | ||||||
| driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | driver = webdriver.Remote('http://localhost:4444/wd/hub', DesiredCapabilities.CHROME) | ||||||
| driver.implicitly_wait(10) | driver.implicitly_wait(10) | ||||||
| 
 | 
 | ||||||
| HOME_PAGE = 'http://121.4.94.30:91/' | HOME_PAGE = 'http://121.4.94.30:5000/' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue