Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Changed

### Fixed
- Fixed VIT0089530 ([#1392](https://github.com/opendevstack/ods-core/pull/1392))

## [4.13.0] - 2026-07-01
### Changed
Expand Down
6 changes: 6 additions & 0 deletions delete-components/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ def odsNamespace = env.ODS_NAMESPACE ?: 'ods'
def odsImageTag = env.ODS_IMAGE_TAG ?: 'latest'
def projectId = env.PROJECT_ID
def componentId = env.COMPONENT_ID.toLowerCase()
if (!(projectId ==~ /^[A-Za-z\d]+$/)) {
throw new IllegalArgumentException("Invalid projectId: ${projectId}")
}
if (!(componentId ==~ /^[A-Za-z\d\-]+$/)) {
throw new IllegalArgumentException("Invalid componentId: ${componentId}")
}

// Jenkins DeploymentConfig environment variables
def dockerRegistry
Expand Down
3 changes: 3 additions & 0 deletions delete-projects/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
def odsNamespace = env.ODS_NAMESPACE ?: 'ods'
def odsImageTag = env.ODS_IMAGE_TAG ?: 'latest'
def projectId = env.PROJECT_ID
if (!(projectId ==~ /^[A-Za-z\d]+$/)) {
throw new IllegalArgumentException("Invalid projectId: ${projectId}")
}

// Jenkins DeploymentConfig environment variables
def dockerRegistry
Expand Down
Loading