Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67518

publishBuildInfo failing for gradleBuild(Artifactory.newGradleBuild) with latest artifactory plugin - 3.15.0

XMLWordPrintable

      publishBuildInfo is throwing exception  when we use the Artifactory.newGradleBuild() and which is happening with plugin - 3.15.0  and which is working good with plugin - 3.14.1.

      It thwos the ava.lang.NullPointerException15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo$DeployPathsAndPropsCallable.getDeployableArtifactPropertiesMap(BuildInfo.java:406)15:53:57  and which is very related to the recent changes in plugin code for 1.15.0.?

       

      15:53:57  ERROR: Execution failed15:53:57  ERROR: Execution failed15:53:57  Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.255.158/192.168.255.158:4672615:53:57  at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1797)15:53:57  at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)15:53:57  at hudson.remoting.Channel.call(Channel.java:1001)15:53:57  at hudson.FilePath.act(FilePath.java:1165)15:53:57  at hudson.FilePath.act(FilePath.java:1154)15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo.getAndAppendDeployableArtifactsByModule(BuildInfo.java:229)15:53:57  at org.jfrog.hudson.pipeline.common.executors.GradleExecutor.execute(GradleExecutor.java:84)15:53:57  at org.jfrog.hudson.pipeline.scripted.steps.ArtifactoryGradleBuild$Execution.runStep(ArtifactoryGradleBuild.java:76)15:53:57  at org.jfrog.hudson.pipeline.scripted.steps.ArtifactoryGradleBuild$Execution.runStep(ArtifactoryGradleBuild.java:63)15:53:57  at org.jfrog.hudson.pipeline.ArtifactorySynchronousNonBlockingStepExecution.run(ArtifactorySynchronousNonBlockingStepExecution.java:54)15:53:57  at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)15:53:57  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)15:53:57  at java.base/java.util.concurrent.FutureTask.run(Unknown Source)15:53:57  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)15:53:57  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)15:53:57  at java.base/java.lang.Thread.run(Unknown Source)15:53:57  java.lang.NullPointerException15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo$DeployPathsAndPropsCallable.getDeployableArtifactPropertiesMap(BuildInfo.java:406)15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo$DeployPathsAndPropsCallable.lambda$invoke$0(BuildInfo.java:393)15:53:57  at java.base/java.util.HashMap.forEach(Unknown Source)15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo$DeployPathsAndPropsCallable.invoke(BuildInfo.java:387)15:53:57  at org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo$DeployPathsAndPropsCallable.invoke(BuildInfo.java:363)15:53:57  at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3329)15:53:57  at hudson.remoting.UserRequest.perform(UserRequest.java:211)15:53:57  at hudson.remoting.UserRequest.perform(UserRequest.java:54)15:53:57  at hudson.remoting.Request$2.run(Request.java:376)15:53:57  at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)15:53:57  at java.base/java.util.concurrent.FutureTask.run(Unknown Source)15:53:57  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)15:53:57  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)15:53:57  at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:122)15:53:57  at java.base/java.lang.Thread.run(Unknown Source)

       

       

       

            eyalbe Eyal Ben Moshe
            swamygoud18 Swamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: