Skip to content

chore: address all Jenkins hosting checker requirements#1

Merged
saurabh-oss merged 1 commit intomainfrom
jenkins-hosting-compliance
Apr 16, 2026
Merged

chore: address all Jenkins hosting checker requirements#1
saurabh-oss merged 1 commit intomainfrom
jenkins-hosting-compliance

Conversation

@saurabh-oss
Copy link
Copy Markdown
Owner

pom.xml:

  • Bump parent pom to 6.2152.ve00a_731c3ce9 (was 4.80)
  • Change groupId to io.jenkins.plugins (was io.forgeai.jenkins)
  • Adopt CD versioning: version=${changelist}, changelist=999999-SNAPSHOT
  • Define jenkins.baseline=2.528; jenkins.version=${jenkins.baseline}.3
  • Switch BOM to bom-${jenkins.baseline}.x @ 6269.v7a_159d68a_366
  • Replace bundled okhttp3/gson with okhttp-api/gson-api Jenkins plugins
  • Add hpi.strictBundledArtifacts=true, ban-commons-lang-2.skip=false
  • Remove redundant compiler/java.level properties and block
  • Add ${scmTag} for CD release tagging

New files:

  • Jenkinsfile: standard buildPlugin() for ci.jenkins.io
  • .mvn/maven.config + .mvn/extensions.xml: incremental CD support
  • .github/workflows/jenkins-security-scan.yml
  • .github/workflows/cd.yaml: continuous delivery workflow
  • .github/CODEOWNERS: assigns jenkinsci plugin-developers team
  • .github/renovate.json: automated dependency updates

Security (Jenkins security scan findings):

  • ForgeAIGlobalConfiguration: add @post + Jenkins.ADMINISTER permission checks to doCheckLlmEndpoint, doCheckModelId, doTestConnection, and doFillApiKeyCredentialIdItems (Stapler CSRF / missing permission check)
  • AnthropicProvider, OpenAICompatibleProvider: store API key as hudson.util.Secret instead of plain String (plaintext password storage)

pom.xml:
- Bump parent pom to 6.2152.ve00a_731c3ce9 (was 4.80)
- Change groupId to io.jenkins.plugins (was io.forgeai.jenkins)
- Adopt CD versioning: version=${changelist}, changelist=999999-SNAPSHOT
- Define jenkins.baseline=2.528; jenkins.version=${jenkins.baseline}.3
- Switch BOM to bom-${jenkins.baseline}.x @ 6269.v7a_159d68a_366
- Replace bundled okhttp3/gson with okhttp-api/gson-api Jenkins plugins
- Add hpi.strictBundledArtifacts=true, ban-commons-lang-2.skip=false
- Remove redundant compiler/java.level properties and <developers> block
- Add <scmTag>${scmTag}</scmTag> for CD release tagging

New files:
- Jenkinsfile: standard buildPlugin() for ci.jenkins.io
- .mvn/maven.config + .mvn/extensions.xml: incremental CD support
- .github/workflows/jenkins-security-scan.yml
- .github/workflows/cd.yaml: continuous delivery workflow
- .github/CODEOWNERS: assigns jenkinsci plugin-developers team
- .github/renovate.json: automated dependency updates

Security (Jenkins security scan findings):
- ForgeAIGlobalConfiguration: add @post + Jenkins.ADMINISTER permission
  checks to doCheckLlmEndpoint, doCheckModelId, doTestConnection, and
  doFillApiKeyCredentialIdItems (Stapler CSRF / missing permission check)
- AnthropicProvider, OpenAICompatibleProvider: store API key as
  hudson.util.Secret instead of plain String (plaintext password storage)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@saurabh-oss saurabh-oss merged commit f9febb7 into main Apr 16, 2026
0 of 3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant