13
0
geforkt von Mirrors/Velocity

Prepare Javadoc deployment

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-08-25 00:42:54 -04:00
Ursprung 7ee56d9f5f
Commit 9033b1c051

7
Jenkinsfile vendored
Datei anzeigen

@ -2,7 +2,7 @@ pipeline {
agent { agent {
docker { docker {
image 'velocitypowered/openjdk8-plus-git:slim' image 'velocitypowered/openjdk8-plus-git:slim'
args '-v gradle-cache:/root/.gradle:rw -v maven-repo:/maven-repo:rw' args '-v gradle-cache:/root/.gradle:rw -v maven-repo:/maven-repo:rw -v javadoc:/javadoc'
} }
} }
@ -23,5 +23,10 @@ pipeline {
sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish' sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish'
} }
} }
stage('Deploy Javadoc') {
steps {
sh 'rsync -av ./api/build/docs/javadoc/ /javadoc'
}
}
} }
} }