'additional blank module published in Jfrog through Jenkins pipeline

I am trying to deploy Gradle artifact using Jfrog Cli command which works as expected. However, when running the build-collect-env command and publishing the build-info for it, it shows an additional blank module in the Jfrog build page which is not required. Below are the commands :

jfrog config add ******
jfrog rt gradle-config --server-id-deploy=*** --repo-deploy=***
jfrog rt gradle clean artifactoryPublish -b build.gradle --build-name=*** --build-number=***
jfrog rt build-collect-env <build-name> <build-num>
jfrog rt bp --build-url=*** <build-name> <build-num>

Note: This behavior is only when running inside a container through Jenkins pipeline whereas it works all fine if executed manually.

enter image description here

Any help will be highly appreciated



Solution 1:[1]

This issue was resolved in JFrog CLI version 2.12.0 as also described in this Github issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Prostagma