Pipeline using Gerrit shows Warning, empty changelog. Have you run checkout?

586 views
Skip to first unread message

jimsearle

unread,
Feb 14, 2022, 5:13:42 PM2/14/22
to Jenkins Users

Our pipeline job using Gerrit was working, but the checkout area was removed so the next job run recreated it and now all runs show:

[Pipeline] echo Warning, empty changelog. Have you run checkout?

I've run a few changes thru with publish and submit but Jenkins keeps saying the changelog is empty.


jimsearle

unread,
Feb 16, 2022, 1:12:46 PM2/16/22
to Jenkins Users

We figured out this issue.  If the git URL used for the pipeline jenkinsFile and the checkout command in the jenkinsFile are exactly the same then we get the warning:
Pipeline] echo Warning, empty changelog. Have you run checkout?

By simply adding username@ to the url which matches the user name specified in the credentialsId in one of the checkouts the warning goes away and we see changes.

This seems like a bug to me? Where should it be reported?
Reply all
Reply to author
Forward
0 new messages