Skip to content

Commit

Permalink
Remove publishing to maven.
Browse files Browse the repository at this point in the history
  • Loading branch information
darkevilmac committed Sep 10, 2017
1 parent aa8909f commit f5030dc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@ pipeline {
steps {
sh 'rm -f private.gradle'
sh './gradlew setupCiWorkspace clean build'
archive 'build/libs/*jar'
}
}
stage('Deploy') {
steps {
withCredentials([file(credentialsId: 'privateGradle', variable: 'PRIVATEGRADLE')]) {
sh '''
cp "$PRIVATEGRADLE" private.gradle
./gradlew upload
'''
}
archive 'build/libs/*jar'
}
}
}
Expand Down

0 comments on commit f5030dc

Please sign in to comment.