Skip to content

Commit

Permalink
add changes
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Oct 10, 2023
1 parent c15521f commit f113451
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions jenkins/validate-artifacts/validate-artifacts.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,8 @@ pipeline {
currentBuild.result = 'ABORTED'
error("Provide OS_BUILD_NUMBER and OSD_BUILD_NUMBER args for Docker Validation")
}
echo "5"
echo "$url_paths"

if (!url_paths.isEmpty()) {
println("The dictionary is empty.")
}

if(url_paths.isEmpty()) {
echo "1"
ARCHITECTURE = url_paths.values().find { it.contains("x64") } ? "x64" : "arm64"
DISTRIBUTION = url_paths.values().find { it.contains("tar.gz") } ? "tar" : (url_paths.values().find { it.contains("rpm") } ? "rpm" : "yum")
}
Expand Down Expand Up @@ -230,9 +223,6 @@ pipeline {
stage("${local_distribution}") {
unstash "validate-artifacts-$BUILD_NUMBER"

validateArtifacts(
"file-path": "$url_paths"
)
validateArtifacts(
version: "$VERSION",
distribution: "${local_distribution}",
Expand Down

0 comments on commit f113451

Please sign in to comment.