From cf61cea9bed2556b481e47834c4c7fcf898772b8 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Tue, 20 Feb 2024 14:21:24 +0100 Subject: [PATCH 1/3] CSP: Extract inline JS into an adjunct. --- src/main/resources/io/jenkins/plugins/bootstrap5.jelly | 6 ++---- .../io/jenkins/plugins/bootstrap5/init-constant.js | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/io/jenkins/plugins/bootstrap5/init-constant.js diff --git a/src/main/resources/io/jenkins/plugins/bootstrap5.jelly b/src/main/resources/io/jenkins/plugins/bootstrap5.jelly index ca47405..684efe8 100644 --- a/src/main/resources/io/jenkins/plugins/bootstrap5.jelly +++ b/src/main/resources/io/jenkins/plugins/bootstrap5.jelly @@ -2,7 +2,7 @@ - + ${h.initPageVariables(context)} @@ -14,9 +14,7 @@ Use it like + diff --git a/src/main/resources/io/jenkins/plugins/bootstrap5/init-constant.js b/src/main/resources/io/jenkins/plugins/bootstrap5/init-constant.js new file mode 100644 index 0000000..4903ca2 --- /dev/null +++ b/src/main/resources/io/jenkins/plugins/bootstrap5/init-constant.js @@ -0,0 +1 @@ +const bootstrap5 = bootstrap; From a2bab7361e0e7733facc63847bff6f3474172e6f Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Fri, 23 Feb 2024 17:00:44 +0100 Subject: [PATCH 2/3] [maven-release-plugin] prepare release v5.3.2-4 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 77460a4..0ccd3c0 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ io.jenkins.plugins hpi Bootstrap 5 API Plugin - ${revision}${changelist} + 5.3.2-4 https://github.com/jenkinsci/bootstrap5-api-plugin @@ -112,7 +112,7 @@ scm:git:https://github.com/jenkinsci/${project.artifactId}-plugin.git scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git https://github.com/jenkinsci/${project.artifactId}-plugin - ${scmTag} + v5.3.2-4 From 9512cde50a386d0896a2235b918bffd0c94ed3bc Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Fri, 23 Feb 2024 17:00:54 +0100 Subject: [PATCH 3/3] [maven-release-plugin] prepare for next development iteration --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0ccd3c0..abdf964 100644 --- a/pom.xml +++ b/pom.xml @@ -12,14 +12,14 @@ io.jenkins.plugins hpi Bootstrap 5 API Plugin - 5.3.2-4 + ${revision}${changelist} https://github.com/jenkinsci/bootstrap5-api-plugin Provides Bootstrap 5 for Jenkins plugins. - 5.3.2-4 + 5.3.2-5 -SNAPSHOT ${project.groupId}.bootstrap5 @@ -112,7 +112,7 @@ scm:git:https://github.com/jenkinsci/${project.artifactId}-plugin.git scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git https://github.com/jenkinsci/${project.artifactId}-plugin - v5.3.2-4 + ${scmTag}