opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Commit skipping prints weird message #542

Closed michaelsauter closed 2 years ago

michaelsauter commented 2 years ago

When a commit instructs to skip CI (using e.g. [ci skip] in the message), the pod logs show the following message:

[INFO] Commit should be skipped: %!s(<nil>)

The nil comes from printing an error, which does not make sense in this context. We should rather print some kind of commit identifying information.

The bug has no effect on the functionality, everything works as expected, it just doesn't look right.