Skip to content

Commit b1e0a9a

Browse files
committed
Add test-job to see what happens when verify job fails
1 parent 9df1556 commit b1e0a9a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.gitlab-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,17 @@ verify_maven_central_deployment:
923923
exit 1
924924
fi
925925
done
926+
# TODO: remove this
927+
echo "The job was successful, but what does test-job do if this job fails?"
928+
exit 1
929+
930+
test-job:
931+
stage: publish
932+
needs:
933+
- job: verify_maven_central_deployment
934+
optional: true
935+
script:
936+
- echo "Hello, world!"
926937

927938
# publishing-gate:
928939
# needs:

0 commit comments

Comments
 (0)