Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Oct 7, 2025

Also formatted the file so it's pretty. Only functional change though is on line 181, which ensures that the stage still completes even if tests fail.

@rjrudin rjrudin requested a review from anu3990 as a code owner October 7, 2025 13:03
Copilot AI review requested due to automatic review settings October 7, 2025 13:03
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Copyright Validation Results
Total: 1 | Passed: 0 | Failed: 0 | Skipped: 1 | at: 2025-10-07 13:09:49 UTC | commit: 5f5cb31

⏭️ Skipped (Excluded) Files

  • Jenkinsfile

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a CI/CD pipeline issue where the test stage would fail the entire pipeline if tests failed, by adding || true to allow the stage to complete even with test failures. The file has also been reformatted for better readability.

  • Added || true to the test command to prevent pipeline failure on test failures
  • Reformatted Jenkinsfile with improved spacing and indentation
  • Added explanatory comment for the test execution

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Jenkinsfile Outdated
./gradlew clean build -x test
./gradlew cleanTest marklogic-client-api:test
// Run a sufficient number of tests to verify the PR.
Copy link

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation: this line uses tabs while the surrounding lines use spaces. Consider using consistent whitespace throughout the file.

Suggested change
// Run a sufficient number of tests to verify the PR.
// Run a sufficient number of tests to verify the PR.

Copilot uses AI. Check for mistakes.
Also formatted the file so it's pretty. Only functional change though is on line 181, which ensures that the stage still completes even if tests fail.
@rjrudin rjrudin force-pushed the feature/jenkins-fix branch from e82e9a8 to 5f5cb31 Compare October 7, 2025 13:09
@rjrudin rjrudin merged commit 2760447 into develop Oct 7, 2025
2 of 3 checks passed
@rjrudin rjrudin deleted the feature/jenkins-fix branch October 7, 2025 13:26
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.

2 participants