diff --git a/pom.xml b/pom.xml index c8207372..05055357 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,8 @@ 999999-SNAPSHOT jenkinsci/ansible-plugin - 2.462.3 + 2.462 + ${jenkins.baseline}.3 false @@ -39,7 +40,7 @@ io.jenkins.tools.bom - bom-2.462.x + bom-${jenkins.baseline}.x 3482.vc10d4f6da_28a_ pom import diff --git a/updatecli/updatecli.d/update-jenkins-version.yml b/updatecli/updatecli.d/update-jenkins-version.yml deleted file mode 100644 index 4e2c9fe8..00000000 --- a/updatecli/updatecli.d/update-jenkins-version.yml +++ /dev/null @@ -1,67 +0,0 @@ -scms: - github: - kind: github - spec: - user: '{{ .github.user }}' - email: '{{ .github.email }}' - owner: '{{ .github.owner }}' - repository: '{{ .github.repository }}' - branch: '{{ .github.branch }}' - username: '{{ .github.username }}' - token: '{{ requiredEnv .github.token }}' -sources: - jenkins: - name: Get Jenkins LTS Version - kind: jenkins - spec: - release: stable - github: - token: '{{ requiredEnv .github.token }}' - username: '{{ .github.username }}' - bom: - name: Get latest BOM line - kind: jenkins - spec: - release: stable - transformers: - - trimsuffix: ".1" - - trimsuffix: ".2" - - trimsuffix: ".3" - - trimsuffix: ".4" - - addprefix: "bom-" - - addsuffix: ".x" - github: - token: '{{ requiredEnv .github.token }}' - username: '{{ .github.username }}' -targets: - jenkins: - name: Update Jenkins Version - sourceid: jenkins - scmid: github - kind: file - spec: - file: pom.xml - matchpattern: '(.*)' - replacepattern: '{{ source `jenkins` }}' - bom: - name: Ensure Jenkins BOM version - sourceid: jenkins - scmid: github - kind: file - spec: - file: pom.xml - matchpattern: 'bom-(.*).x' - replacepattern: '{{ source `bom` }}' -actions: - jenkins: - title: Bump Jenkins version {{ source "jenkins" }} - disablepipelineurl: true - kind: github/pullrequest - scmid: github - targets: - - jenkins - - bom - spec: - labels: - - dependencies - automerge: false diff --git a/updatecli/values.yml b/updatecli/values.yml deleted file mode 100644 index aca40d9e..00000000 --- a/updatecli/values.yml +++ /dev/null @@ -1,8 +0,0 @@ -github: - user: "GitHub Actions" - email: "41898282+github-actions[bot]@users.noreply.github.com" - username: "github-actions" - token: "UPDATECLI_GITHUB_TOKEN" - owner: "jenkinsci" - repository: "ansible-plugin" - branch: "main"