Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-30 11:01:27 +01:00
parent d6d35235a4
commit 845e2aa9b3

16
Jenkinsfile vendored
View File

@ -78,7 +78,21 @@ pipeline {
sh "git commit -m \"Add generated files\" || true"
sh "cd tdlib; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} clean deploy"
sh "cd tdlight; mvn -B -s $MVN_SET -Drevision=${BUILD_NUMBER} clean deploy"
/* Publish javadocs */
}
}
stage("Publish Javadocs") {
agent {
docker {
image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven'
reuseNode true
}
}
when {
expression { params.RELEASE }
}
steps {
sh "\
cd tdlight/target/apidocs; \
git remote add origin https://git.ignuranza.net/tdlight-team/tdlight-docs; \