pipeline commit
All checks were successful
kiz-shop-pipeline/pipeline/head This commit looks good

This commit is contained in:
2023-12-26 16:45:55 +09:00
parent fc62f98463
commit 4a150ff82d
4 changed files with 4 additions and 4 deletions

View File

@@ -10,5 +10,5 @@ RUN ./gradlew bootJar
FROM openjdk:17-alpine
COPY --from=builder build/libs/*.jar app.jar
EXPOSE 8090
EXPOSE 8083
ENTRYPOINT ["java", "-jar", "/app.jar"]

2
Jenkinsfile vendored
View File

@@ -98,7 +98,7 @@ pipeline {
script {
sh 'docker stop kiz-shop || true'
sh 'docker rm -f kiz-shop || true'
sh 'docker run -d -p 8090:8090 --name kiz-shop ' + imagename
sh 'docker run -d -p 60000:8083 --name kiz-shop ' + imagename
}
}
post {

View File

@@ -14,7 +14,7 @@ public class KizShopApplication {
}
@Bean
public WebMvcConfigurer corsConfigurer() {
WebMvcConfigurer corsConfigurer() {
return new WebMvcConfigurer() {
@Override
public void addCorsMappings(CorsRegistry registry) {

View File

@@ -14,7 +14,7 @@ spring:
ddl-auto: update
server:
port: 8090
port: 8083
management:
endpoints: