Skip to content

Commit 82407be

Browse files
committed
Produce develocity reports on all Jenkins CI runs for PRs
We were incorrectly skipping these reports for runs that didn't have a specific CI node set (like JDK version runs for PRs to the 6.6 branch).
1 parent 748fa8f commit 82407be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void ciBuild(buildEnv, String args) {
229229
}
230230
}
231231
}
232-
else if ( buildEnv.node && buildEnv.node != 's390x' ) { // We couldn't get the code below to work on s390x for some reason.
232+
else if ( buildEnv.node != 's390x' ) { // We couldn't get the code below to work on s390x for some reason.
233233
// Pull request: we can't pass credentials to the build, since we'd be exposing secrets to e.g. tests.
234234
// We do the build first, then publish the build scan separately.
235235
tryFinally({

0 commit comments

Comments
 (0)