Documentation ¶
Overview ¶
Package jenkins implements some helper functions to use during tests. Many times certain facilities are not available, or tests must run differently.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvVar ¶
type EnvVar string
EnvVar is a type to use travis-only env var names with the type system.
const ( VarBuildNumber EnvVar = "BUILD_NUMBER" VarBuildId EnvVar = "BUILD_ID" VarBuildUrl EnvVar = "BUILD_URL" VarNodeName EnvVar = "NODE_NAME" VarJobName EnvVar = "JOB_NAME" VarBuildTag EnvVar = "BUILD_TAG" VarJenkinsUrl EnvVar = "JENKINS_URL" VarExecutorNumber EnvVar = "EXECUTOR_NUMBER" VarJavaHome EnvVar = "JAVA_HOME" VarWorkspace EnvVar = "WORKSPACE" VarSvnRevision EnvVar = "SVN_REVISION" VarCvsBranch EnvVar = "CVS_BRANCH" VarGitCommit EnvVar = "GIT_COMMIT" VarGitUrl EnvVar = "GIT_URL" VarGitBranch EnvVar = "GIT_BRANCH" )
Environment variables that Jenkins uses.
Click to show internal directories.
Click to hide internal directories.