Merge remote-tracking branch 'origin/release/os/4.4' into vkolomeyko/os-4.4-os-4.5-merge

This commit is contained in:
Viktor Kolomeyko 2020-07-20 11:51:08 +01:00
commit 4491abd7ba
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ killAllExistingBuildsForJob(env.JOB_NAME, env.BUILD_NUMBER.toInteger())
* Sense environment * Sense environment
*/ */
boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/) boolean isReleaseTag = (env.TAG_NAME =~ /^release-.*(?<!_JDK11)$/)
boolean isInternalRelease = (env.TAG_NAME =~ /^internal-release-.*$/)
/* /*
** calculate the stage for NexusIQ evaluation ** calculate the stage for NexusIQ evaluation
** * build for snapshots ** * build for snapshots
@ -159,7 +160,7 @@ pipeline {
stage('Publish Release to Docker Hub') { stage('Publish Release to Docker Hub') {
when { when {
expression { isReleaseTag } expression { !isInternalRelease && isReleaseTag }
} }
steps { steps {
withCredentials([ withCredentials([

View File

@ -17,7 +17,7 @@ import java.nio.channels.FileChannel;
* import sun.misc.Unsafe; * import sun.misc.Unsafe;
* import sun.nio.ch.DirectBuffer; * import sun.nio.ch.DirectBuffer;
*/ */
class SharedMemoryIncremental extends PortAllocation { public class SharedMemoryIncremental extends PortAllocation {
static private final int DEFAULT_START_PORT = 10_000; static private final int DEFAULT_START_PORT = 10_000;
static private final int FIRST_EPHEMERAL_PORT = 30_000; static private final int FIRST_EPHEMERAL_PORT = 30_000;