Console Output

Push event to branch release/1.1.1
Running with default Jenkinsfile ID: ScmPluginJenkinsfile
[Pipeline] Start of Pipeline
[Pipeline] node
Running on oss-ubuntu-0j2wkd in /tmp/workspace/ssl-context-plugin_release_1.1.1
[Pipeline] {
14:25:32 Connecting to https://api.github.com using CESMarvin at Github
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential cesmarvin-github
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Avoid second fetch
Checking out Revision 4f1dcbee64129ebfc18f51954553dd235d4ba52e (release/1.1.1)
Commit message: "Prepare release of 1.1.1"
First time build. Skipping changelog.
Cloning repository https://github.com/scm-manager/scm-ssl-context-plugin.git
 > git init /tmp/workspace/ssl-context-plugin_release_1.1.1 # timeout=10
Fetching upstream changes from https://github.com/scm-manager/scm-ssl-context-plugin.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials CESMarvin at Github
 > git fetch --no-tags --force --progress -- https://github.com/scm-manager/scm-ssl-context-plugin.git +refs/heads/release/1.1.1:refs/remotes/origin/release/1.1.1 # timeout=10
 > git config remote.origin.url https://github.com/scm-manager/scm-ssl-context-plugin.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/release/1.1.1:refs/remotes/origin/release/1.1.1 # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4f1dcbee64129ebfc18f51954553dd235d4ba52e # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b release/1.1.1 4f1dcbee64129ebfc18f51954553dd235d4ba52e # timeout=10
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
+ docker inspect -f . scmmanager/java-build:11.0.9_11.1

Error: No such object: scmmanager/java-build:11.0.9_11.1
[Pipeline] isUnix
[Pipeline] sh
+ docker pull scmmanager/java-build:11.0.9_11.1
11.0.9_11.1: Pulling from scmmanager/java-build
e4c3d3e4f7b0: Pulling fs layer
a4c66b66455b: Pulling fs layer
15ff770a7f13: Pulling fs layer
8cf1e37ddf00: Pulling fs layer
11d8b4a4591a: Pulling fs layer
8cf1e37ddf00: Waiting
11d8b4a4591a: Waiting
a4c66b66455b: Verifying Checksum
a4c66b66455b: Download complete
e4c3d3e4f7b0: Verifying Checksum
e4c3d3e4f7b0: Download complete
8cf1e37ddf00: Verifying Checksum
8cf1e37ddf00: Download complete
15ff770a7f13: Verifying Checksum
15ff770a7f13: Download complete
11d8b4a4591a: Verifying Checksum
11d8b4a4591a: Download complete
e4c3d3e4f7b0: Pull complete
a4c66b66455b: Pull complete
15ff770a7f13: Pull complete
8cf1e37ddf00: Pull complete
11d8b4a4591a: Pull complete
Digest: sha256:7507b0c87359c132dfb73e0d20a57b580c9236709ebe17360e16cfbb0d5a36d3
Status: Downloaded newer image for scmmanager/java-build:11.0.9_11.1
docker.io/scmmanager/java-build:11.0.9_11.1
[Pipeline] withDockerContainer
oss-ubuntu-0j2wkd does not seem to be running inside a container
$ docker run -t -d -u 1001:1002 -w /tmp/workspace/ssl-context-plugin_release_1.1.1 -v /tmp/workspace/ssl-context-plugin_release_1.1.1:/tmp/workspace/ssl-context-plugin_release_1.1.1:rw,z -v /tmp/workspace/ssl-context-plugin_release_1.1.1@tmp:/tmp/workspace/ssl-context-plugin_release_1.1.1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** scmmanager/java-build:11.0.9_11.1 cat
$ docker top 6cb38aee67942f40f4ea6330e2e82d4ca884356c90d50a7234a111695eb1f1c0 -eo pid,comm
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare build)
[Pipeline] script
[Pipeline] {
[Pipeline] fileExists
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Set Version)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew setVersion --newVersion=1.1.1
Downloading https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
.........10%..........20%..........30%..........40%..........50%.........60%..........70%..........80%..........90%..........100%

Welcome to Gradle 6.7.1!

Here are the highlights of this release:
 - File system watching is ready for production use
 - Declare the version of Java your build requires
 - Java 15 support

