javadoc jenkins test
This commit is contained in:
parent
af2c2d9632
commit
1ab24af7cf
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -8,7 +8,7 @@ node {
|
||||
/* This builds the actual image; synonymous to
|
||||
* docker build on the command line */
|
||||
|
||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true .")
|
||||
app = docker.build("brokenfire/brokendiscordbot","--rm=true .","-v build/:build/")
|
||||
}
|
||||
stage('Push image') {
|
||||
/* Finally, we'll push the image with two tags:
|
||||
@ -21,4 +21,9 @@ node {
|
||||
stage('Cleaning'){
|
||||
sh "docker image prune -f"
|
||||
}
|
||||
stage('build Javadoc'){
|
||||
archiveJavadoc{
|
||||
javadocDir('build/docs/javadoc')
|
||||
}
|
||||
}
|
||||
}
|
@ -23,6 +23,11 @@ repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
javadoc {
|
||||
source = sourceSets.main.allJava
|
||||
classpath = configurations.compile
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user