Skip to content

Commit

Permalink
fixing jenkins tagged build bbtest
Browse files Browse the repository at this point in the history
  • Loading branch information
jancajthaml authored Jan 4, 2022
1 parent 45a50d6 commit 6d05811
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .jenkins/commit.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ pipeline {
returnStdout: true
).trim()
options = """
|-e IMAGE_VERSION=${env.VERSION}
|-e IMAGE_VERSION=amd64-${env.VERSION}
|-e UNIT_VERSION=${env.VERSION}
|-e CI=true
|--volumes-from=${cid}
|-v /var/run/docker.sock:/var/run/docker.sock:rw
|-v /var/lib/docker/containers:/var/lib/docker/containers:rw
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/perf.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pipeline {
returnStdout: true
).trim()
options = """
|-e IMAGE_VERSION=${params.VERSION}
|-e IMAGE_VERSION=amd64-${params.VERSION}
|-e UNIT_VERSION=${params.VERSION}
|-e MESSAGES_PUSHED=${params.MESSAGES_RELAYED}
|-e CI=true
Expand Down
2 changes: 1 addition & 1 deletion perf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

termios.tcsetattr(fd, termios.TCSANOW, new)

__TTY = sys.stdout.isatty() and str(os.environ.get('CI', 'false')) == 'true'
__TTY = str(os.environ.get('CI', 'false')) == 'true'

if not __TTY:
print()
Expand Down

0 comments on commit 6d05811

Please sign in to comment.