Skip to content

Commit

Permalink
Test what happens if the vcs info file is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Apr 1, 2020
1 parent 0a98ea0 commit 87dfc1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/Jenkinsfile_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ kibanaPipeline(timeoutMinutes: 180) {
"TIME_STAMP=${timestamp}",
"QA_TEAM_ROCKS=true"
]) {
listVcsEnvVars()
// listAndCollectVcsEnvVars()

def vaultSecret = 'secret/kibana-issues/prod/coverage/elasticsearch'
withVaultSecret(secret: vaultSecret, secret_field: 'host', variable_name: 'HOST_FROM_VAULT') {
Expand All @@ -55,7 +55,7 @@ kibanaPipeline(timeoutMinutes: 180) {
echo "### Print vcs info file"
cat VCS_INFO.txt
cat VCS_INFO.txt || echo "### VCS Info file NOT found" && exit 1
Expand All @@ -80,7 +80,7 @@ kibanaPipeline(timeoutMinutes: 180) {
// kibanaPipeline.sendMail()
}

def listVcsEnvVars() {
def listAndCollectVcsEnvVars() {
kibanaPipeline.bash(
'''
Expand Down

0 comments on commit 87dfc1d

Please sign in to comment.