From e47e48e3c098b1a98e07b3224706395f61742453 Mon Sep 17 00:00:00 2001 From: stark Date: Thu, 7 Sep 2023 23:22:10 +0800 Subject: [PATCH] Add build user var plugin && release v3.5.0 --- Makefile | 2 +- README.md | 2 +- formula.yaml | 4 ++++ scripts/diff-plugins.py | 12 ++++++------ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b42871e..80002f5 100644 --- a/Makefile +++ b/Makefile @@ -9,4 +9,4 @@ build-arm: run: jcli config gen -i=false > /home/gitpod/.jenkins-cli.yaml - jcli center start --image kubesphere/ks-jenkins --version v4.0.0-2.346.3 --setup-wizard=false + jcli center start --image kubesphere/ks-jenkins --version v3.5.0-2.346.3 --setup-wizard=false diff --git a/README.md b/README.md index 4ceebbf..0c9321f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The docker images are below: | | | |---|---| -| official | `kubesphere/ks-jenkins:v4.0.0-2.346.3` | +| official | `kubesphere/ks-jenkins:v3.5.0-2.346.3` | | experimental | `kubespheredev/ks-jenkins:master` | ## Build from source diff --git a/formula.yaml b/formula.yaml index 83483aa..9d77522 100644 --- a/formula.yaml +++ b/formula.yaml @@ -673,6 +673,10 @@ plugins: artifactId: favorite source: version: 2.3.2 + - artifactId: build-user-vars-plugin + groupId: org.jenkins-ci.plugins + source: + version: '1.9' systemProperties: { hudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID: "true" } groovyHooks: diff --git a/scripts/diff-plugins.py b/scripts/diff-plugins.py index 0861496..ec28f47 100644 --- a/scripts/diff-plugins.py +++ b/scripts/diff-plugins.py @@ -74,11 +74,11 @@ def check_deleted(old_plugin_list, new_plugin_list): check(old_plugins, new_plugins) - print "Add plugins: " - print yaml.dump(add_plugins) + print("Add plugins: ") + print(yaml.dump(add_plugins)) - print "\nupdate plugins: " - print yaml.dump(update_plugins) + print("\nupdate plugins: ") + print(yaml.dump(update_plugins)) - print "\ndelete plugins: " - print yaml.dump(delete_plugins) + print("\ndelete plugins: ") + print(yaml.dump(delete_plugins))