Skip to content

Commit

Permalink
Improvement
Browse files Browse the repository at this point in the history
- Added node labels based, as discussed in adoptium#2

Signed-off-by: Shubham Verma <shubhamv.sv@gmail.com>
  • Loading branch information
VermaSh committed Apr 5, 2018
1 parent 4c63126 commit f44b484
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion vars/Constants.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,16 @@ class Constants {
static final String WGET_SLAVE_JAR = "\"wget -q --no-check-certificate -O slave.jar ${SLAVE_JAR_LOCATION} ; java -jar slave.jar\"";
static final String SSH_COMMAND = "ssh -C -i ${SSH_KEY_LOCATION} <userName/>@";
static final String SSH_KEY_LOCATION = "";

static final String JENKINS_URL = "https://ci.adoptopenjdk.net/";
}

static final String OS_LABEL_FORMAT = "%s.%s.%s";
static final String GENERIC_LABEL_FORMAT = "%s.%s";
static final String OS_LABEL_PREFIX = "sw.os";
static final String ENDIAN_LABEL_PREFIX = "hw.endian";
static final String PLATFORM_LABEL_PREFIX = "hw.platform";
static final String ARCH_LABEL_PREFIX = "hw.arch";
static final String KERNEL_LABEL_PREFIX = "hw.kernel";
static final String HYPERVISOR_LABEL_PREFIX = "hw.hypervisor";
}

0 comments on commit f44b484

Please sign in to comment.