-
Notifications
You must be signed in to change notification settings - Fork 10
[WIP]match with the new jenkins configuration #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughRemoves commented Jenkins trigger XML from JenkinsXmlBuilder.buildJobXml (leaving an empty ) and replaces a Kubernetes/OpenShift Jenkinsfile agent block with a minimal Changes
Sequence Diagram(s)sequenceDiagram
participant Editor as Code Modifier
participant Jenkinsfile as Jenkinsfile source
participant Output as Modified Jenkinsfile
Note over Editor,Jenkinsfile: Agent replacement flow
Editor->>Jenkinsfile: locate Kubernetes/OpenShift agent block
Jenkinsfile-->>Editor: returns matched block
Editor->>Output: write minimal agent block\nagent { label 'tssc-jenkins-agent' }
Note right of Output: Removed dynamic pod/container configuration\nand image substitution
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Attention/extra review suggestions:
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/rhtap/modification/jenkinsfile.ts (1)
24-27: Tighten the replacement block formattingSwapping in a multi-line agent block without respecting indentation leaves the closing brace flush to column zero and adds trailing spaces on the label line. This harms Jenkinsfile readability and makes future maintenance noisy in reviews. Please keep the
{/}aligned with the existing four-space indent and drop the trailing spaces, e.g.agent {\n label 'tssc-jenkins-agent'\n }.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
src/api/jenkins/utils/jenkins.utils.ts(0 hunks)src/rhtap/modification/jenkinsfile.ts(1 hunks)
💤 Files with no reviewable changes (1)
- src/api/jenkins/utils/jenkins.utils.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Red Hat Konflux / tssc-test-on-pull-request
|
@xinredhat: The following test has Failed, say /retest to rerun failed tests.
Inspecting Test ArtifactsTo inspect your test artifacts, follow these steps:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/konflux-test-storage/rhtap-team/rhtap-cli:e2e-4.19-9qjv4Test results analysis<not enabled> OCI Artifact Browser URL<not enabled> |
This change is to match with the new Jenkins installation, see the README.md
Summary by CodeRabbit