fix restdoc generation and append restdoc artifact to buildjob

This commit is contained in:
Sebastian Sdorra
2019-01-28 14:28:34 +01:00
parent 9637982a3c
commit f22abaf0e2
4 changed files with 9 additions and 3 deletions

3
Jenkinsfile vendored
View File

@@ -26,7 +26,7 @@ node('docker') {
}
stage('Build') {
mvn 'clean install -DskipTests'
mvn 'clean install -Pdoc -DskipTests'
}
stage('Unit Test') {
@@ -53,6 +53,7 @@ node('docker') {
stage('Archive') {
archiveArtifacts 'scm-webapp/target/scm-webapp.war'
archiveArtifacts 'scm-server/target/scm-server-app.*'
archiveArtifacts 'scm-webapp/target/scm-webapp-restdocs.zip'
}
stage('Docker') {

View File

@@ -777,7 +777,7 @@
<jaxrs.version>2.0.1</jaxrs.version>
<resteasy.version>3.1.3.Final</resteasy.version>
<jersey-client.version>1.19.4</jersey-client.version>
<enunciate.version>2.9.1</enunciate.version>
<enunciate.version>2.11.1</enunciate.version>
<jackson.version>2.8.6</jackson.version>
<guice.version>4.0</guice.version>

View File

@@ -137,7 +137,7 @@
<profiles>
<profile>
<id>doc</id>
<id>plugin-doc</id>
<build>
<plugins>

View File

@@ -896,6 +896,11 @@
<artifactId>enunciate-lombok</artifactId>
<version>${enunciate.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
</dependencies>
</plugin>