Console Output

Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on ip-90-147-189-52.pa1.garrservices.it (slave-2-garr) in workspace /var/lib/jenkins/workspace/DSL5_dnet-parent
The recommended git tool is: NONE
using credential dnet-hadoop-deployment-credentials
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository gitea@code-repo.d4science.org:D-Net50/dnet-parent.git
 > git init /var/lib/jenkins/workspace/DSL5_dnet-parent # timeout=10
Fetching upstream changes from gitea@code-repo.d4science.org:D-Net50/dnet-parent.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-Net50/dnet-parent.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url gitea@code-repo.d4science.org:D-Net50/dnet-parent.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse origin/main^{commit} # timeout=10
Checking out Revision f264b13b992bc6c508defab11465831773dcfc38 (origin/main)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f264b13b992bc6c508defab11465831773dcfc38 # timeout=10
Commit message: "chore: update deploy.info SCM coordinates to Git"
First time build. Skipping changelog.
Parsing POMs
Established TCP socket on 42577
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[DSL5_dnet-parent] $ java -cp /var/lib/jenkins/maven35-agent.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven /var/lib/jenkins/remoting.jar /var/lib/jenkins/maven35-interceptor.jar /var/lib/jenkins/maven3-interceptor-commons.jar 42577
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/workspace/DSL5_dnet-parent/pom.xml package -U source:jar
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< eu.dnetlib:dnet-parent >-----------------------
[INFO] Building dnet-parent 2.0.1-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:jar (default-cli) > generate-sources @ dnet-parent >>>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: null
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (default-cli) < generate-sources @ dnet-parent <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (default-cli) @ dnet-parent ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.124 s
[INFO] Finished at: 2026-03-13T10:46:21Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/DSL5_dnet-parent/pom.xml to eu.dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-SNAPSHOT.pom
channel stopped
Maven RedeployPublisher use remote ip-90-147-189-52.pa1.garrservices.it maven settings from : /var/lib/jenkins/.m2/settings.xml
[INFO] Deployment in https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/ (id=dnet5-bootstrap-snapshot,uniqueVersion=true)
Deploying the main artifact dnet-parent-2.0.1-SNAPSHOT.pom
Downloading from dnet5-bootstrap-snapshot: https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/maven-metadata.xml
Downloaded from dnet5-bootstrap-snapshot: https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/maven-metadata.xml (598 B at 7.5 kB/s)
Uploading to dnet5-bootstrap-snapshot: https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom
ERROR: Failed to deploy artifacts: Could not transfer artifact eu.dnetlib:dnet-parent:pom:2.0.1-20260313.104621-3 from/to dnet5-bootstrap-snapshot (https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/): authorization failed for https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom, status: 403 Forbidden
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact eu.dnetlib:dnet-parent:pom:2.0.1-20260313.104621-3 from/to dnet5-bootstrap-snapshot (https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/): authorization failed for https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom, status: 403 Forbidden
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:146)
	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:198)
	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1072)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:709)
	at hudson.model.Run.execute(Run.java:1922)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact eu.dnetlib:dnet-parent:pom:2.0.1-20260313.104621-3 from/to dnet5-bootstrap-snapshot (https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/): authorization failed for https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom, status: 403 Forbidden
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:308)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:219)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:407)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:142)
	... 11 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact eu.dnetlib:dnet-parent:pom:2.0.1-20260313.104621-3 from/to dnet5-bootstrap-snapshot (https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/): authorization failed for https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom, status: 403 Forbidden
	at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:288)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:301)
	... 14 more
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: authorization failed for https://nexus.d4science.org/nexus/content/repositories/dnet5-bootstrap-snapshot/eu/dnetlib/dnet-parent/2.0.1-SNAPSHOT/dnet-parent-2.0.1-20260313.104621-3.pom, status: 403 Forbidden
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:817)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:750)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:722)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:716)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:696)
	at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run(WagonTransporter.java:608)
	at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:425)
	at org.eclipse.aether.transport.wagon.WagonTransporter.put(WagonTransporter.java:406)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:556)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:364)
	... 16 more
[INFO] Deployment failed after 0.22 sec
Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE
[Slack Notifications] found #13 as previous completed, non-aborted build
[Slack Notifications] will send OnSingleFailureNotification because build matches and user preferences allow it
ERROR: Build step failed with exception
java.lang.IllegalArgumentException: the credential with the provided ID () could not be found and no token was specified
	at jenkins.plugins.slack.CredentialsObtainer.getTokenToUse(CredentialsObtainer.java:57)
	at jenkins.plugins.slack.SlackNotifier.newSlackService(SlackNotifier.java:582)
	at jenkins.plugins.slack.SlackNotifier.lambda$slackFactory$0(SlackNotifier.java:623)
	at jenkins.plugins.slack.ActiveNotifier.completed(ActiveNotifier.java:130)
	at jenkins.plugins.slack.SlackNotifier.perform(SlackNotifier.java:607)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1097)
	at hudson.model.Run.execute(Run.java:1944)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Build step 'Slack Notifications' marked build as failure
Finished: FAILURE