Issue with Jenkins Build Script - Failing to upload to Artifcatory | Community
Skip to main content
January 3, 2020
Solved

Issue with Jenkins Build Script - Failing to upload to Artifcatory

  • January 3, 2020
  • 2 replies
  • 3647 views

Dear All,

 

Hoping to get some help with respect to Jenkins build failure.

We are developing a new site and have set up a GIT repository for the code.

 

We are using AEM Acthtype 18 to create the maven project.

 

The build works fine locally but when we are trying to build through our DevOps pipeline its failing with following error

 

Internal error: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed: Error occurred while persisting Build Info to 'e:\disk1\jenkins\e921a184\workspace\Web\web-cms\web-cms-aem-core\target\build-info.json': java.util.HashMap cannot be cast to java.lang.String (through reference chain: org.jfrog.build.api.Build["modules"]->java.util.ArrayList[1]->org.jfrog.build.api.Module["properties"]->java.util.Properties["vault.embeddedfiles.map"]) -> [Help 1]

 Any help would be appreciated. 

 

Thanks

Bhushan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bhushan_jadhav

Hi All,

 

As it turns out the issue is with FileVault Plugin used in AEM Archtype 18.

the plugin version 1.0.3  has a bug which results in failure of buildinfo generation during upload to artifactory

 

Updating the version to 1.0.4 resolved the issue

 

Thank you

Bhushan

2 replies

joerghoh
Adobe Employee
Adobe Employee
January 4, 2020

I am sorry, but this topic is not directly related to AEM or the AEM archetype you are using. It's a problem of your Artifactory instance, and we all are not experts in that software.

January 4, 2020
Thank you for your response...i completely understand...i just trying to see if any one else has faced this issue....we face this issue only with AEM projects and other applications are working fine
bhushan_jadhavAuthorAccepted solution
January 7, 2020

Hi All,

 

As it turns out the issue is with FileVault Plugin used in AEM Archtype 18.

the plugin version 1.0.3  has a bug which results in failure of buildinfo generation during upload to artifactory

 

Updating the version to 1.0.4 resolved the issue

 

Thank you

Bhushan

joerghoh
Adobe Employee
Adobe Employee
January 7, 2020
Ah, that's good to know. Thanks for reporting back here!