We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1e5c2 commit 84bb443Copy full SHA for 84bb443
Jenkinsfile
@@ -44,6 +44,17 @@ pipeline {
44
}
45
46
47
+ stage('upload-to-bintray') {
48
+ when { expression { return BRANCH_NAME == 'publish' } }
49
+ environment {
50
+ BINTRAY_URL = credentials('bintray_url')
51
+ BINTRAY_LOGIN = credentials('bintray_login')
52
+ }
53
+ steps {
54
+ sh './gradlew --stacktrace -PpreferedRepo=${BINTRAY_URL} -PpreferedUsername=${BINTRAY_LOGIN_UST} -PpreferedPassword=${BINTRAY_LOGIN_PSW} uploadArchives'
55
56
57
+
58
59
60
// For global vars see /jenkins/pipeline-syntax/globals
0 commit comments