File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109109 cd $GITHUB_WORKSPACE/g11n-ws && ./gradlew build -x test
110110 cp $GITHUB_WORKSPACE/devops/deploy/i18n-service/Dockerfile $GITHUB_WORKSPACE/publish/
111111 cd $GITHUB_WORKSPACE/publish && ls
112- mv singleton-[0~9]* .jar i18n-service.jar && ls
112+ mv singleton-0.1.0 .jar i18n-service.jar && ls
113113 docker build -t singleton .
114114 docker run -d -p 8090:8090 --name singleton singleton
115115 docker ps
@@ -150,7 +150,7 @@ jobs:
150150 cd $GITHUB_WORKSPACE/g11n-ws && ./gradlew build -x test
151151 cp $GITHUB_WORKSPACE/devops/performancetest/Dockerfile $GITHUB_WORKSPACE/publish/
152152 cd $GITHUB_WORKSPACE/publish && ls
153- mv singleton-[0~9]* .jar i18n-service.jar && ls
153+ mv singleton-0.1.0 .jar i18n-service.jar && ls
154154 cp -r $GITHUB_WORKSPACE/devops/performancetest/resource/l10n l10n
155155 docker build -t singleton .
156156 docker run -d -p 8090:8090 --name singleton singleton
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ task copyLibs(type :Copy, dependsOn: bootJar) {
136136task zipSingletonScripts (type : Zip ,dependsOn : bootJar) {
137137 from " $rootDir /scripts/"
138138 destinationDirectory = file(" $rootDir /../publish/" )
139- archiveBaseName = ' singletonScripts'
139+ archiveBaseName = " singletonScripts- $b uildNumber "
140140}
141141
142142processResources {
@@ -251,11 +251,13 @@ if (project.hasProperty('datatype') && (project.getProperty('datatype') == 'pgdb
251251**/
252252task sourcesJar (type : Jar , dependsOn : classes) {
253253 archiveClassifier = ' sources'
254+ archiveBaseName = " singleton-$buildNumber "
254255 from sourceSets. main. allJava
255256}
256257
257258task javadocJar (type : Jar , dependsOn : javadoc) {
258259 archiveClassifier = ' javadoc'
260+ archiveBaseName = " singleton-$buildNumber "
259261 from javadoc. destinationDir
260262}
261263
You can’t perform that action at this time.
0 commit comments