代码拉取完成,页面将自动刷新
#!/bin/bash
version="`date +%m%d%H%M`"
#编译打包
"D:/Program Files/Java/jdk1.8.0_191/bin/java.exe" -Dmaven.multiModuleProjectDirectory=F:/project/InvoiceRecognizer "-Dmaven.home=C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/plugins/maven/lib/maven3" "-Dclassworlds.conf=C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/plugins/maven/lib/maven3/bin/m2.conf" "-Dmaven.ext.class.path=C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/plugins/maven/lib/maven-event-listener.jar" "-javaagent:C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/lib/idea_rt.jar=52453:C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/bin" -Dfile.encoding=UTF-8 -classpath "C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2020.1.3/plugins/maven/lib/maven3/boot/plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version2020.1.3 -s C:/Users/seven/.m2/settings.xml -Dmaven.repo.local=D:/maven/repository -DskipTests=true clean package
#制作镜像
docker build -t {harborHost}/library/ticket-web:$version ./target/ -f Dockerfile
#push到私有仓库
#docker push {harborHost}/library/ticket-web:$version
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。