fix: Add chmod +x for Maven wrapper in API Gateway workflow
Some checks failed
LabFusion CI/CD Pipeline / api-docs (push) Waiting to run
LabFusion CI/CD Pipeline / frontend (push) Waiting to run
Docker Build and Push / build-and-push (push) Failing after 33s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m53s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 5m7s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 14m46s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 15m6s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 26s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
Some checks failed
LabFusion CI/CD Pipeline / api-docs (push) Waiting to run
LabFusion CI/CD Pipeline / frontend (push) Waiting to run
Docker Build and Push / build-and-push (push) Failing after 33s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m53s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 5m7s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 14m46s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 15m6s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 26s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
- Add 'Make Maven wrapper executable' step to both test and build jobs - Fixes 'Permission denied' error when running ./mvnw commands - Ensures Maven wrapper has proper execute permissions in CI/CD pipeline
This commit is contained in:
@@ -36,6 +36,9 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: maven
|
cache: maven
|
||||||
|
|
||||||
|
- name: Make Maven wrapper executable
|
||||||
|
run: chmod +x ./mvnw
|
||||||
|
|
||||||
- name: Verify Maven installation
|
- name: Verify Maven installation
|
||||||
run: ./mvnw --version
|
run: ./mvnw --version
|
||||||
|
|
||||||
@@ -99,6 +102,9 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: maven
|
cache: maven
|
||||||
|
|
||||||
|
- name: Make Maven wrapper executable
|
||||||
|
run: chmod +x ./mvnw
|
||||||
|
|
||||||
- name: Verify Maven installation
|
- name: Verify Maven installation
|
||||||
run: ./mvnw --version
|
run: ./mvnw --version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user