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

chore: fix tooling following the GitHub organization change from jenkinsci to jenkins-infra #385

Merged
merged 6 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @jenkinsci/plugin-modernizer-tool-developers
* @gounthar
* @jonesbusy
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
updatecli:
runs-on: ubuntu-latest
if: github.repository_owner == 'jenkinsci'
if: github.repository_owner == 'jenkins-infra'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Using OpenRewrite Recipes for Plugin Modernization or Automation Plugin Build Me
[![Build Status](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main/badge/icon)](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main/)
[![Coverage](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main/badge/icon?status=${instructionCoverage}&subject=coverage&color=${colorInstructionCoverage})](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main)
[![LOC](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main/badge/icon?job=test&status=${lineOfCode}&subject=line%20of%20code&color=blue)](https://ci.jenkins.io/job/Tools/job/plugin-modernizer-tool/job/main)
[![GitHub license](https://img.shields.io/github/license/jenkinsci/plugin-modernizer-tool)](https://github.com/jenkinsci/plugin-modernizer-tool/blob/main/LICENSE)
[![GitHub license](https://img.shields.io/github/license/jenkins-infra/plugin-modernizer-tool)](https://github.com/jenkins-infra/plugin-modernizer-tool/blob/main/LICENSE)

> [!Note]
> This tool is currently in development and looking for contributors and early adopters. Please report any issues or feature requests on the GitHub repository.
Expand Down Expand Up @@ -221,7 +221,7 @@ docker run \
-e GH_TOKEN=${GH_TOKEN} \
-e GH_OWNER=${GH_OWNER} \
-v $(pwd)/plugins.txt:/plugins.txt \
ghcr.io/jenkinsci/plugin-modernizer-tool:main \
ghcr.io/jenkins-infra/plugin-modernizer-tool:main \
--plugin-file /plugins.txt --recipes AddPluginsBom,AddCodeOwner
```

Expand All @@ -230,7 +230,7 @@ docker run \
- `-e GH_TOKEN=${GH_TOKEN}`: Passes the GitHub token as an environment variable.
- `-e GH_OWNER=${GH_OWNER}`: Passes the GitHub owner as an environment variable.
- `-v $(pwd)/plugins.txt:/plugins.txt`: Mounts the plugins.txt file from the current directory to the Docker container.
- `ghcr.io/jenkinsci/plugin-modernizer-tool:main`: Specifies the Docker image to use.
- `ghcr.io/jenkins-infra/plugin-modernizer-tool:main`: Specifies the Docker image to use.
- `--plugin-file /plugins.txt`: Specifies the path to the plugin file inside the Docker container.
- `--recipes AddPluginsBom,AddCodeOwner`: Specifies the recipes to apply.

Expand Down
2 changes: 1 addition & 1 deletion plugin-modernizer-core/src/main/jte/pr-body.jte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@param List<Recipe> recipes
Hello `${plugin.getName()}` developers!

This is an automated pull request created by the [Jenkins Plugin Modernizer](https://github.com/jenkinsci/plugin-modernizer-tool) tool. The tool has applied the following recipes to modernize the plugin:
This is an automated pull request created by the [Jenkins Plugin Modernizer](https://github.com/jenkins-infra/plugin-modernizer-tool) tool. The tool has applied the following recipes to modernize the plugin:
@for(var recipe : recipes)
<details>
<summary>${recipe.getDisplayName()}</summary>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<version>${changelist}</version>
<packaging>pom</packaging>
<name>Plugin Modernizer Parent</name>
<url>https://github.com/jenkinsci/plugin-modernizer-tool</url>
<url>https://github.com/jenkins-infra/plugin-modernizer-tool</url>

<licenses>
<license>
Expand All @@ -38,7 +38,7 @@
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/plugin-modernizer-tool</gitHubRepo>
<gitHubRepo>jenkins-infra/plugin-modernizer-tool</gitHubRepo>

<spotless.check.skip>false</spotless.check.skip>

Expand Down
2 changes: 1 addition & 1 deletion updatecli/values.github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ github:
username: "jenkins-infra-bot"
token: "UPDATECLI_GITHUB_TOKEN"
branch: "main"
owner: "jenkinsci"
owner: "jenkins-infra"
repository: "plugin-modernizer-tool"