diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..6397ac18 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @jenkinsci/extended-choice-parameter-plugin-developers diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..fdc58d1e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 0d0b1c99..b0e45873 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1 +1,2 @@ _extends: .github +tag-template: extended-choice-parameter-$NEXT_MINOR_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..b99da970 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,17 @@ +# Automates creation of Release Drafts using Release Drafter +# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc + +on: + push: + branches: + - master + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into the default branch + - uses: release-drafter/release-drafter@v5.13.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index b9ba0c79..08343646 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,15 @@ -.settings/* -.idea/* +target + +# mvn hpi:run +work + +# IntelliJ IDEA project files *.iml -/target/ -/work/ -/.classpath -/.project +*.iws +*.ipr +.idea + +# Eclipse project files +.settings +.classpath +.project diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index a65d82e1..9ac2968b 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -2,6 +2,6 @@ io.jenkins.tools.incrementals git-changelist-maven-extension - 1.3 + 1.4 diff --git a/.mvn/maven.config b/.mvn/maven.config index f7daf60d..2a0299c4 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1,3 +1,2 @@ -Pconsume-incrementals -Pmight-produce-incrementals --Dchangelist.format=%d.v%s diff --git a/Jenkinsfile b/Jenkinsfile index 6dde1528..18218b70 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,5 @@ -#!/usr/bin/env groovy - -/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ -buildPlugin() +/* + See the documentation for more options: + https://github.com/jenkins-infra/pipeline-library/ +*/ +buildPlugin(useContainerAgent: true) diff --git a/pom.xml b/pom.xml index 0327dbb2..30fce55a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,69 +1,95 @@ - - - 4.0.0 - - org.jenkins-ci.plugins - plugin - 3.47 - + + - extended-choice-parameter - hpi - ${changelist} - Extended Choice Parameter Plug-In - https://github.com/jenkinsci/extended-choice-parameter-plugin + 4.0.0 + + org.jenkins-ci.plugins + plugin + 4.41 + + - - 999999-SNAPSHOT - - 2.60.3 - 8 - + io.jenkins.plugins + extended-choice-parameter + ${revision}${changelist} + hpi - - - vimil - Vimil Saju - - + Extended Choice Parameter Plugin + https://github.com/${gitHubRepo} + + + MIT License + https://opensource.org/licenses/MIT + + + + + + vimil + Vimil Saju + + + chonton + chas honton + + + + + scm:git:https://github.com/${gitHubRepo} + scm:git:https://github.com/${gitHubRepo} + ${scmTag} + https://github.com/${gitHubRepo} + + + + 0.85 + -SNAPSHOT + + + 2.332.4 + jenkinsci/${project.artifactId}-plugin + + + - - com.opencsv - opencsv - 4.6 - - - org.jenkins-ci.plugins - jquery - 1.12.4-0 - - - org.jenkins-ci.plugins - script-security - 1.19 - + + + io.jenkins.tools.bom + bom-2.332.x + 1451.v15f1fdb_772a_f + pom + import + + + + + + com.opencsv + opencsv + 4.6 + - - - repo.jenkins-ci.org - https://repo.jenkins-ci.org/public/ - - + + org.jenkins-ci.plugins + script-security + 1172.v35f6a_0b_8207e + + - - - repo.jenkins-ci.org - https://repo.jenkins-ci.org/public/ - - + + + repo.jenkins-ci.org + https://repo.jenkins-ci.org/public/ + + - - scm:git:ssh://git@github.com/jenkinsci/extended-choice-parameter-plugin.git - scm:git:ssh://git@github.com/jenkinsci/extended-choice-parameter-plugin.git - https://github.com/jenkinsci/extended-choice-parameter-plugin - ${scmTag} - + + + repo.jenkins-ci.org + https://repo.jenkins-ci.org/public/ + +