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

More granular "@osrf-jenkins run tests" #278

Open
chapulina opened this issue Sep 16, 2020 · 2 comments
Open

More granular "@osrf-jenkins run tests" #278

chapulina opened this issue Sep 16, 2020 · 2 comments

Comments

@chapulina
Copy link
Contributor

Commenting "@osrf-jenkins run tests" on a pull request will retrigger all available Jenkins jobs for that branch. But often, we only really need to trigger one of them, but end up triggering all for convenience.

It would be nice to support something like "@osrf-jenkins run linux tests"

@scpeters
Copy link
Contributor

the GitHub pull request builder plugin provides the full test of any comments that trigger a build in the ghprbCommentBody parameter; see the following for example:

So it should be straightforward to parse commands from the comment text. I'm not sure how to change which jobs are triggered, since that logic is defined at job creation in the following file:

Maybe we need to set up each job separately instead of using OSRFCIWorkFlowMultiAnyGitHub? Then we could add custom trigger phrases for each job.

@chapulina
Copy link
Contributor Author

I learned this week that if I click Retry instead of Rebuild on a Jenkins build, the GitHub checks get updated automatically. So for now this is a good temporary solution for me.

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