Skip to content

Commit

Permalink
pipeline.groovy: Do not fail if no Deprecation Warning has been detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Spredzy committed Aug 11, 2019
1 parent 289f765 commit 7c3e4d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions provisioner/tests/pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ${AWX_NIGHTLY_REPO_URL}"""
}
archiveArtifacts artifacts: 'rhel.log'
RHEL_DEPRECATED_WARNINGS = sh(
script: 'grep -c \'DEPRECATION WARNING\' rhel.log',
script: 'grep -c \'DEPRECATION WARNING\' rhel.log || true',
returnStdout: true
).trim()
}
Expand Down Expand Up @@ -143,7 +143,7 @@ ${AWX_NIGHTLY_REPO_URL}"""
}
archiveArtifacts artifacts: 'networking.log'
NETWORKING_DEPRECATED_WARNINGS = sh(
script: 'grep -c \'DEPRECATION WARNING\' networking.log',
script: 'grep -c \'DEPRECATION WARNING\' networking.log || true',
returnStdout: true
).trim()
}
Expand Down Expand Up @@ -187,7 +187,7 @@ ${AWX_NIGHTLY_REPO_URL}"""
}
archiveArtifacts artifacts: 'f5.log'
F5_DEPRECATED_WARNINGS = sh(
script: 'grep -c \'DEPRECATION WARNING\' f5.log',
script: 'grep -c \'DEPRECATION WARNING\' f5.log || true',
returnStdout: true
).trim()
}
Expand Down

0 comments on commit 7c3e4d0

Please sign in to comment.