pnkx-admin-mongo/script/service-NAS.bat

18 lines
1.8 KiB
Batchfile
Raw Normal View History

2024-01-13 13:29:20 +08:00
@echo off
cd ..
echo maven clean start...
"C:\Program Files\Java\jdk1.8.0_111\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\phy\1.pnkx\pnkx -Djansi.passthrough=true -Dmaven.home=D:\office\maven\apache-maven-3.5.3 -Dclassworlds.conf=D:\office\maven\apache-maven-3.5.3\bin\m2.conf "-Dmaven.ext.class.path=D:\office\IntelliJ IDEA 2023.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\office\IntelliJ IDEA 2023.2\lib\idea_rt.jar=52551:D:\office\IntelliJ IDEA 2023.2\bin" -Dfile.encoding=UTF-8 -classpath D:\office\maven\apache-maven-3.5.3\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2023.2 -s D:\office\maven\apache-maven-3.5.3\conf\settings.xml -Dmaven.repo.local=D:\office\maven\repository clean
echo maven package start...
"C:\Program Files\Java\jdk1.8.0_111\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\phy\1.pnkx\pnkx -Djansi.passthrough=true -Dmaven.home=D:\office\maven\apache-maven-3.5.3 -Dclassworlds.conf=D:\office\maven\apache-maven-3.5.3\bin\m2.conf "-Dmaven.ext.class.path=D:\office\IntelliJ IDEA 2023.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\office\IntelliJ IDEA 2023.2\lib\idea_rt.jar=52559:D:\office\IntelliJ IDEA 2023.2\bin" -Dfile.encoding=UTF-8 -classpath D:\office\maven\apache-maven-3.5.3\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2023.2 -s D:\office\maven\apache-maven-3.5.3\conf\settings.xml -Dmaven.repo.local=D:\office\maven\repository package
echo maven package finished!
echo upload start...
pscp -l admin -P 1022 -pw pnkx0501. "./pnkx-admin/target/pnkx-admin.jar" admin@pnkx.cloud:/share/CACHEDEV3_DATA/docker/pnkx-admin/pnkx-admin.jar
pscp -l admin -P 1022 -pw pnkx0501. "./pnkx-admin/src/main/docker/Dockerfile" admin@pnkx.cloud:/share/CACHEDEV3_DATA/docker/pnkx-admin/Dockerfile
echo upload finished!
pause