Skip to content

Commit

Permalink
Merge pull request #2796 from cyberark/Version-logging
Browse files Browse the repository at this point in the history
CNJR-324: Log docker version in jenkins pipeline
  • Loading branch information
mFelgate authored May 16, 2023
2 parents dc559e8 + 5c0db80 commit 59df5c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ pipeline {
agent { label 'executor-v2-rhel-ee' }

steps {
sh(script: 'cat /etc/os-release', label: 'RHEL version')
sh(script: 'docker --version', label: 'Docker version')
unstash 'version_info'
// Catch errors so remaining steps always run.
catchError {
Expand Down Expand Up @@ -362,6 +364,8 @@ pipeline {
}

steps {
sh(script: 'cat /etc/os-release', label: 'RHEL version')
sh(script: 'docker --version', label: 'Docker version')
runConjurTests(params.RUN_ONLY)
}
}
Expand Down

0 comments on commit 59df5c2

Please sign in to comment.