nishio-dens / bitbucket-pullrequest-builder-plugin

Bitbucket Pull Request Builder Plugin for Jenkins
Other
125 stars 145 forks source link

Replace 'TTP build flag [bid:]' message with more meaningful one #204

Open jasdevsidhu12 opened 5 years ago

jasdevsidhu12 commented 5 years ago

How should I replace the message(picture below)'TTP build flag' to 'build fail' or 'build pass' image

CodeMonk commented 5 years ago

Sooo -- the build flag is not really saying pass or fail, it's saying that THAT particular commit has been built.

I'm pretty sure it gets added to the PR when the build STARTS, so that extra builds are not kicked off. The result (pass, fail, etc) is stored by atlassian somewhere in the build later.

But, I do agree that TPP build flag is awful. I'm happy to change that particular text to something more meaningful, like BitbucketPullRequestBuilder: build:

jasdevsidhu12 commented 5 years ago

Thank you for the reply @CodeMonk ,

Yeah I would love to have the message "BitbucketPullRequestBuilder: build:" rather than "TTP build flag".

I just wish there was setting in the PR plugin to display the message back to the user in BitBucket PR comment section whether the build pass or fail.

CodeMonk commented 5 years ago

Yeah, you can make the builder approve the build, but there isn't really an option to add a comment.

CodeMonk commented 5 years ago

Tell ya what. I'm going to re-open this one to have the build flag configurable-ish, or at least change it.

Please open another issue about commenting with build results - I think that would be a nice enhancement.

ncarrier commented 4 years ago

Hello, Would it be possible to have a direct link to the actual job's build in the comment? That would allow to quickly check why a PR build failed.

And BTW, the hash should be that of the commit being built IIUC? That's weird, I can't find this hash in my project's history...