You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Artifacts are not generated for Android libraries (bu they are for other Java/gradle base modules) from GitLab Ci/CD YAML script using jFrog CLI.
Yesterday I notice that a new version of an Android library was not deployed to Artifactory, at first it seems strange because GitLab deploy job succeed, but looking at the logs everything went fine but it seems like some gradle task were skipped. Please look at the logs I posted instead of the screenshot.
To Reproduce
Here's part of the GitLab YAML script I'm using:
.install_gradle: &install_gradle |
curl -L https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-all.zip -o gradle.zip
unzip -q gradle.zip
export GRADLE_HOME=$(pwd)/gradle-$GRADLE_VERSION
export PATH=${GRADLE_HOME}/bin:${PATH}
echo $GRADLE_HOME
echo $PATH
gradle -v
.connect_artifactory: &connect_artifactory |
curl -fL https://getcli.jfrog.io | sh -s v1.39.7
./jfrog rt config --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USER --password=$ARTIFACTORY_PASS
./jfrog rt c show
.upload_artifact: &upload_artifact |
./jfrog rt gradle-config --use-wrapper=true --repo-resolve=$GRADLE_REPO_KEY --server-id-resolve=Default-Server --repo-deploy=$GRADLE_REPO_KEY --server-id-deploy=Default-Server
./jfrog rt gradle clean artifactoryPublish -b build.gradle --build-name=$ARTIFACT_NAME --build-number=$CI_JOB_ID
# JOB:
publish:
stage: deploy
cache: {}
script:
# Download and Install Gradle
- *install_gradle
# Connect to JFrog Artifactory
- *connect_artifactory
# Replace the repository name in the configuration.yml to the correct one.
- sed -i 's,GRADLE_REPO_KEY,'"$GRADLE_REPO_KEY"',g' configuration.yaml
# Upload artifact to JFrog Artifactory
- *upload_artifact
This script is the same for Android and Java (Spring Boot) gradle based modules. For Java modules the artifact are generated and deployed, but they are not for Android.
Expected behavior
What I would expect is first that the Gradle task that generates the artifact were executed and then that artifact deployed to Artifactory.
Screenshots
Instead of screenshot I can provide logs from GitLab CI/CD Job. One think I've notice is that when the it was working the logs were much bigger, it seems like some gradle task were not executing
With older Artifactory Gradle Plugin (v4.15.2)
------------------------------------------------------------
Gradle 5.6.4
------------------------------------------------------------
Build time: 2019-11-01 20:42:00 UTC
Revision: dd870424f9bd8e195d614dc14bb140f43c22da98
Kotlin: 1.3.41
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM: 11.0.8 (Ubuntu 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OS: Linux 4.4.0-190-generic amd64
�[32;1m$ curl -fL https://getcli.jfrog.io | sh # collapsed multi-line command�[0;m
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 178 100 178 0 0 528 0 --:--:-- --:--:-- --:--:-- 528
100 1344 100 1344 0 0 3490 0 --:--:-- --:--:-- --:--:-- 3490
Downloading the latest version of JFrog CLI...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19.0M 100 19.0M 0 0 24.8M 0 --:--:-- --:--:-- --:--:-- 24.8M
[Info] Encrypting password...
Server ID: Default-Server
Url: <myArtifactoryURL>
User: <myArtifactoryUser>
Password: <myPass>
Default: true
�[32;1m$ sed -i 's,GRADLE_REPO_KEY,'"$GRADLE_REPO_KEY"',g' configuration.yaml�[0;m
�[32;1m$ ./jfrog rt gradle-config --use-wrapper=true --repo-resolve=$GRADLE_REPO_KEY --server-id-resolve=Default-Server --repo-deploy=$GRADLE_REPO_KEY --server-id-deploy=Default-Server # collapsed multi-line command�[0;m
[Info] gradle build config successfully created.
[Info] Downloading bintray/jcenter/org/jfrog/buildinfo/build-info-extractor-gradle/4.15.2/build-info-extractor-gradle-4.15.2-uber.jar
[Info] Downloaded 1 artifact.
[Info] Running gradle command: ./gradlew --init-script /root/.jfrog/dependencies/gradle/4.15.2/gradle.init clean artifactoryPublish -b build.gradle
Downloading https://services.gradle.org/distributions/gradle-5.6.4-all.zip
.....................................................................................................................................
Unzipping /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f/gradle-5.6.4-all.zip to /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f
Set executable permissions for: /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f/gradle-5.6.4/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6.4/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Cannot publish pom for project ':app' since it does not contain the Maven plugin install task and task ':app:artifactoryPublish' does not specify a custom pom path.
No publish configurations specified for project ':' and the default 'archives' configuration does not exist.
Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Checking the license for package NDK (Side by side) 21.3.6528147 in /sdk/licenses
License for package NDK (Side by side) 21.3.6528147 accepted.
Preparing "Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)".
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" ready.
Installing NDK (Side by side) 21.3.6528147 in /sdk/ndk/21.3.6528147
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" complete.
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" finished.
Checking the license for package CMake 3.6.4111459 in /sdk/licenses
License for package CMake 3.6.4111459 accepted.
Preparing "Install CMake 3.6.4111459 (revision: 3.6.4111459)".
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" ready.
Installing CMake 3.6.4111459 in /sdk/cmake/3.6.4111459
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" complete.
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" finished.
Checking the license for package Android SDK Build-Tools 28.0.3 in /sdk/licenses
License for package Android SDK Build-Tools 28.0.3 accepted.
Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
Installing Android SDK Build-Tools 28.0.3 in /sdk/build-tools/28.0.3
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
Checking the license for package Android SDK Platform 29 in /sdk/licenses
License for package Android SDK Platform 29 accepted.
Preparing "Install Android SDK Platform 29 (revision: 5)".
"Install Android SDK Platform 29 (revision: 5)" ready.
Installing Android SDK Platform 29 in /sdk/platforms/android-29
"Install Android SDK Platform 29 (revision: 5)" complete.
"Install Android SDK Platform 29 (revision: 5)" finished.
> Task :clean UP-TO-DATE
> Task :app:externalNativeBuildCleanDebug
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean UP-TO-DATE
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:checkReleaseManifest
> Task :app:generateReleaseBuildConfig
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:packageReleaseResources
> Task :app:parseReleaseLibraryResources
> Task :app:processReleaseManifest
> Task :app:generateReleaseRFile
> Task :app:javaPreCompileRelease
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :app:extractReleaseAnnotations
> Task :app:mergeReleaseGeneratedProguardFiles
> Task :app:mergeReleaseConsumerProguardFiles
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders
> Task :app:generateReleaseAssets
> Task :app:packageReleaseAssets
> Task :app:packageReleaseRenderscript NO-SOURCE
> Task :app:prepareLintJarForPublish
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseJavaResource
> Task :app:transformClassesAndResourcesWithSyncLibJarsForRelease
> Task :app:generateJsonModelRelease
release|armeabi-v7a :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
release|armeabi-v7a :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
release|armeabi-v7a :-- Detecting C compiler ABI info
release|armeabi-v7a :-- Detecting C compiler ABI info - done
release|armeabi-v7a :-- Detecting C compile features
release|armeabi-v7a :-- Detecting C compile features - done
release|armeabi-v7a :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
release|armeabi-v7a :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
release|armeabi-v7a :-- Detecting CXX compiler ABI info
release|armeabi-v7a :-- Detecting CXX compiler ABI info - done
release|armeabi-v7a :-- Detecting CXX compile features
release|armeabi-v7a :-- Detecting CXX compile features - done
release|armeabi-v7a :-- Configuring done
release|armeabi-v7a :-- Generating done
release|armeabi-v7a :-- Build files have been written to: /builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/armeabi-v7a
release|arm64-v8a :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
release|arm64-v8a :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
release|arm64-v8a :-- Detecting C compiler ABI info
release|arm64-v8a :-- Detecting C compiler ABI info - done
release|arm64-v8a :-- Detecting C compile features
release|arm64-v8a :-- Detecting C compile features - done
release|arm64-v8a :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
release|arm64-v8a :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
release|arm64-v8a :-- Detecting CXX compiler ABI info
release|arm64-v8a :-- Detecting CXX compiler ABI info - done
release|arm64-v8a :-- Detecting CXX compile features
release|arm64-v8a :-- Detecting CXX compile features - done
release|arm64-v8a :-- Configuring done
release|arm64-v8a :-- Generating done
release|arm64-v8a :-- Build files have been written to: /builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/arm64-v8a
release|x86 :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
release|x86 :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
release|x86 :-- Detecting C compiler ABI info
release|x86 :-- Detecting C compiler ABI info - done
release|x86 :-- Detecting C compile features
release|x86 :-- Detecting C compile features - done
release|x86 :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
release|x86 :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
release|x86 :-- Detecting CXX compiler ABI info
release|x86 :-- Detecting CXX compiler ABI info - done
release|x86 :-- Detecting CXX compile features
release|x86 :-- Detecting CXX compile features - done
release|x86 :-- Configuring done
release|x86 :-- Generating done
release|x86 :-- Build files have been written to: /builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/x86
release|x86_64 :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
release|x86_64 :-- Check for working C compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
release|x86_64 :-- Detecting C compiler ABI info
release|x86_64 :-- Detecting C compiler ABI info - done
release|x86_64 :-- Detecting C compile features
release|x86_64 :-- Detecting C compile features - done
release|x86_64 :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
release|x86_64 :-- Check for working CXX compiler: /sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
release|x86_64 :-- Detecting CXX compiler ABI info
release|x86_64 :-- Detecting CXX compiler ABI info - done
release|x86_64 :-- Detecting CXX compile features
release|x86_64 :-- Detecting CXX compile features - done
release|x86_64 :-- Configuring done
release|x86_64 :-- Generating done
release|x86_64 :-- Build files have been written to: /builds/sebasira/android-module-boilerplate/app/.cxx/cmake/release/x86_64
> Task :app:externalNativeBuildRelease
Build boilerplate-native-lib_armeabi-v7a
[1/2] Building CXX object CMakeFiles/boilerplate-native-lib.dir/native-lib.cpp.o
[2/2] Linking CXX shared library /builds/sebasira/android-module-boilerplate/app/build/intermediates/cmake/release/obj/armeabi-v7a/libboilerplate-native-lib.so
Build boilerplate-native-lib_arm64-v8a
[1/2] Building CXX object CMakeFiles/boilerplate-native-lib.dir/native-lib.cpp.o
[2/2] Linking CXX shared library /builds/sebasira/android-module-boilerplate/app/build/intermediates/cmake/release/obj/arm64-v8a/libboilerplate-native-lib.so
Build boilerplate-native-lib_x86
[1/2] Building CXX object CMakeFiles/boilerplate-native-lib.dir/native-lib.cpp.o
[2/2] Linking CXX shared library /builds/sebasira/android-module-boilerplate/app/build/intermediates/cmake/release/obj/x86/libboilerplate-native-lib.so
Build boilerplate-native-lib_x86_64
[1/2] Building CXX object CMakeFiles/boilerplate-native-lib.dir/native-lib.cpp.o
[2/2] Linking CXX shared library /builds/sebasira/android-module-boilerplate/app/build/intermediates/cmake/release/obj/x86_64/libboilerplate-native-lib.so
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseNativeLibs
> Task :app:stripReleaseDebugSymbols
> Task :app:transformNativeLibsWithSyncJniLibsForRelease
> Task :app:bundleReleaseAar
> Task :app:uploadArchives
> Task :app:artifactoryPublish
> Task :artifactoryPublish
> Task :extractModuleInfo
> Task :app:extractModuleInfo
[pool-3-thread-1] Deploying artifact: <here was the URL of my artifact, in artifactory>
[pool-3-thread-1] Deploying artifact: <here was the URL of my artifact, in artifactory>
> Task :artifactoryDeploy
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 3m 4s
35 actionable tasks: 33 executed, 2 up-to-date
section_end:1603669575:build_script
�[0Ksection_start:1603669575:after_script
�[0Ksection_end:1603669577:after_script
�[0Ksection_start:1603669577:archive_cache
�[0Ksection_end:1603669578:archive_cache
�[0Ksection_start:1603669578:upload_artifacts_on_success
�[0Ksection_end:1603669580:upload_artifacts_on_success
�[0K�[32;1mJob succeeded
�[0;m
With the newer Artifactory Gradle Plugin (4.18.0)
------------------------------------------------------------
Gradle 5.6.4
------------------------------------------------------------
Build time: 2019-11-01 20:42:00 UTC
Revision: dd870424f9bd8e195d614dc14bb140f43c22da98
Kotlin: 1.3.41
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM: 11.0.8 (Ubuntu 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OS: Linux 4.4.0-190-generic amd64
�[32;1m$ curl -fL https://getcli.jfrog.io | sh # collapsed multi-line command�[0;m
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 178 100 178 0 0 455 0 --:--:-- --:--:-- --:--:-- 455
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1344 100 1344 0 0 3147 0 --:--:-- --:--:-- --:--:-- 187k
Downloading the latest version of JFrog CLI...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19.0M 100 19.0M 0 0 26.0M 0 --:--:-- --:--:-- --:--:-- 26.0M
[Info] Encrypting password...
Server ID: Default-Server
Url: <myArtifactoryURL>
User: <myArtifactoryUser>
Password: <myPass>
Default: true
�[32;1m$ sed -i 's,GRADLE_REPO_KEY,'"$GRADLE_REPO_KEY"',g' configuration.yaml�[0;m
�[32;1m$ ./jfrog rt gradle-config --use-wrapper=true --repo-resolve=$GRADLE_REPO_KEY --server-id-resolve=Default-Server --repo-deploy=$GRADLE_REPO_KEY --server-id-deploy=Default-Server # collapsed multi-line command�[0;m
[Info] gradle build config successfully created.
[Info] Downloading bintray/jcenter/org/jfrog/buildinfo/build-info-extractor-gradle/4.18.0/build-info-extractor-gradle-4.18.0-uber.jar
[Info] Downloaded 1 artifact.
[Info] Running gradle command: ./gradlew --init-script /root/.jfrog/dependencies/gradle/4.18.0/gradle.init clean artifactoryPublish -b build.gradle
Downloading https://services.gradle.org/distributions/gradle-5.6.4-all.zip
.....................................................................................................................................
Unzipping /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f/gradle-5.6.4-all.zip to /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f
Set executable permissions for: /builds/sebasira/android-module-boilerplate/.gradle/wrapper/dists/gradle-5.6.4-all/ankdp27end7byghfw1q2sw75f/gradle-5.6.4/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6.4/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
> Task :clean UP-TO-DATE
> Task :app:externalNativeBuildCleanDebug
Compatible side by side NDK version was not found for android.ndkVersion '21.3.6528147'
Checking the license forpackage NDK (Side by side) 21.3.6528147in /sdk/licenses
License for package NDK (Side by side) 21.3.6528147 accepted.
Preparing "Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)".
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" ready.
Installing NDK (Side by side) 21.3.6528147 in /sdk/ndk/21.3.6528147
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" complete.
"Install NDK (Side by side) 21.3.6528147 (revision: 21.3.6528147)" finished.
Checking the license forpackage CMake 3.6.4111459in /sdk/licenses
License for package CMake 3.6.4111459 accepted.
Preparing "Install CMake 3.6.4111459 (revision: 3.6.4111459)".
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" ready.
Installing CMake 3.6.4111459 in /sdk/cmake/3.6.4111459
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" complete.
"Install CMake 3.6.4111459 (revision: 3.6.4111459)" finished.
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean UP-TO-DATE
> Task :app:artifactoryPublish
> Task :artifactoryPublish
> Task :extractModuleInfo
> Task :app:extractModuleInfo
> Task :artifactoryDeploy
BUILD SUCCESSFUL in 2m 53s
9 actionable tasks: 7 executed, 2 up-to-date
section_end:1604009769:build_script
�[0Ksection_start:1604009769:after_script
�[0Ksection_end:1604009771:after_script
�[0Ksection_start:1604009771:archive_cache
�[0Ksection_end:1604009772:archive_cache
�[0Ksection_start:1604009772:upload_artifacts_on_success
�[0Ksection_end:1604009774:upload_artifacts_on_success
�[0K�[32;1mJob succeeded
�[0;m
Versions
Gradle Artifactory plugin version: v4.18.0
Operating system: Ubuntu
Artifactory Version: 6.10.1 rev 61001900
Additional context
I've also open an issue in jfrog cli because at first I think it was related to it, but now i think it should be here
I also try updating to newer Gradle v6.7 and Android Gradle Plugin v4.1.0 but with the same result. And as this happen when I make that upgrade I decided to revert it because I thought that was the problem.
Also is there I way I can instruct the CLI to use the previous version of Artifactory Gradle Plugin?
The text was updated successfully, but these errors were encountered:
Describe the bug
Artifacts are not generated for Android libraries (bu they are for other Java/gradle base modules) from GitLab Ci/CD YAML script using jFrog CLI.
Yesterday I notice that a new version of an Android library was not deployed to Artifactory, at first it seems strange because GitLab deploy job succeed, but looking at the logs everything went fine but it seems like some gradle task were skipped. Please look at the logs I posted instead of the screenshot.
To Reproduce
Here's part of the GitLab YAML script I'm using:
This script is the same for Android and Java (Spring Boot) gradle based modules. For Java modules the artifact are generated and deployed, but they are not for Android.
Expected behavior
What I would expect is first that the Gradle task that generates the artifact were executed and then that artifact deployed to Artifactory.
Screenshots
Instead of screenshot I can provide logs from GitLab CI/CD Job. One think I've notice is that when the it was working the logs were much bigger, it seems like some gradle task were not executing
With older Artifactory Gradle Plugin (v4.15.2)
With the newer Artifactory Gradle Plugin (4.18.0)
Versions
Additional context
I've also open an issue in jfrog cli because at first I think it was related to it, but now i think it should be here
I also try updating to newer Gradle v6.7 and Android Gradle Plugin v4.1.0 but with the same result. And as this happen when I make that upgrade I decided to revert it because I thought that was the problem.
Also is there I way I can instruct the CLI to use the previous version of Artifactory Gradle Plugin?
The text was updated successfully, but these errors were encountered: