jenkins mvn 打包 拷贝

引用


copy C:\danny\工作任务\20170815_2_package_dev_branch_with_dev_and_bank_war_with_different_config_file\dev\withholding-transaction\* %WORKSPACE%\withholding-transaction\src\main\resources\config\
cd %WORKSPACE%\withholding-transaction\
mvn clean package -Dmaven.test.skip=true


copy C:\danny\工作任务\20170815_2_package_dev_branch_with_dev_and_bank_war_with_different_config_file\dev\withholding-dbservice\* %WORKSPACE%\withholding-dbservice\src\main\resources\config\
cd %WORKSPACE%\withholding-dbservice\
mvn clean package -Dmaven.test.skip=true



拿bill v1.0.1版本

git checkout v1.0.1
copy C:\danny\工作任务\20170815_2_package_dev_branch_with_dev_and_bank_war_with_different_config_file\bank\withholding-bill\* %WORKSPACE%\src\main\resources\config
mvn package -Dmaven.test.skip=true



copy C:\danny\工作任务\20170815_2_package_dev_branch_with_dev_and_bank_war_with_different_config_file\dev\withholding-console\* C:\Users\dell\.jenkins\jobs\build-develop-branch-console\workspace\src\main\resources\config
mvn clean package -Dmaven.test.skip=true

猜你喜欢

转载自dannyhz.iteye.com/blog/2390475