Skip to content

CI/CD Pipeline False Positives: import-dir Exits with Code 0 on Failures#474

Open
aniket866 wants to merge 1 commit into
microcks:masterfrom
aniket866:fix/Pipeline-False-Positives
Open

CI/CD Pipeline False Positives: import-dir Exits with Code 0 on Failures#474
aniket866 wants to merge 1 commit into
microcks:masterfrom
aniket866:fix/Pipeline-False-Positives

Conversation

@aniket866

Copy link
Copy Markdown
Contributor

Issue

graph TD
    A[Start import-dir] --> B[Scan Directory]
    B --> C[Import File 1: Success]
    B --> D[Import File 2: FAILED]
    C & D --> E[Display Results Summary]
    E --> F["Exit Status Code 0 (Success)"]
    F --> G["CI/CD pipeline reports green/success despite failures"]
Loading

Steps to Reproduce

  1. Run microcks import-dir ./specs where at least one spec has invalid content.
  2. The console displays ✗ Failed: ....
  3. Check the exit code of the process (echo $? or $LASTEXITCODE in PowerShell). It returns 0.

fixed: #473

@Harishrs2006 @lbroudoux
Please do review

Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>
@aniket866

Copy link
Copy Markdown
Contributor Author

@Vaishnav88sk do checkout this one too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI/CD Pipeline False Positives: import-dir Exits with Code 0 on Failures

1 participant