Signing should only be done if properties are defined

This commit is contained in:
Ziver Koc 2024-09-17 22:25:46 +02:00
parent 55f13b8060
commit d45b13711c
3 changed files with 2 additions and 256 deletions

2
Jenkinsfile vendored
View file

@ -34,7 +34,7 @@ pipeline {
steps {
withGradle {
configFileProvider([configFile(fileId: '70cb2022-0bc2-4b25-98a4-e1526dbf2735', variable: 'GRADLE_PROPERTIES')]) {
sh 'GPG_TTY="$(tty)" ./gradlew --debug -PcustomProperties=${GRADLE_PROPERTIES} sign'
sh './gradlew --debug -PcustomProperties=${GRADLE_PROPERTIES} sign'
sh './gradlew ${gradleParams} publishToMavenLocal'