I'm currently uploading an EAR file (after building it with Gradle) using the following commands:
SET APP_NAME=my-app
REM Set JFrog variables from Jenkins variables.
SET JFROG_CLI_BUILD_NAME=%JOB_NAME:/= :: %
SET JFROG_CLI_BUILD_NUMBER=%BUILD_NUMBER%
SET JFROG_CLI_BUILD_URL=%BUILD_URL%
jf config add artifactory --overwrite --url=https://artifactory.xxx.yyy --user="%ART_USER%" --password="%ART_PASS%"
jf rt upload ".gradle_build\distributions\*.ear" "zzz/yyy/xxx/zz/%APP_NAME%/%RELEASE%-SNAPSHOT/%APP_NAME%-%RELEASE%-SNAPSHOT.ear"
jf rt build-publish
I've been looking into using the Gradle plugin instead, but I'm not sure what all needs to be set. This is what I have right now:
How can we help?
I'm currently uploading an EAR file (after building it with Gradle) using the following commands:
I've been looking into using the Gradle plugin instead, but I'm not sure what all needs to be set. This is what I have right now:
What am I missing to get the plugin configured to work the same as the CLI commands?