Step | Arguments | | | Status |
---|
Start of Pipeline - (15 s in block) | | | |
|
node - (15 s in block) | | | |
|
node block - (15 s in block) | | | |
|
stage - (0,47 s in block) | Declarative: Checkout SCM | | |
|
stage block (Declarative: Checkout SCM) - (0,46 s in block) | | | |
|
checkout - (0,45 s in self) | | | |
|
withEnv - (15 s in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | | |
|
withEnv block - (15 s in block) | | | |
|
withEnv - (15 s in block) | registryCredential, gitCredential, silverpeasVersion, doPR, prResult, gitRepoDockerHub, versionExists, project, update, gitToken, branch, dockerhub, gitRepoProject, mavenRepo | | |
|
withEnv block - (15 s in block) | | | |
|
stage - (32 ms in block) | Check the Docker image version to build | | |
|
stage block (Check the Docker image version to build) - (24 ms in block) | | | |
|
getContext - (1 ms in self) | | | |
|
stage - (2,4 s in block) | Prepare the project | | |
|
stage block (Prepare the project) - (2,3 s in block) | | | |
|
dir - (2,3 s in block) | docker-silverpeas-prod | | |
|
dir block - (2,3 s in block) | | | |
|
git - (1 s in self) | | | |
|
script - (1,3 s in block) | | | |
|
script block - (1,3 s in block) | | | |
|
sh - (0,5 s in self) | curl -fsSL -o pom-silverpeas.xml https://nexus3.silverpeas.org/repository/silverpeas/org/silverpeas/silverpeas-assembly/6.4/silverpeas-assembly-6.4.pom | | |
|
sh - (0,28 s in self) | grep -oP '(?<=SILVERPEAS_VERSION=)[0-9.]+' Dockerfile | | |
|
sh - (0,25 s in self) | rm -f pom-silverpeas.xml | | |
|
sh - (0,25 s in self) | git rev-parse 6.4 > /dev/null 2>&1 | | |
|
stage - (37 ms in block) | Check Silverpeas version is a new one | | |
|
stage block (Check Silverpeas version is a new one) - (22 ms in block) | | | |
|
getContext - (1 ms in self) | | | |
|
stage - (40 ms in block) | Clean up previous build for the same version | | |
|
stage block (Clean up previous build for the same version) - (21 ms in block) | | | |
|
getContext - (1 ms in self) | | | |
|
stage - (3,1 s in block) | Update Dockerfile for new version | | |
|
stage block (Update Dockerfile for new version) - (3,1 s in block) | | | |
|
withCredentials - (3 s in block) | | | |
|
withCredentials block - (3 s in block) | | | |
|
dir - (3 s in block) | docker-silverpeas-prod | | |
|
dir block - (3 s in block) | | | |
|
sh - (0,26 s in self) |
git config --local credential.helper "!f() { echo username=\${GIT_AUTH_USR}; echo password=\$GIT_AUTH_PSW; }; f"
| | |
|
sh - (2,7 s in self) |
./generate-dockerfile.sh 6.4 26.1.3
git commit -am "Generate Dockerfile for Silverpeas 6.4"
git tag 6.4
git push origin HEAD:master
git push origin --tags
./generate-docker-library.sh > "/var/lib/jenkins/workspace/Silverpeas Prod Image"/silverpeas
| | |
|
stage - (1,7 s in block) | Create new stable branch | | |
|
stage block (Create new stable branch) - (1,7 s in block) | | | |
|
withCredentials - (1,7 s in block) | | | |
|
withCredentials block - (1,7 s in block) | | | |
|
dir - (1,6 s in block) | docker-silverpeas-prod | | |
|
dir block - (1,6 s in block) | | | |
|
sh - (0,25 s in self) |
git config --local credential.helper "!f() { echo username=\${GIT_AUTH_USR}; echo password=\$GIT_AUTH_PSW; }; f"
| | |
|
sh - (0,25 s in self) | git checkout -b 6.4.x | | |
|
sh - (1,1 s in self) | git push origin HEAD:6.4.x | | |
|
stage - (5,8 s in block) | Update official Docker images library | | |
|
stage block (Update official Docker images library) - (5,8 s in block) | | | |
|
withCredentials - (5,8 s in block) | | | |
|
withCredentials block - (5,7 s in block) | | | |
|
dir - (5,7 s in block) | official-images | | |
|
dir block - (5,7 s in block) | | | |
|
git - (1 s in self) | | | |
|
sh - (0,25 s in self) |
git config --local credential.helper "!f() { echo username=\${GIT_AUTH_USR}; echo password=\$GIT_AUTH_PSW; }; f"
| | |
|
sh - (0,25 s in self) | git remote add docker https://github.com/docker-library/official-images.git | | |
|
sh - (2,3 s in self) |
git pull docker master
git push origin HEAD:master
| | |
|
script - (1,8 s in block) | | | |
|
script block - (1,8 s in block) | | | |
|
sh - (0,26 s in self) | git rev-parse silverpeas-6.4 > /dev/null 2>&1 | | |
|
sh - (1,6 s in self) |
git checkout -b silverpeas-6.4
cp "/var/lib/jenkins/workspace/Silverpeas Prod Image/silverpeas" library/
git commit -am "Update Docker image for Silverpeas version 6.4"
git push origin silverpeas-6.4
| | |
|
stage - (1,3 s in block) | Open pull request | | |
|
stage block (Open pull request) - (1,2 s in block) | | | |
|
withCredentials - (1,2 s in block) | | | |
|
withCredentials block - (1,2 s in block) | | | |
|
script - (1,1 s in block) | | | |
|
script block - (1,1 s in block) | | | |
|
sh - (1,1 s in self) |
curl -X POST -u "${GIT_AUTH_USR}:${GIT_TOKEN}" -H 'Accept: application/vnd.github.v3+json' -d '{"title":"New Docker image for Silverpeas 6.4",
"body":"Update 'silverpeas' Docker library to take into account Silverpeas 6.4","head":"Silverpeas:silverpeas-6.4","base":"master"}' https://api.github.com/repos/docker-library/official-images/pulls
| | |
|
stage - (0,74 s in block) | Declarative: Post Actions | | |
|
stage block (Declarative: Post Actions) - (0,73 s in block) | | | |
|
step - (13 ms in self) | | | |
|
script - (0,7 s in block) | | | |
|
script block - (0,69 s in block) | | | |
|
sh - (0,25 s in self) | mkdir -p build | | |
|
writeFile - (10 ms in self) | build/PR.txt | | |
|
archiveArtifacts - (26 ms in self) | | | |
|
sh - (0,26 s in self) | rm -rf build | | |
|
emailext - (0,12 s in self) | | | |
|