For more details see https://docs.gradle.org/6.7.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :setVersion
set version from 1.1.1-SNAPSHOT to 1.1.1

BUILD SUCCESSFUL in 47s
1 actionable task: 1 executed
[Pipeline] sh
+ ./gradlew fix

> Task :fix
[INFO ] version of gradle.properties and package.json are not equal [fixed]

BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed
[Pipeline] sh
+ git add gradle.properties
[Pipeline] sh
+ git add package.json
[Pipeline] }
[Pipeline] // script
[Pipeline] sh
+ git -c user.name=CES Marvin -c user.email=cesmarvin@cloudogu.com commit -m release version 1.1.1
[release/1.1.1 a2280b0] release version 1.1.1
 2 files changed, 2 insertions(+), 2 deletions(-)
[Pipeline] sh
+ git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
[Pipeline] sh
+ git fetch --all
Fetching origin
From https://github.com/scm-manager/scm-ssl-context-plugin
 * [new branch]      develop    -> origin/develop
 * [new branch]      master     -> origin/master
 * [new tag]         1.1.0      -> 1.1.0
[Pipeline] sh
+ git checkout master
Switched to a new branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
[Pipeline] sh
+ git reset --hard origin/master
HEAD is now at 6cfec7c release version 1.1.0
[Pipeline] sh
+ git merge --ff-only release/1.1.1
Updating 6cfec7c..a2280b0
Fast-forward
 CHANGELOG.md                                       |  4 +++
 build.gradle                                       |  2 +-
 gradle.properties                                  |  2 +-
 package.json                                       |  2 +-
 .../com/cloudogu/sslcontext/CertificateMapper.java |  2 +-
 .../com/cloudogu/sslcontext/IndexLinkEnricher.java | 41 ++++++++++++----------
 .../com/cloudogu/sslcontext/PermissionChecker.java |  6 +++-
 src/main/js/SSLCertificateUpload.tsx               |  5 +++
 src/main/js/SSLContextOverview.tsx                 |  1 -
 .../approved/ApprovedCertificateDetailsModal.tsx   | 35 +++++++++---------
 src/main/js/certificates.ts                        |  2 +-
 .../rejected/RejectedCertificateDetailsModal.tsx   | 33 +++++++++--------
 src/main/resources/META-INF/scm/permissions.xml    |  3 ++
 src/main/resources/locales/de/plugins.json         |  4 +++
 src/main/resources/locales/en/plugins.json         |  4 +++
 .../CertificateCollectionMapperTest.java           |  5 +++
 .../cloudogu/sslcontext/CertificateMapperTest.java | 23 ++++++++++++
 .../cloudogu/sslcontext/IndexLinkEnricherTest.java | 15 +++++++-
 18 files changed, 128 insertions(+), 61 deletions(-)
[Pipeline] sh
+ git -c user.name=CES Marvin -c user.email=cesmarvin@cloudogu.com tag -m release version 1.1.1 1.1.1
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew build -xtest

> Task :compileJava
Note: /tmp/workspace/ssl-context-plugin_release_1.1.1/src/main/java/com/cloudogu/sslcontext/Certificate.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :plugin-xml
> Task :processResources
> Task :classes
> Task :jar
> Task :javadoc
> Task :javadocJar

> Task :openapi
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

> Task :nodeSetup

> Task :yarnSetup
/tmp/workspace/ssl-context-plugin_release_1.1.1/.gradle/yarn/yarn-v1.22.5/bin/yarn -> /tmp/workspace/ssl-context-plugin_release_1.1.1/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
/tmp/workspace/ssl-context-plugin_release_1.1.1/.gradle/yarn/yarn-v1.22.5/bin/yarnpkg -> /tmp/workspace/ssl-context-plugin_release_1.1.1/.gradle/yarn/yarn-v1.22.5/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.5
added 1 package in 0.466s

