F21 commented on issue #104: WIP: CALCITE-3158: Avatica: migrate build system to Gradle URL: https://github.com/apache/calcite-avatica/pull/104#issuecomment-550202872 @vlsi , thanks, I was able to move forward a little bit. Now, it's complaining about username being null: `` > Task :metrics:publishMetricsPublicationToNexusRepository FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':metrics:publishMetricsPublicationToNexusRepository'. > Failed to publish publication 'metrics' to repository 'nexus' > Username must not be null! * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org 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 FAILED in 1s 52 actionable tasks: 20 executed, 32 up-to-date ``` Again, I am doing everything in a docker container in interactive mode. I also started the gpg agent and authenticated my key as I've found that the console will prevent the key from being entered properly as the build would be working in the background and outputting messages: ``` docker run -v "$PWD":/home/gradle/project -v "/c/Users/Francis Chuang/AppData/Roaming/gnupg":/.gnupg -w /home/gradle/project --network="host" -it gradle sh apt update apt install gnupg2 mkdir -p /root/.gnupg cp -r /.gnupg/ /root/ chmod -R 700 /root/.gnupg/ rm -rf /root/.gnupg/*.lock export GPG_TTY=/dev/console touch /root/.gnupg/gpg-agent.conf echo 'default-cache-ttl 10000' >> /root/.gnupg/gpg-agent.conf echo 'max-cache-ttl 10000' >> /root/.gnupg/gpg-agent.conf "test" | gpg2 --local-user 635665E0BE3F72552910CB74BBE44E923A970AB7 --output /dev/null --sign - gradle prepareVote -PasfTestGitSourceUsername=test -PasfTestGitSourcePassword=test -PallowUncommittedChanges -Prc=0 -PuseGpgCmd -Psigning.gnupg.keyName=635665E0BE3F72552910CB74BBE44E923A970AB7 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
