This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package factorymethod | |
| import "fmt" | |
| type Pay interface { | |
| Pay(string) int | |
| } | |
| type PayReq struct { | |
| OrderId string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -d --name dump -v /data/output:/output mysql:5.7 tail -f /dev/null | |
| mysqldump -h 172.16.153.84 -P 32711 -u root -p --databases dk dk_resource_center ggg payment tkw tkw_resource_center vega vega_mtl_cache vega_resource_center walle yk yk_resource_center > /output/dbs.sql | |
| mysqldump -h 172.16.153.84 -P 32711 -u root -p --databases dk dk_resource_center ggg payment tkw tkw_resource_center vega vega_mtl_cache vega_resource_center walle yk yk_resource_center > /output/dk.sql | |
| mysqlimport -u root hellodb/tmp/classes2.sql | |
| mysql -u root -h 172.16.153.70 -P 3306 -p < dbs.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def getProjectName() { | |
| return 'JenkinsPipeline' | |
| } | |
| def getJDKVersion() { | |
| return 'jdk1.8.0_101' | |
| } | |
| def getMavenConfig() { | |
| return 'maven-config' |