> Task :yarn_install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning webpack-plugin-serve@1.4.1: Invalid bin field for "webpack-plugin-serve".
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-i18next@10.13.2" has unmet peer dependency "i18next@>= 17.0.0".
warning " > react-redux@5.1.2" has incorrect peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0".
warning " > styled-components@5.3.0" has unmet peer dependency "react-dom@>= 16.8.0".
warning " > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-diff-view@2.4.7" has unmet peer dependency "prop-types@>=15.6".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select@2.4.4" has incorrect peer dependency "react@^15.3.0 || ^16.0.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select@2.4.4" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0".
warning "@scm-manager/ui-plugins > @scm-manager/ui-components > react-select > react-input-autosize@2.2.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0".
warning "@scm-manager/plugin-scripts > babel-loader@8.2.2" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/eslint-config > @typescript-eslint/eslint-plugin@2.34.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > @typescript-eslint/parser@2.34.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > eslint-config-react-app@5.2.1" has incorrect peer dependency "eslint@6.x".
warning "@scm-manager/eslint-config > eslint-plugin-prettier@3.4.0" has unmet peer dependency "prettier@>=1.13.0".
warning "@scm-manager/eslint-config > eslint-plugin-react-hooks@2.5.1" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "@scm-manager/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@scm-manager/jest-preset > babel-jest@26.6.3" has unmet peer dependency "@babel/core@^7.0.0".
warning "@scm-manager/ui-scripts > @pmmmwh/react-refresh-webpack-plugin@0.4.3" has incorrect peer dependency "react-refresh@>=0.8.3 <0.10.0".
warning "@scm-manager/ui-tests > @wojtekmaj/enzyme-adapter-react-17@0.6.2" has unmet peer dependency "react-dom@^17.0.0-0".
warning "@scm-manager/ui-tests > enzyme-context-react-router-4@2.1.0" has unmet peer dependency "react-router@4.x || 5.x".
[4/4] Building fresh packages...
$ plugin-scripts postinstall
Done in 69.03s.

> Task :ui-bundle
yarn run v1.22.5
$ plugin-scripts build
Hash: 26383ec6d78bb16f0c10
Version: webpack 4.46.0
Time: 3045ms
Built at: 10/21/2021 12:29:12 PM
                           Asset     Size  Chunks                    Chunk Names
scm-ssl-context-plugin.bundle.js  340 KiB       0  [emitted]  [big]  scm-ssl-context-plugin
Entrypoint scm-ssl-context-plugin [big] = scm-ssl-context-plugin.bundle.js
 [0] external "react" 42 bytes {0} [built]
 [1] external "@scm-manager/ui-components" 42 bytes {0} [built]
 [2] external "react-i18next" 42 bytes {0} [built]
 [3] external "react-router-dom" 42 bytes {0} [built]
 [5] external "@scm-manager/ui-extensions" 42 bytes {0} [built]
 [7] multi ./node_modules/@scm-manager/plugin-scripts/src/webpack-public-path.js ./src/main/js/index.tsx 40 bytes {0} [built]
 [8] ./node_modules/@scm-manager/plugin-scripts/src/webpack-public-path.js 1.4 KiB {0} [built]
 [9] ./src/main/js/index.tsx + 44 modules 127 KiB {0} [built]
     | ./src/main/js/index.tsx 1.85 KiB [built]
     | ./src/main/js/SSLContextNavigation.tsx 2 KiB [built]
     | ./src/main/js/SSLContextOverview.tsx 2.93 KiB [built]
     | ./src/main/js/certificates.ts 1.73 KiB [built]
     | ./src/main/js/approved/SSLContextApprovedOverview.tsx 1.87 KiB [built]
     | ./src/main/js/rejected/SSLContextRejectedOverview.tsx 1.87 KiB [built]
     | ./src/main/js/useCertificateCollection.ts 2.14 KiB [built]
     | ./src/main/js/SSLCertificateUpload.tsx 3.86 KiB [built]
     | ./src/main/js/approved/SSLContextApprovedTable.tsx 3.92 KiB [built]
     | ./src/main/js/rejected/SSLContextRejectedTable.tsx 3.78 KiB [built]
     | ./node_modules/date-fns/esm/toDate/index.js 1.86 KiB [built]
     | ./node_modules/date-fns/esm/isValid/index.js 2.3 KiB [built]
     | ./node_modules/date-fns/esm/addMilliseconds/index.js 1.27 KiB [built]
     | ./node_modules/date-fns/esm/subMilliseconds/index.js 1.28 KiB [built]
     | ./node_modules/date-fns/esm/format/index.js 26.5 KiB [built]
     |     + 30 hidden modules
