diff --git a/infrastructure/foundation/Jenkinsfile b/infrastructure/foundation/Jenkinsfile index 5d8c75e..d78dbf3 100644 --- a/infrastructure/foundation/Jenkinsfile +++ b/infrastructure/foundation/Jenkinsfile @@ -133,7 +133,7 @@ pipeline { // Verify Terraform is available sh ''' echo "✅ Checking for Terraform..." - if ! command -v terraform &> /dev/null; then + if command -v terraform > /dev/null 2>&1; then echo "❌ Terraform not found. Please install Terraform ${TF_VERSION}" exit 1 fi