Skip to content

Commit

Permalink
Add jenkins job
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Oct 9, 2023
1 parent 02115fb commit d51090c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenkins/validate-artifacts/validate-artifacts.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pipeline {
println("The dictionary is empty.")
}

if(!url_paths) {
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 All @@ -139,7 +139,7 @@ pipeline {
stage('Validate a distribution'){
when {
expression {
version == ''
VERSION == ''
}
}
agent {
Expand Down Expand Up @@ -174,7 +174,7 @@ pipeline {
stage('Validate') {
when {
expression {
version
VERSION
}
}
agent {label agent_nodes["x64"] }
Expand Down

0 comments on commit d51090c

Please sign in to comment.