[10] ./node_modules/date-fns/esm/index.js 13.9 KiB [built]
[17] ./node_modules/date-fns/esm/add/index.js 2.83 KiB [built]
[18] ./node_modules/date-fns/esm/addBusinessDays/index.js 2.29 KiB [built]
[19] ./node_modules/date-fns/esm/addDays/index.js 1.34 KiB [built]
[20] ./node_modules/date-fns/esm/addHours/index.js 1.22 KiB [built]
[21] ./node_modules/date-fns/esm/addISOWeekYears/index.js 1.73 KiB [built]
[22] ./node_modules/date-fns/esm/addMinutes/index.js 1.25 KiB [built]
    + 206 hidden modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  scm-ssl-context-plugin.bundle.js (340 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  scm-ssl-context-plugin (340 KiB)
      scm-ssl-context-plugin.bundle.js


WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Done in 4.20s.

> Task :smp
> Task :release-yaml
> Task :sourcesJar
> Task :assemble
> Task :licenseBuild UP-TO-DATE
> Task :licenseMain UP-TO-DATE
Unknown file extension: src/test/resources/com/cloudogu/sslcontext/cert-002-expired
Unknown file extension: src/test/resources/com/cloudogu/sslcontext/cert-001
> Task :licenseTest UP-TO-DATE
> Task :licenseUI UP-TO-DATE
> Task :license UP-TO-DATE

> Task :validate
[INFO ] Rule passed: gradle and package.json names are equal
[INFO ] Rule passed: version of gradle.properties and package.json are equal
[INFO ] Rule passed: scm version is equal with @scm-manager/ui-plugins
[INFO ] Rule passed: package.json uses post install of plugin-scripts
[INFO ] Rule passed: no plugin dependencies with min-version condition found

> Task :validatePluginJson
> Task :check
> Task :build

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 5s
20 actionable tasks: 16 executed, 4 up-to-date
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Check)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew check
> Task :licenseBuild UP-TO-DATE
> Task :licenseMain UP-TO-DATE
> Task :licenseTest UP-TO-DATE
> Task :licenseUI UP-TO-DATE
> Task :license UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE

> Task :compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :processTestResources
> Task :testClasses
> Task :update-ui-test-timestamp
> Task :nodeSetup UP-TO-DATE
> Task :yarnSetup UP-TO-DATE
> Task :yarn_install UP-TO-DATE

> Task :ui-test
yarn run v1.22.5
$ jest src/main/js --passWithNoTests
No tests found, exiting with code 0
----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |        0 |        0 |        0 |        0 |                   |
----------|----------|----------|----------|----------|-------------------|
Done in 2.32s.

> Task :update-test-timestamp
> Task :test
> Task :jacocoTestReport
> Task :validate UP-TO-DATE
> Task :validatePluginJson UP-TO-DATE
> Task :check

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 41s
19 actionable tasks: 7 executed, 12 up-to-date
java.io.IOException: No such file or directory
[Pipeline] sh
+ touch build/test-results/test/TEST-com.cloudogu.sslcontext.CapturingTrustManagerTest.xml build/test-results/test/TEST-com.cloudogu.sslcontext.CertificateCollectionMapperTest.xml build/test-results/test/TEST-com.cloudogu.sslcontext.CertificateMapperTest.xml build/test-results/test/TEST-com.cloudogu.sslcontext.CertificateStoreTest$Denied.xml build/test-results/test/TEST-com.cloudogu.sslcontext.CertificateStoreTest$ReadPermitted.xml build/test-results/test/TEST-com.cloudogu.sslcontext.CertificateStoreTest$ReadWritePermitted.xml build/test-results/test/TEST-com.cloudogu.sslcontext.IndexLinkEnricherTest.xml build/test-results/test/TEST-com.cloudogu.sslcontext.SSLContextResourceTest.xml build/test-results/test/TEST-com.cloudogu.sslcontext.TrustedCertificatesStoreTest.xml
[Pipeline] sh
+ touch build/jest-reports/TEST-scm-ssl-context-plugin.xml
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SonarQube)
[Pipeline] sh
+ git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
[Pipeline] sh
+ git fetch origin master
From https://github.com/scm-manager/scm-ssl-context-plugin
 * branch            master     -> FETCH_HEAD
