Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Issue with Jenkins Build Script - Failing to upload to Artifcatory

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 1

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

View solution in original post

5 Replies

Avatar

Employee Advisor

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.

Avatar

Level 1
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

Avatar

Level 1
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

Avatar

Correct answer by
Level 1

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

Avatar

Employee Advisor
Ah, that's good to know. Thanks for reporting back here!