diff --git a/Jenkinsfile b/Jenkinsfile index 85d7f039..651206a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1 +1,4 @@ -buildPlugin(platforms: ['maven', 'windows']) +buildPlugin(useContainerAgent: true, configurations: [ + [platform: 'linux', jdk: '17', jenkins: '2.343'], + [platform: 'windows', jdk: '8'], +]) diff --git a/pom.xml b/pom.xml index f1c7bd7d..3c9cd2a5 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.jenkins-ci.plugins plugin - 4.39 + 4.40 @@ -14,14 +14,12 @@ hpi Credentials Binding Plugin - Allows credentials to be bound to environment variables for use from miscellaneous build steps. - - https://github.com/jenkinsci/credentials-binding-plugin + https://github.com/jenkinsci/${project.artifactId}-plugin 1.28 -SNAPSHOT 2.319.1 - 8 + jenkinsci/${project.artifactId}-plugin @@ -30,10 +28,10 @@ - - scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git - scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git - https://github.com/jenkinsci/${project.artifactId}-plugin + + scm:git:https://github.com/${gitHubRepo} + scm:git:https://github.com/${gitHubRepo} + https://github.com/${gitHubRepo} ${scmTag} @@ -55,7 +53,7 @@ io.jenkins.tools.bom bom-2.319.x - 1246.va_b_50630c1d19 + 1280.vd669827e38cd import pom @@ -65,7 +63,6 @@ org.jenkins-ci.plugins credentials - 1087.v16065d268466 org.jenkins-ci.plugins