-
Notifications
You must be signed in to change notification settings - Fork 28
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
Possibility Of Specifying Credentials #187
Comments
Hi @timja thanks for linking those additional open links - I'll can go ahead and close this to avoid the spam 😄 if you'd like? Would you think a setup like this could be nested underneath the GitHub Org based project? Still leveraging the GitHub Credentials that weren't based around the app, so that pull-request comments could trigger builds as well as just leveraging the base PR builds? I've been trying to wrap my head around how to best take a JobDSL project and say that it belongs to the GitHub Organization based project. I do really like the frame of thought that the GitHub App credentials allows for 5000-ish / a much-higher API limit than that of pure credentials - but I'm also curious if both GitHub App and GitHub Credentials can be used in conjunction as well as the syntax for structuring the pipelines as something to allow for all entities to be under the GitHub Org (including Jenkinsfile based project - but other jobs defined by JobDSL). As we'd want to have the Configuration as Code Plugin to be able to initially create the jobs if needed that are under that Org + creating that org. Thanks again for all the insight/help! |
Yes although it doesn't have to be in a GitHub org project.
I think you can use this plugin: |
Describe your use-case which is not covered by existing documentation.
Hi there,
I was wondering if there is the possibility of specifying the credentials for junit when it publishes to GitHub Checks?
Since the project is maybe not "org" based but knowing that - using my setup GitHub App Credential:
In the
withCredentials
block on the pipeline -> stages -> stage -> steps.I know that I'm capable of making a raw
curl -X POST
to https://api.github.com/repos/-usr-/repo/check-runsIs there anyway to inject credentials into:
I guess the use-case is right now - that a Jenkinsfile - builds a JobDSL based "pipelineJob" - that then that injects a basic declaritive pipeline script .groovy.
The triggers are setup on the JobDSL based Groovy file, with githubPullRequest -> since this is all outside of an Organization folder - I'm just wondering if selecting the credential to use could be a stand-in segway.
Thanks for any info / help / insight!
I really appreciate it all!
I also really appreciate that there is the ability to pulbish your junit results out to GitHub Checks, I think it's fantastic not having to head over to Jenkins to see the failures of the tests but instead have the tests runs propegeate to the Checks tab in GitHub.
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response
The text was updated successfully, but these errors were encountered: