Skip to content

Commit 7df9349

Browse files
committed
Echo stage in one-pipeline script
1 parent eff6f46 commit 7df9349

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.one-pipeline.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ detect-secrets:
2020
skip: true
2121
script: |
2222
#!/usr/bin/env bash
23+
echo $STAGE
2324
2425
echo "Skipping detect-secrets as it's already run as part of code-compliance-checks"
2526
exit 0
@@ -98,6 +99,7 @@ deploy:
9899
image: icr.io/continuous-delivery/pipeline/pipeline-base-ubi:3.12
99100
script: |
100101
#!/usr/bin/env bash
102+
echo $STAGE
101103
102104
echo "Skipping deploy as it's already run as part of acceptance-test"
103105
exit 0
@@ -117,7 +119,6 @@ acceptance-test:
117119
image: icr.io/continuous-delivery/pipeline/pipeline-base-ubi:3.12
118120
script: |
119121
#!/usr/bin/env bash
120-
121122
echo $STAGE
122123
123124
PERIODIC_SCAN=$(get_env periodic-rescan)

0 commit comments

Comments
 (0)