Started by user Claudio Atzori Obtained PROD/Jenkinsfile from git gitea@code-repo.d4science.org:D-Net/openaire-graph-docs-deployment.git [Pipeline] Start of Pipeline [Pipeline] node Running on ip-90-147-189-52.pa1.garrservices.it in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential dnet-hadoop-deployment-credentials Cloning the remote Git repository Cloning repository gitea@code-repo.d4science.org:D-Net/openaire-graph-docs-deployment.git > git init /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD # timeout=10 Fetching upstream changes from gitea@code-repo.d4science.org:D-Net/openaire-graph-docs-deployment.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials User for CI/CD Verifying host key using known hosts file > git fetch --tags --progress -- gitea@code-repo.d4science.org:D-Net/openaire-graph-docs-deployment.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6ba042dad27496a2d302f189e9d8a35c7f198bcd (refs/remotes/origin/main) Commit message: "using 10.19.65.55 instead of graph.openaire.eu" > git config remote.origin.url gitea@code-repo.d4science.org:D-Net/openaire-graph-docs-deployment.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ba042dad27496a2d302f189e9d8a35c7f198bcd # timeout=10 > git rev-list --no-walk 6ba042dad27496a2d302f189e9d8a35c7f198bcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout documentation repo) [Pipeline] dir Running in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/openaire-graph-docs [Pipeline] { [Pipeline] git The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://code-repo.d4science.org/D-Net/openaire-graph-docs.git > git init /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/openaire-graph-docs # timeout=10 Fetching upstream changes from https://code-repo.d4science.org/D-Net/openaire-graph-docs.git > git --version # timeout=10 > git --version # 'git version 2.17.1' > git fetch --tags --progress -- https://code-repo.d4science.org/D-Net/openaire-graph-docs.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision aba4f2736938ad4da373c93479c3cf80cc9d70c5 (refs/remotes/origin/main) Commit message: "Merge pull request 'v12.1.0: November 2026 changelog' (#153) from v12.1.0 into main" > git config remote.origin.url https://code-repo.d4science.org/D-Net/openaire-graph-docs.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aba4f2736938ad4da373c93479c3cf80cc9d70c5 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main aba4f2736938ad4da373c93479c3cf80cc9d70c5 # timeout=10 > git rev-list --no-walk 45e225441377505da08ba211a0b881f7718d60fe # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Install npm packages) [Pipeline] dir Running in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/openaire-graph-docs [Pipeline] { [Pipeline] sh + npm install npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility added 1103 packages, and audited 1104 packages in 1m 205 packages are looking for funding run `npm fund` for details 87 vulnerabilities (5 low, 26 moderate, 50 high, 6 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build documenation website) [Pipeline] dir Running in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/openaire-graph-docs [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo .env file: [Pipeline] echo URL=https://graph.openaire.eu BASE_URL=/docs [Pipeline] writeFile [Pipeline] } [Pipeline] // script [Pipeline] sh + npm run build > openaire-docs@0.0.0 build > docusaurus build ENV VARIABLES: { URL: 'https://graph.openaire.eu', BASE_URL: '/docs' } [INFO] [en] Creating an optimized production build... ENV VARIABLES: { URL: 'https://graph.openaire.eu', BASE_URL: '/docs' } Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme [info] [webpackbar] Compiling Client [info] [webpackbar] Compiling Server Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme [success] [webpackbar] Client: Compiled successfully in 5.05m [success] [webpackbar] Server: Compiled successfully in 7.63m [SUCCESS] Generated static files in "build". [INFO] Use `npm run serve` command to test your build locally. [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout Gitea-auto-release repo) [Pipeline] dir Running in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/Gitea-auto-release [Pipeline] { [Pipeline] git The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Avoid second fetch Checking out Revision 3b46f0bc626a13a1f304512413f58cbf989e7303 (refs/remotes/origin/master) Commit message: "Merge pull request 'Make paths in the archive relative to the attachment_path directory' (#2) from michal.politowski/Gitea-auto-release:relative_paths_in_archive into master" Cloning repository https://code-repo.d4science.org/D-Net/Gitea-auto-release.git > git init /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/Gitea-auto-release # timeout=10 Fetching upstream changes from https://code-repo.d4science.org/D-Net/Gitea-auto-release.git > git --version # timeout=10 > git --version # 'git version 2.17.1' > git fetch --tags --progress -- https://code-repo.d4science.org/D-Net/Gitea-auto-release.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://code-repo.d4science.org/D-Net/Gitea-auto-release.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 3b46f0bc626a13a1f304512413f58cbf989e7303 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master 3b46f0bc626a13a1f304512413f58cbf989e7303 # timeout=10 > git rev-list --no-walk 3b46f0bc626a13a1f304512413f58cbf989e7303 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare release) [Pipeline] dir Running in /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/Gitea-auto-release [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] readFile [Pipeline] echo all.properties file: [Pipeline] echo attachment_name=release gitea_repo=https://code-repo.d4science.org/api/v1 tag_name=12.1.0 tag_description=This is tag version 12.1.0 release_name=release-12.1.0 release_description=This is the release version 12.1.0 repo_name=openaire-graph-docs repo_user=D-Net target=main build_path=/var/lib/jenkins/workspace/openaire-graph-docs_prod_CD/openaire-graph-docs/build [Pipeline] writeFile [Pipeline] } [Pipeline] // script [Pipeline] sh + pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: urllib3==1.26.13 in /var/lib/jenkins/.local/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (1.26.13) [Pipeline] sh + python3 gitea_release.py --property all.properties --token 4f84997daff7064b935b8acdf0d36a538579f87e Created tag : Name:12.1.0, SHA:aba4f2736938ad4da373c93479c3cf80cc9d70c5 Created Release : Name:release-12.1.0, ID:27877 Uploaded attachment on release 27877 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Deploy) [Pipeline] sshagent [ssh-agent] Using credentials git.dnet (User for CI/CD) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-gXnxC2WRLjnb/agent.14921 SSH_AGENT_PID=14923 Running ssh-add (command line suppressed) Identity added: /var/lib/jenkins/workspace/openaire-graph-docs_prod_CD@tmp/private_key_2347042975391123693.key (git.dnet) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + ssh -A -o StrictHostKeyChecking=no -o ProxyJump=git.dnet@iis-cdh5-test-gw.ocean.icm.edu.pl -o StrictHostKeyChecking=no git.dnet@10.19.65.55 12.1.0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1607 100 1607 0 0 8656 0 --:--:-- --:--:-- --:--:-- 8686 Downloading from https://code-repo.d4science.org/D-Net/openaire-graph-docs/releases/download/12.1.0/release.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 21.3M 2 543k 0 0 542k 0 0:00:40 0:00:01 0:00:39 543k 12 21.3M 12 2719k 0 0 1355k 0 0:00:16 0:00:02 0:00:14 1355k 28 21.3M 28 6271k 0 0 2085k 0 0:00:10 0:00:03 0:00:07 2085k 47 21.3M 47 10.1M 0 0 2588k 0 0:00:08 0:00:04 0:00:04 2588k 68 21.3M 68 14.6M 0 0 2995k 0 0:00:07 0:00:05 0:00:02 2995k 91 21.3M 91 19.6M 0 0 3347k 0 0:00:06 0:00:06 --:--:-- 3908k 100 21.3M 100 21.3M 0 0 3462k 0 0:00:06 0:00:06 --:--:-- 4445k Performing a sanity check ./index.html [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 14923 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS