Skip to content

Commit

Permalink
Documenting the aggregator profiles + added qa profile + updated Jenk…
Browse files Browse the repository at this point in the history
…insfile

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Oct 31, 2023
1 parent ab30b5a commit 76c69ae
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Expand Up @@ -208,7 +208,7 @@ spec:
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
sh '''
mvn -B -e clean install -Pstaging -P'!docs'
mvn -B -e clean install -Pstaging,qa
'''
}
}
Expand Down Expand Up @@ -243,7 +243,7 @@ spec:
dumpSysInfo()
timeout(time: 1, unit: 'HOURS') {
sh '''
mvn -B -e clean install -Pstaging -Pdocs
mvn -B -e clean install -Pstaging -f docs -amd
'''
}
}
Expand Down
29 changes: 28 additions & 1 deletion pom.xml
Expand Up @@ -96,6 +96,10 @@
</build>

<profiles>
<!--
This profile is implicit when you run maven clean install and is automatically disabled
when you choose another from this set.
-->
<profile>
<id>default</id>
<activation>
Expand All @@ -109,7 +113,10 @@
</modules>
</profile>

<!-- Ommits a variety of things in order to get the fastest build of a basic full glassfish server -->
<!--
Build glassfixh.zip as soon as possible.
Profile of the same id is also in parent, together they exclude unimportant modules and plugin executions.
-->
<profile>
<id>fastest</id>
<modules>
Expand All @@ -119,6 +126,21 @@
</modules>
</profile>

<!--
Build all distributed binaries except documentation and run all maven tests.
-->
<profile>
<id>qa</id>
<modules>
<module>qa</module>
<module>nucleus</module>
<module>appserver</module>
</modules>
</profile>

<!--
Change version number in all artifacts in the repository.
-->
<profile>
<id>set-version-id</id>
<modules>
Expand All @@ -132,6 +154,11 @@
</modules>
</profile>

<!--
Merges all exec files in the directory tree - useful when you want to se the code coverage
produced by integration tests executed by different modules, or exactly opposite - to see
not covered by tests at all.
-->
<profile>
<id>jacoco-merge</id>
<build>
Expand Down

0 comments on commit 76c69ae

Please sign in to comment.