Skip to content

Commit b70aa2b

Browse files
committed
grab project name from env variable
1 parent e635f61 commit b70aa2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/canary/scripts/push_stats_to_cloudwatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def readXML_and_publish_metrics_to_cw():
2828

2929
# push to cloudwatch
3030
cw_client = boto3.client("cloudwatch")
31-
project_name = "CodeBuild-Run-All-Tests"
31+
project_name = os.getenv("PROJECT_NAME")
3232

3333
# Define the metric data
3434
metric_data = [

0 commit comments

Comments
 (0)