mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
Add Artifactory Deploy to Jenkinsfile
This commit is contained in:
parent
32751a2ce7
commit
fd244eb95c
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -56,7 +56,17 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(currentBuild.result == 'SUCCESS') {
|
if(currentBuild.result == 'SUCCESS') {
|
||||||
parallel docs: {
|
parallel artifactory: {
|
||||||
|
stage('Artifactory Deploy') {
|
||||||
|
node {
|
||||||
|
checkout scm
|
||||||
|
withCredentials([usernamePassword(credentialsId: '02bd1690-b54f-4c9f-819d-a77cb7a9822c', usernameVariable: 'ARTIFACTORY_USERNAME', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
|
||||||
|
sh "./gradlew check artifactoryPublish -x check -PartifactoryUsername=$ARTIFACTORY_USERNAME -PartifactoryPassword=$ARTIFACTORY_PASSWORD --no-daemon --stacktrace"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
docs: {
|
||||||
stage('Deploy Docs') {
|
stage('Deploy Docs') {
|
||||||
node {
|
node {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user