-
Notifications
You must be signed in to change notification settings - Fork 74
MLE-24892 Parameterizing image tags in Jenkinsfile #1855
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
Conversation
|
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ All files have valid copyright headers! |
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.
Pull Request Overview
This PR parameterizes MarkLogic image tags in the Jenkinsfile to enable dynamic specification of Docker images for regression testing, replacing hardcoded stage definitions with a flexible configuration approach.
Key changes:
- Introduced
MARKLOGIC_IMAGE_TAGSparameter for comma-delimited image tag specification - Replaced multiple hardcoded regression stages with a single parameterized stage that dynamically creates parallel test stages
- Removed commented-out reverse proxy regression stage
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jenkinsfile
Outdated
| steps { | ||
| script { | ||
| def imageTags = params.MARKLOGIC_IMAGE_TAGS.split(',') | ||
| def imagePrefix = 'ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/' def parallelStages = [:] |
Copilot
AI
Nov 18, 2025
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.
The line contains two variable declarations without proper separation. The def parallelStages = [:] declaration should be on its own line for better readability.
| def imagePrefix = 'ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/' def parallelStages = [:] | |
| def imagePrefix = 'ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/' | |
| def parallelStages = [:] |
Jenkinsfile
Outdated
| script { | ||
| def imageTags = params.MARKLOGIC_IMAGE_TAGS.split(',') | ||
| def imagePrefix = 'ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/' def parallelStages = [:] | ||
| imageTags.each { tag -> |
Copilot
AI
Nov 18, 2025
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.
Inconsistent indentation: lines 250-251 use tabs while line 252 appears to have extra indentation. Ensure consistent indentation throughout the script block.
| imageTags.each { tag -> | |
| imageTags.each { tag -> |
c0edbda to
ec9e8f6
Compare
No description provided.