Open pavan-acquia opened 2 years ago
fraz3alpha Can you help check here
@yahavi
Can you help check here
@pavan-acquia the Artifactory plugin is not "from CloudBees". It is a Jenkins plugin that is provided by JFrog.
See my reply at community.jenkins.io for more details
Describe the bug Artifactory plugin failing with java.lang.NullPointerException
To Reproduce Whenever we try to upload artifacts, we face the below issue whenever we generate cloudbees jobs from Jobdsl for the first time we see this issue. And then once you reset "Override default deployer credentials" to none from Artifactory plugin parameter, and re-run the issue disappears. It's behaving weird.
Expected behavior It has to upload artifacts to jfrog without null pointer exception even though you had over the credentials. Note: I had already configured Artifactory plugin configuration globally in cloudbees with creds
Screenshots
Versions
Additional context 12:04:36 FATAL: null 12:04:36 java.lang.NullPointerException 12:04:36 at org.jfrog.hudson.util.SpecUtils.getSpecStringFromSpecConf(SpecUtils.java:20) 12:04:36 at org.jfrog.hudson.generic.ArtifactoryGenericConfigurator.setUp(ArtifactoryGenericConfigurator.java:375) 12:04:36 at hudson.model.Build$BuildExecution.doRun(Build.java:158) 12:04:36 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:522) 12:04:36 at hudson.model.Run.execute(Run.java:1896) 12:04:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 12:04:36 at hudson.model.ResourceController.execute(ResourceController.java:101) 12:04:36 at hudson.model.Executor.run(Executor.java:442)