Skip to content

Commit

Permalink
Merge pull request #24629 from dmatej/split-docs-to-own-stage
Browse files Browse the repository at this point in the history
Docs pushed to the end of the build
  • Loading branch information
dmatej authored Oct 9, 2023
2 parents 7a841d4 + 25635fb commit edf86dd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
15 changes: 14 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ spec:
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
sh '''
mvn -B -e clean install -Pstaging
mvn -B -e clean install -Pstaging -P'!docs'
'''
}
}
Expand Down Expand Up @@ -236,6 +236,19 @@ spec:
}
}
}
stage('docs') {
steps {
checkout scm
container('maven') {
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
sh '''
mvn -B -e clean install -Pstaging -Pdocs
'''
}
}
}
}
}
}

Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@
<module>qa</module>
<module>nucleus</module>
<module>appserver</module>
</modules>
</profile>
<profile>
<id>docs</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>release-phase-all</name>
<value>true</value>
</property>
</activation>
<modules>
<module>docs</module>
</modules>
</profile>
Expand Down Expand Up @@ -146,7 +158,6 @@
<module>qa</module>
<module>nucleus</module>
<module>appserver</module>
<module>docs</module>
<module>appserver/extras/embedded/common</module>
<module>appserver/tests/appserv-tests/util/reportbuilder</module>
<module>appserver/tests/tck</module>
Expand Down

0 comments on commit edf86dd

Please sign in to comment.