Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretested checkout should fail if git is configured wrong #135

Open
zlepper opened this issue Aug 23, 2018 · 2 comments
Open

Pretested checkout should fail if git is configured wrong #135

zlepper opened this issue Aug 23, 2018 · 2 comments

Comments

@zlepper
Copy link

zlepper commented Aug 23, 2018

When Jenkins does the checkout so it can merge ready branches into the integration branch, it attempts to do a new commit. However if git credentials has not been configured on the server, this commit will fail with a message that tells the user to configure git user.name and user.email.

If this happens jenkins still proceed with the rest of the pipeline, instead of actually marking the stage failed. The rest of the pipeline will run successfully, until it attempts to push things back to git. Here Pretested will complain [PREINT] Build result not satisfied - skipped post-build step..

The main problem with this is that it can be extremely difficult to debug, as none of the previous stages apparently didn't fail, you have to read the log pretty closely to actually find the issue.

@bicschneider
Copy link
Contributor

@zlepper .. Thanks for the input .. Is this still relevant?

@zlepper
Copy link
Author

zlepper commented Nov 26, 2019

Honestly i have no clue.

I used Pretested as part of a school course with one of your consultants, and found this issue, and was told to report it here. So for my sake you can close it, I don't have any stakes in it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants