Skip to content

Commit 6180035

Browse files
committed
Add test-job to see what happens when verify job fails
1 parent ac43e57 commit 6180035

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
@@ -924,6 +924,17 @@ verify_maven_central_deployment:
924924
exit 1
925925
fi
926926
done
927+
# TODO: remove this
928+
echo "The job was successful, but what does test-job do if this job fails?"
929+
exit 1
930+
931+
test-job:
932+
stage: publish
933+
needs:
934+
- job: verify_maven_central_deployment
935+
optional: true
936+
script:
937+
- echo "Hello, world!"
927938

928939
# publishing-gate:
929940
# needs:

0 commit comments

Comments
 (0)