Incremental releases show not up as GitHub action result anymore

29 views
Skip to first unread message

Ullrich Hafner

unread,
Jan 5, 2022, 11:39:25 AM1/5/22
to JenkinsCI Developers
Since a couple of days, incremental releases do not show up as GitHub action result anymore.
Is this a know problem in our infrastructure?

E.g.
Pull Request: https://github.com/jenkinsci/prism-api-plugin/pull/2

Available incrementals from this PR:
https://repo.jenkins-ci.org/incrementals/io/jenkins/plugins/prism-api

Latest commit with GitHub action result: aedfa8f
First commit without GitHub action result: bc0c623

I’m not sure if that started with commits in this year...

Tim Jacomb

unread,
Jan 5, 2022, 11:45:40 AM1/5/22
to Jenkins Developers

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/B6DC0454-CCC1-48B4-8A00-55D71F228292%40gmail.com.

Jesse Glick

unread,
Jan 5, 2022, 12:43:06 PM1/5/22
to jenkin...@googlegroups.com

Tim Jacomb

unread,
Jan 5, 2022, 12:55:59 PM1/5/22
to jenkin...@googlegroups.com
Ah right this was me, I downgraded the old Jenkins-admin users permissions from owner as I wanted to find if we still used it anywhere, it didn’t really make sense to have 2 bot users with owner permissions

Should either switch it to a GitHub app or change the user IMO to the other bot one 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.

Gavin Mogan

unread,
Jan 5, 2022, 1:11:33 PM1/5/22
to Jenkins Developers
oh good, it uses ocktokit
https://github.com/jenkins-infra/incrementals-publisher/blob/master/lib/github.js

The code to use an app for ocktokit is pretty straight forward.

import { createAppAuth } from '@octokit/auth-app';
async function getRestClientUncached() {
const { data: installations } = await createAppAuth({
appId: config.github.appId,
privateKey: config.github.privateKey,
}).hook(githubRequest.defaults({
baseUrl: config.github.server,
}), 'GET /app/installations');

return new Octokit({
baseUrl: config.github.server,
request: {
hook: createAppAuth({
appId: config.github.appId,
privateKey: config.github.privateKey,
installationId: installations[0].id,
}).hook,
},
});
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Biew8%2Be4_5%2B2Cd86-3UobTdhTkubHpst2mqgwebZ6oYCig%40mail.gmail.com.

Tim Jacomb

unread,
Jan 13, 2022, 11:56:44 AM1/13/22
to Jenkins Developers
Reply all
Reply to author
Forward
0 new messages