Issue with Jenkins Build Script - Failing to upload to Artifcatory

bhushan_jadhav

03-01-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

bhushan_jadhav

07-01-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

Answers (1)

Answers (1)

Jörg_Hoh

Employee

04-01-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.