Getting error - tput: No value for $TERM

Hey,

I’m getting the following error when running my script:

#!/bin/bash -eo pipefail
./scripts/ci_deploy.sh
tput: No value for $TERM and no -T specified

The script by itself is simple

#!/usr/bin/env bash
set -Eeo pipefail

branch_name=$(git branch | grep \* | cut -d ' ' -f2)
./scripts/deploy.sh --encrypted-file credentials_integration.enc --stage integration-${branch_name} --region eu-west-1
./scripts/remove.sh --stage integration-${branch_name} --region eu-west-1

I added -l to the to the shell option, e.g. shell: /bin/bash -eo pipefail -l does not help.
I’m using version 2.1

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.