Fix module name in CI/CD build

This commit is contained in:
Mahmoud Ben Hassine
2023-12-12 09:45:23 +01:00
parent 96dbbf364b
commit ac9c9bcb5c

View File

@@ -42,8 +42,8 @@ jobs:
- name: Build the project and Deploy to Artifactory
run: |
jf gradle build install artifactoryPublish -x test
jf rt upload spring-batch-infrastructure/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-infrastructure/$PROJECT_VERSION/spring-batch-infrastructure-$PROJECT_VERSION.pom --module spring-batch-infrastructure
jf rt upload spring-batch-core/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-core/$PROJECT_VERSION/spring-batch-core-$PROJECT_VERSION.pom --module spring-batch-core
jf rt upload spring-batch-test/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-test/$PROJECT_VERSION/spring-batch-test-$PROJECT_VERSION.pom --module spring-batch-test
jf rt upload spring-batch-integration/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-integration/$PROJECT_VERSION/spring-batch-integration-$PROJECT_VERSION.pom --module spring-batch-integration
jf rt upload spring-batch-infrastructure/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-infrastructure/$PROJECT_VERSION/spring-batch-infrastructure-$PROJECT_VERSION.pom --module org.springframework.batch:spring-batch-infrastructure:$PROJECT_VERSION
jf rt upload spring-batch-core/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-core/$PROJECT_VERSION/spring-batch-core-$PROJECT_VERSION.pom --module org.springframework.batch:spring-batch-core:$PROJECT_VERSION
jf rt upload spring-batch-test/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-test/$PROJECT_VERSION/spring-batch-test-$PROJECT_VERSION.pom --module org.springframework.batch:spring-batch-test:$PROJECT_VERSION
jf rt upload spring-batch-integration/build/poms/pom-default.xml libs-snapshot-local/org/springframework/batch/spring-batch-integration/$PROJECT_VERSION/spring-batch-integration-$PROJECT_VERSION.pom --module org.springframework.batch:spring-batch-integration:$PROJECT_VERSION
jf rt build-publish