[Pipeline] script
[Pipeline] {
[Pipeline] withSonarQubeEnv
Injecting SonarQube environment variables using the configuration: sonarcloud.io-scm
[Pipeline] {
[Pipeline] sh
+ ./gradlew sonarqube -Dsonar.organization=scm-manager -Dsonar.branch.name=release/1.1.1 -Dsonar.branch.target=master
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
Couldn't flush user prefs: java.util.prefs.BackingStoreException: java.io.FileNotFoundException: ?/.java/.userPrefs/org/prefs.tmp (No such file or directory)
> Task :sonarqube

Couldn't flush user prefs: java.util.prefs.BackingStoreException: ?/.java/.userPrefs/org create failed.
Couldn't flush user prefs: java.util.prefs.BackingStoreException: ?/.java/.userPrefs/org create failed.

BUILD SUCCESSFUL in 1m 36s
5 actionable tasks: 1 executed, 4 up-to-date
[Pipeline] }
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deployment)
[Pipeline] withCredentials
Masking supported pattern matches of $NPM_TOKEN
[Pipeline] {
[Pipeline] writeFile
Warning: A secret was passed to "writeFile" using Groovy String interpolation, which is insecure.
		 Affected argument(s) used the following variable(s): [NPM_TOKEN]
		 See https://jenkins.io/redirect/groovy-string-interpolation for details.
[Pipeline] writeFile
[Pipeline] script
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $serverUsername or $serverPassword
[Pipeline] {
[Pipeline] sh
Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
		 Affected argument(s) used the following variable(s): [serverUsername, serverPassword]
		 See https://jenkins.io/redirect/groovy-string-interpolation for details.
+ ./gradlew publish -PpackagesScmManagerUsername=**** -PpackagesScmManagerPassword=****
> Task :compileJava UP-TO-DATE
> Task :plugin-xml UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :jar
> Task :javadoc UP-TO-DATE
> Task :javadocJar UP-TO-DATE
> Task :openapi UP-TO-DATE
> Task :nodeSetup UP-TO-DATE
> Task :yarnSetup UP-TO-DATE
> Task :yarn_install UP-TO-DATE
> Task :ui-bundle UP-TO-DATE
> Task :smp UP-TO-DATE
> Task :sourcesJar UP-TO-DATE
> Task :generateMetadataFileForMavenJavaPublication
> Task :generatePomFileForMavenJavaPublication
> Task :release-yaml UP-TO-DATE
> Task :publishMavenJavaPublicationToMavenRepository
> Task :publish

BUILD SUCCESSFUL in 6s
17 actionable tasks: 4 executed, 13 up-to-date
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withCredentials
Post stage
[Pipeline] sh
+ rm -f settings.xml .npmrc .yarnrc
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push Tag)
[Pipeline] withCredentials
Masking supported pattern matches of $AUTH_USR or $AUTH_PSW
[Pipeline] {
[Pipeline] sh
+ git -c credential.helper=!f() { echo username=****; echo password=****; }; f push origin master --tags
To https://github.com/scm-manager/scm-ssl-context-plugin.git
   6cfec7c..a2280b0  master -> master
 * [new tag]         1.1.1 -> 1.1.1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] withCredentials
Masking supported pattern matches of $AUTH_USR or $AUTH_PSW
[Pipeline] {
[Pipeline] sh
+ git -c credential.helper=!f() { echo username=****; echo password=****; }; f push origin --tags
Everything up-to-date
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Plugin Center)
[Pipeline] sh
+ rm -rf plugin-center
[Pipeline] sh
+ mkdir plugin-center
[Pipeline] dir
Running in /tmp/workspace/ssl-context-plugin_release_1.1.1/plugin-center
[Pipeline] {
[Pipeline] git
The recommended git tool is: NONE
No credentials specified
Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@497705a4; decorates RemoteLauncher[hudson.remoting.Channel@2ef26228:oss-ubuntu-0j2wkd] will be ignored (a typical symptom is the Git executable not being run inside a designated container)
Cloning the remote Git repository
Cloning repository https://github.com/scm-manager/website.git
 > git init /tmp/workspace/ssl-context-plugin_release_1.1.1/plugin-center # timeout=10
Fetching upstream changes from https://github.com/scm-manager/website.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --tags --force --progress -- https://github.com/scm-manager/website.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 674fa528d62bec3d44a33b5b9810bcf0a528ca0d (refs/remotes/origin/master)
 > git config remote.origin.url https://github.com/scm-manager/website.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 674fa528d62bec3d44a33b5b9810bcf0a528ca0d # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 674fa528d62bec3d44a33b5b9810bcf0a528ca0d # timeout=10
Commit message: "scm-review-plugin: release 2.11.2"
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
fatal: bad object 4f1dcbee64129ebfc18f51954553dd235d4ba52e
[Pipeline] script
[Pipeline] {
[Pipeline] dir
Running in /tmp/workspace/ssl-context-plugin_release_1.1.1/plugin-center/content/plugins/scm-ssl-context-plugin/releases
[Pipeline] {
[Pipeline] sh
+ mv /tmp/workspace/ssl-context-plugin_release_1.1.1/build/libs/release.yaml 1-1-1.yaml
[Pipeline] sh
+ git add 1-1-1.yaml
[Pipeline] sh
+ git -c user.name=CES Marvin -c user.email=cesmarvin@cloudogu.com commit -m scm-ssl-context-plugin: release 1.1.1
[master e488779] scm-ssl-context-plugin: release 1.1.1
 1 file changed, 8 insertions(+)
 create mode 100644 content/plugins/scm-ssl-context-plugin/releases/1-1-1.yaml
[Pipeline] withCredentials
Masking supported pattern matches of $AUTH_USR or $AUTH_PSW
[Pipeline] {
[Pipeline] sh
+ git -c credential.helper=!f() { echo username=****; echo password=****; }; f push origin HEAD:master
To https://github.com/scm-manager/website.git
   674fa52..e488779  HEAD -> master
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Set Next Version)
[Pipeline] sh
+ git branch -D develop
error: branch 'develop' not found.
[Pipeline] sh
+ git checkout develop
Switched to a new branch 'develop'
Branch 'develop' set up to track remote branch 'develop' from 'origin'.
[Pipeline] sh
+ git merge master
Updating 6c79366..a2280b0
Fast-forward
 CHANGELOG.md      | 2 +-
 gradle.properties | 2 +-
 package.json      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ ./gradlew setVersionToNextSnapshot

> Task :setVersionToNextSnapshot
set version from 1.1.1 to 1.1.2-SNAPSHOT

BUILD SUCCESSFUL in 2s
1 actionable task: 1 executed
[Pipeline] sh
+ ./gradlew fix

> Task :fix
[INFO ] version of gradle.properties and package.json are not equal [fixed]

BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
[Pipeline] sh
+ git add gradle.properties
[Pipeline] sh
+ git add package.json
[Pipeline] }
[Pipeline] // script
[Pipeline] sh
+ git -c user.name=CES Marvin -c user.email=cesmarvin@cloudogu.com commit -m Prepare for next development iteration
[develop 7ff4fab] Prepare for next development iteration
 2 files changed, 2 insertions(+), 2 deletions(-)
[Pipeline] withCredentials
Masking supported pattern matches of $AUTH_USR or $AUTH_PSW
[Pipeline] {
[Pipeline] sh
+ git -c credential.helper=!f() { echo username=****; echo password=****; }; f push origin develop
To https://github.com/scm-manager/scm-ssl-context-plugin.git
   6c79366..7ff4fab  develop -> develop
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Delete Release Branch)
[Pipeline] withCredentials
Masking supported pattern matches of $AUTH_USR or $AUTH_PSW
[Pipeline] {
[Pipeline] sh
+ git -c credential.helper=!f() { echo username=****; echo password=****; }; f push origin :release/1.1.1
To https://github.com/scm-manager/scm-ssl-context-plugin.git
 - [deleted]         release/1.1.1
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1 6cb38aee67942f40f4ea6330e2e82d4ca884356c90d50a7234a111695eb1f1c0
$ docker rm -f 6cb38aee67942f40f4ea6330e2e82d4ca884356c90d50a7234a111695eb1f1c0
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

Finished: SUCCESS