Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Fix benchmark compilation #980

Merged
merged 6 commits into from
Feb 26, 2019
Merged

Conversation

ajsutton
Copy link
Contributor

PR description

Add compileJmh to the build process to ensure that benchmark code at least compiles. Fix the compilation error.

Jenkinsfile Outdated
@@ -54,7 +54,7 @@ try {
docker.image(build_image).inside("--link ${d.id}:docker") {
try {
stage(stage_name + 'Prepare') {
sh './gradlew --no-daemon --parallel clean compileJava compileTestJava assemble'
sh './gradlew --no-daemon --parallel clean compileJava compileTestJava compileJmh assemble'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change also needs to happen on lines 81, 105, & 135

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I considered that but we actually only need one task to do the compilation - the results aren't used so no point in having them all do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually may be better to make it its own stage like javadoc is...

@ajsutton ajsutton merged commit 698b33a into PegaSysEng:master Feb 26, 2019
@ajsutton ajsutton deleted the fix-benchmark-compile branch February 26, 2019 23:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants