I am using BitBucket pipelines to upload artifacts to Artifactory using gradle and have everything working as expected except for the name being given to the artifact when it is uploaded to artifactory:
Building the artifact in Pipelines via:
bash ./gradlew build artifactoryPublish - Partifactory_user=$ARTIFACTORY_USER - Partifactory_password=$ARTIFACTORY_PASSWORDUsing this gradle configuration:
And this is the output I get when I run it locally:
:artifactoryPublish :artifactoryDeploy Deploying artifact:Deploying artifact: https://XXXXXX.jfrog.io/XXXXXX/enterpriseconfigserver/com/XXXXXX/framework/enterpriseconfigserver/1.0-SNAPSHOT/enterpriseconfigserver-1.0-SNAPSHOT.jar
But when I run it in Pipelines I get this:
Deploying artifact: https://XXXXXX.jfrog.io/XXXXXX/enterpriseconfigserver/com/XXXXXX/framework/build/1.0-SNAPSHOT/build-1.0-SNAPSHOT.jar
Anyone see what I am doing wrong?
artifactIdisbuildinstead ofenterpriseconfigserver- Yuri G.