public class SystemProperty extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SystemProperty.BooleanSystemProperty |
static class |
SystemProperty.IntegerSystemProperty |
static class |
SystemProperty.UrlSystemProperty |
Modifier and Type | Field and Description |
---|---|
static SystemProperty.BooleanSystemProperty |
AGENT_QUEUE_OFFLOADING_ENABLED
Enables offloading of agent queue to disk.
|
static SystemProperty.BooleanSystemProperty |
ALLOW_MUTATIVE_GET_IN_STRICT_XSRF_MODE |
static SystemProperty |
ALLOW_UNSUPPORTED_DB
Whether the user can select an unsupported database or not.
|
static SystemProperty.BooleanSystemProperty |
ALLOW_URL_PARAMETERS_LOGIN
Whether logging in by passing URL parameters (os_username/os_password) is enabled.
|
static SystemProperty |
ANT_HOME
Location of ANT
|
static SystemProperty |
ARTIFACT_COMPRESSION_DARK_FEATURE
Makes artifacts and logs compression tied to the global compression configuration.
|
static SystemProperty |
ARTIFACT_SIZE_LIMIT_PER_BUILD |
static SystemProperty |
ATLASSIAN_DEV_MODE |
static String |
BAMBOO_AGENT_BROKER_URL_PROPERTY_NAME |
static SystemProperty |
BAMBOO_DELETION_ENABLED
If this is set to 'false' then the background deletion service will not delete objects within Bamboo that are
ImmutableDeletable.isMarkedForDeletion()
This is only useful for support purposes |
static SystemProperty |
BAMBOO_FREEMARKER_DEBUG
Unlocks different aspects of Freemarker debug output:
- output template names as html comments (BAM-8006)
|
static SystemProperty |
BAMBOO_HOME_FROM_ENV
Location of Bamboo Home
|
static String |
BAMBOO_HOME_PROPERTY_NAME |
static SystemProperty.BooleanSystemProperty |
BAMBOO_IGNORE_SERVER_STATE_ON_RESTART |
static SystemProperty |
BAMBOO_INSTANCE_SPECIFIC_DATA_LOCATIONS |
static SystemProperty.BooleanSystemProperty |
BAMBOO_MANAGED_JMS_SSL
Whether Bamboo manages SSL keys and certificates in JMS.
|
static SystemProperty |
BAMBOO_MAX_AGENTS_LOADING
Specifies the maximum amount of remote agents able to load at one time
|
static SystemProperty |
BAMBOO_RELOAD_AGENT_CLASSPATH
When set causes the classpath.zip of the Jar Remote class loader to be reset for each agent startup
|
static SystemProperty |
BAMBOO_REQUEST_PROFILING |
static SystemProperty |
BRANCH_EXPIRY_SCHEDULED_TIME
Configure at what time should branch expiry run.
|
static SystemProperty |
BUILD_FAILED_MARKER
Text the builders will look for when checking for build failure, currently only used by ant builder
|
static SystemProperty |
BUILD_PARENT_JAVA_IO_TMPDIR
Parent directory for temporary directories created for builds.
|
static SystemProperty |
BUILD_RESULTS_CACHE_SIZE
Make the buildresults cache configurable
|
static SystemProperty |
BUILD_SUCCESSFUL_MARKER
Text the builders will look for when checking for build success.
|
static SystemProperty.IntegerSystemProperty |
BUILD_WARNINGS_MAXIMUM_COUNT_PER_BUILD
Configure maximum number of warnings stored per build.
|
static SystemProperty.IntegerSystemProperty |
BUILD_WARNINGS_QUEUE_MAX_SIZE
Configure max size of build warnings in queue waiting to be sent to remote repositories.
|
static SystemProperty.IntegerSystemProperty |
BUILD_WARNINGS_THREAD_COUNT
Configure number of threads which will send build warnings to external servers.
|
static SystemProperty |
BUILDING_DISABLED
Disable triggering plans globally in Bamboo.
|
static SystemProperty.IntegerSystemProperty |
CHANGE_DETECTION_CACHE_TTL_SECONDS
Sets the change detection cache TTL in seconds.
|
static SystemProperty.BooleanSystemProperty |
CHECK_MYSQL_VER_ON_UPGRADE
Whether Bamboo should fail on upgrade when version of Mysql is not supported
|
static SystemProperty.BooleanSystemProperty |
CRYPTO_TRUST_HG_SSH_ALL
Whether Bamboo should accept unknown host keys during ssh connection to mercurial repository with private key without password (bypassing proxy)
Use this flag to disable server ssh key validation.
|
static SystemProperty.BooleanSystemProperty |
CRYPTO_TRUST_JGIT_ALL
Whether Bamboo should ignore HTTPS certificate details when make https connection to git repository by JGit library (embedded Git client)
Use this flag to disable server HTTPS certificate validation.
|
static SystemProperty.BooleanSystemProperty |
CRYPTO_TRUST_SVN_SSH_ALL
Whether Bamboo should accept unknown host keys during ssh connection to SVN repository with private key
Use this flag to disable server ssh key validation.
|
static SystemProperty |
CUSTOM_S3_ASSEMBLY_BUCKET
You can override the bucket used for EC2 agent bootstrap using this variable.
|
static SystemProperty |
CVS_CHECKOUT_FORMAT
CVS checkout format, the default behavior is to checkout in BINARY format, although this can be overidden
with either TEXT or NONE
|
static SystemProperty |
CVS_FORCE_CHECKOUT_TO_LATEST
A flag that forces Bamboo's CVS repository to checkout to the latest of that particular branch / HEAD, rather than using the -d flag, which seems to have compatibility issues in some cases.
|
static int |
CVS_SOCKET_TIMEOUT_MS
A socket level timeout in milli-seconds for all CVS connections.
|
static SystemProperty |
CVS_TIME_DIFF
The CVS Server's time offset in minutes if different to Bamboo Server
|
static SystemProperty |
DEFAULT_CVS_ROOT
Default CVS Root (CVS server!)
|
static SystemProperty |
DEFAULT_P4_EXE
Default Perforce p4 executable
|
static SystemProperty |
DEFAULT_PERFORCE_CLIENT
Default Perforce Client
|
static SystemProperty |
DEFAULT_PERFORCE_PORT
Default Perforce Port (Perforce server!)
|
static SystemProperty |
DEFAULT_PERFORCE_USER
Default Perforce User
|
static SystemProperty.IntegerSystemProperty |
DEFAULT_TIMEOUT_FOR_HTTP_CLIENT
Default timeout for
RESTCall.getHttpClientWithTimeout()
Timeout is defined in milliseconds. |
static SystemProperty |
DIRECTORY_SCANNING_PLUGIN_SCAN_DIR
An optional directory to attempt to load additional plugins from.
|
static SystemProperty.BooleanSystemProperty |
DISABLE_AGENT_AUTO_CAPABILITY_DETECTION
Prevents agents from automatically overriding remote agent capabilities on new startup
|
static SystemProperty.BooleanSystemProperty |
DISABLE_ALL_DARK_FEATURES
System property to disable all dark features in Bamboo.
|
static SystemProperty |
DISABLE_BRANCH_DETECTION |
static SystemProperty |
DISABLE_CLOSED_BRANCH_DETECTION |
static SystemProperty.BooleanSystemProperty |
DISABLE_ENCRYPTION
Whether secret encryption logic should be skipped.
|
static SystemProperty.BooleanSystemProperty |
DISABLE_SERIALIZATION_SECURITY
Whether Bamboo should disable serialization security feature.
|
static SystemProperty.BooleanSystemProperty |
DISABLE_STASH_BUILD_STATUS_UPDATES
Globally disable sending build status updates to Stash after builds are executed.
|
static SystemProperty.BooleanSystemProperty |
DISABLE_X_CONTENT_TYPE_OPTIONS_NOSNIFF
Disable adding 'X-Content-Type-Options: nosniff' to all pages served by Bamboo.
|
static SystemProperty.BooleanSystemProperty |
DOCKER_PIPELINES_DISABLED
Whether Docker Pipelines functionality is disabled.
|
static SystemProperty.BooleanSystemProperty |
EC_UPGRADE_TEST_CONNECTION_ENABLED
Enable connection testing during EC upgrade.
|
static SystemProperty |
EC2_AGENT_ENDPOINT
You can override the EC2 agent endpoint here, it will be used instead of the base URL.
|
static SystemProperty.BooleanSystemProperty |
EC2_HTTP_TUNNEL_ENABLED
Whether to enable Tunnel for http traffic to and from the agents.
|
static SystemProperty |
EC2_IGNORE_CERT_CHECK
Allow EC2 agents to ignore invalid certificates, if not using the tunnel
|
static SystemProperty.BooleanSystemProperty |
EC2_JMS_TUNNEL_ENABLED
Whether to enable Tunnel for http and JMS traffic to and from the agents.
|
static SystemProperty |
EC2_TUNNEL_ENABLED
Deprecated.
since 5.6 use
EC2_HTTP_TUNNEL_ENABLED instead. |
static SystemProperty.IntegerSystemProperty |
EC2_TUNNEL_KEY_LENGTH
Set the key length used by EC2 tunnel encryption algorithm.
|
static SystemProperty |
ELASTIC_AGENT_INSTANCE_NAME
Property set on elastic agent that denotes the agent's name to use.
|
static SystemProperty |
ELASTIC_AGENT_LOG_AWS_ID
If it is set to a valid AWS id, it will be used to authenticate to S3 and copy logs there upon shutdown
|
static SystemProperty |
ELASTIC_AGENT_LOG_AWS_SECRET
If it is set to a valid AWS id, it will be used to authenticate to S3 and copy logs there upon shutdown
|
static SystemProperty |
ELASTIC_IMAGE_AMI_ID
Lets you over ride the default elastic images used
|
static SystemProperty.BooleanSystemProperty |
ENABLE_JMS_OVER_HTTP |
static SystemProperty.BooleanSystemProperty |
ENABLE_REMOTE_AGENTS_SHELL
When enabled, users with appropriate permissions can access agents through a terminal integrated with Bamboo.
|
static SystemProperty.BooleanSystemProperty |
ENABLE_XML_FACTORY_OVERRIDE
When enabled, enables applying the system XML parser workaround (BDEV-7924)
|
static SystemProperty.BooleanSystemProperty |
ENFORCE_POLLING_BRANCH_DETECTION_EVEN_WHEN_REPO_CAN_PUSH_IT
Enforce polling branches even for
Repository that implements BranchInformationProvider
and returns False from BranchInformationProvider.usePollingForBranchDetection() |
static SystemProperty |
EVENT_MANAGER_CORE_POOL_SIZE
Optional property for tuning core pool size in Bamboo Event Manager
|
static SystemProperty |
EVENT_MANAGER_MAXIMUM_POOL_SIZE
Optional property for tuning maximum pool size in Bamboo Event Manager
|
static SystemProperty.IntegerSystemProperty |
EXPORT_WAIT_FOR_SERVER_PAUSE_SLEEP
Period between checks of the Server state when export is waiting for the server to pause.
|
static SystemProperty.IntegerSystemProperty |
EXPORT_WAIT_FOR_SERVER_PAUSE_TIMEOUT
Timeout period to wait for running jobs to all be paused before running an export.
|
static SystemProperty |
FILE_UPLOAD_MAXIMUM_SIZE
Maximum size of uploaded files in megabytes
Default : true
env : bamboo.file.upload.max.size=50
java: -Dbamboo.file.upload.max.size=50
|
static SystemProperty |
FILTER_MAVEN_LOG_FOR_DOWNLOAD_STATUS
Filter out Maven artifact download progress status message in build log.
|
static SystemProperty |
FIND_SUCCESS_MESSAGE_IN_LAST
Number of lines for builders to look back to guarantee build successful.
|
static SystemProperty |
FIRE_INITAL_BUILD_FOR_MANUAL_STRATEGY
Fire initial build automatically for manual build strategy on build creation
|
static SystemProperty.IntegerSystemProperty |
FS_TIMESTAMP_RESOLUTION_MS
Defines the worst case resolution of times stored on filesystem.
|
static SystemProperty.BooleanSystemProperty |
FUSION_DEPLOYMENTS_SUPPORT_DISABLED
Disable sending any Deployments data to Fusion plugin.
|
static SystemProperty.BooleanSystemProperty |
GIT_PASSWORD_USE_CREDENTIALS_FILE
Whether Bamboo should use credentials file during https/http connection to git repository with user/password authentication
Use this flag to disable the feature and fallback to old credentials via url method.
|
static SystemProperty.BooleanSystemProperty |
GLOBAL_REPOSITORY_DASHBOARD
Whether Bamboo should show new (true) or old (false) global repository ui.
|
static SystemProperty |
GRAVATAR_BASE_URL
Base url for Atlassian account avatars.
|
static SystemProperty |
HG_CHANGE_SET_LIMIT |
static SystemProperty |
HG_COMMAND_FORCE_DEBUG
Whether mercurial plans output more verbose logs from hg commands.
|
static SystemProperty.BooleanSystemProperty |
HIDE_PORTED_LEGACY_REPOSITORIES
Repository refactoring: do not present legacy repositories that are already ported to new plugin system in create repository widgets.
|
static SystemProperty.BooleanSystemProperty |
JUNIT_PARSER_IGNORE_NAMED_INNER_CLASSES
Set if named inner classes should be ignored as individual test entities during junit report parsing.
|
static SystemProperty.BooleanSystemProperty |
LIMITED_TIME_QUARANTINE_ENABLED
Enables limited time quarantine feature.
|
static SystemProperty.IntegerSystemProperty |
LOG_LINES_FOR_NOTIFICATIONS
Lets you control how much information is showed in notifications
|
static SystemProperty.IntegerSystemProperty |
MAIL_QUEUE_SIZE
Size of Bamboo's mail queue
|
static SystemProperty |
MAVEN_HOME
Location of MAVEN 1
|
static SystemProperty |
MAVEN2_HOME
Location of MAVEN 2
|
static SystemProperty.IntegerSystemProperty |
MAX_CONCURRENT_EXPENSIVE_MESSAGES
Configure maximum number of threads to handle expensive messages concurrently.
|
static SystemProperty.IntegerSystemProperty |
MAX_PENDING_TEST_CASE_EVICTIONS
How often do the test cases get evicted during test parsing.
|
static SystemProperty |
MAX_VCS_OPERATION_RETRIES
Overrides the maximum number of retries for operations that fail.
|
static SystemProperty.IntegerSystemProperty |
MAXIMUM_ALLOWED_ELASTIC_AGENT_STARTUP_TIME_MINUTES
If the elastic agent still isn't alive after this timeout, the instance will be shut down.
|
static SystemProperty.IntegerSystemProperty |
ORPHANED_PULL_REQUEST_INACTIVITY_DAYS
Number of days between last pull request modification and 'now' before pull requests will be deleted.
|
static SystemProperty |
ORPHANED_PULL_REQUESTS_CLEANUP_SCHEDULE
Cron expression to schedule orphaned pull requests removal job.
|
static SystemProperty |
ORPHANED_TEST_CASE_CRON_SCHEDULE
Cron expression to schedule orphaned test case removal job.
|
static SystemProperty |
PATH
The system PATH variable.
|
static boolean |
PATH_SET_ALLOWED
Whenever arbitrary path for export and backup allowed
|
static SystemProperty |
PDL_DARK_FEATURE
Turns on the PDL and related stuff
|
static SystemProperty.BooleanSystemProperty |
PERSIST_RUNTIME_STATE
Whether Bamboo should persist/restore runtime operations: builds and deployments in progress.
|
static SystemProperty |
PLAN_CONFIG_SIMPLIFIED
Turns on new plan config UI (simplified)
|
static SystemProperty |
PLAN_DIRECTORY_INFO_REST
Enable REST resource to get information about the directories where artifacts, build logs, and build results will be stored.
|
static SystemProperty |
PLAN_EXECUTION_DETECTION_THREADS
Allows for the pool size for change detection to be modified.
|
static SystemProperty.IntegerSystemProperty |
PULL_REQUEST_CACHE_TTL
Sets the pull request detection cache TTL in seconds.
|
static SystemProperty.IntegerSystemProperty |
PULL_REQUEST_DETECTION_THREAD_COUNT
Size of thread pool for pull request detection.
|
static SystemProperty.IntegerSystemProperty |
PULL_REQUEST_POLLING_INTERVAL
Interval between polling for open PRs in seconds.
|
static SystemProperty.BooleanSystemProperty |
REMOVE_LABELS_AND_PLANS_FOR_NON_PLAN_ADMIN
Disable sending any Deployments data to Fusion plugin.
|
static SystemProperty.BooleanSystemProperty |
REPOSITORY_STORED_SPECS_POM_SANITIZATION_ENABLED
Controls POM sanitization during Specs processing (enabled by default)
|
static SystemProperty.BooleanSystemProperty |
REPOSITORY_STORED_SPECS_SECURITY_MANAGER_ENABLED
Controls use of security manager during Specs processing (enabled by default)
|
static SystemProperty.IntegerSystemProperty |
REPOSITORY_STORED_SPECS_THREADS
Set the amount of parallel threads processing independent specs updates
|
static SystemProperty.IntegerSystemProperty |
REPOSITORY_STORED_SPECS_TIMEOUT_SECONDS
Set the timeout on commands executed in the repository stored specs feature
|
static SystemProperty |
ROTP_ADMIN_SHORTCUTS_DARK_FEATURE
Turns on the ROTP admin shortcuts
|
static SystemProperty |
ROTP_DARK_FEATURE
Turns on the ROTP header and related stuff
|
static SystemProperty |
ROTP_PROJECT_SHORTCUTS_DARK_FEATURE
Turns on the ROTP project shortcuts
|
static SystemProperty.BooleanSystemProperty |
RSS_COMMIT_LEVEL_COMMENT_DISABLED
Whether Repository Stored Specs execution status comment at repository commit level is disabled.
|
static SystemProperty |
RSS_POLLING_CRON
Configure cron expression for RSS polling.
|
static SystemProperty.BooleanSystemProperty |
RSS_POLLING_ENABLED
Switch RSS polling on.
|
static SystemProperty |
SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE
A workaround for BAM-4069, allows us to search for build successful/failed messages.
|
static SystemProperty |
SEND_FILE_NAMES_TO_AGENT
If your agent side plugins rely on presence of file names in BuildContext, set this property to true.
|
static SystemProperty.BooleanSystemProperty |
SETUP_RSS_IN_DOCKER
Used during Bamboo setup phase.
|
static SystemProperty.BooleanSystemProperty |
SKIP_BOOT_DELEGATION_OVERRIDES
When enabled, skips performing boot delegation workarounds on Bamboo startup
|
static SystemProperty.BooleanSystemProperty |
SKIP_MSSQL_CONFIG_VALIDATION
Turns off MS SQL configuration check.
|
static SystemProperty.BooleanSystemProperty |
SKIP_RSS_OPTIMISATION
Normally, Bamboo will skip RSS processing for plans without changes.
|
static SystemProperty.IntegerSystemProperty |
SPECS_DETECTION_THREADS
Allows for the pool size for Bamboo Specs detection to be modified.
|
static SystemProperty.IntegerSystemProperty |
STASH_REPOSITORY_TRIGGER_POLLING_INTERVAL
Polling interval (in seconds) for Stash trigger type.
|
static SystemProperty.IntegerSystemProperty |
STASH_SSH_PORT_NUMBER
Default ssh port number for stash server.
|
static SystemProperty |
SVN_CACHE_CREDENTIALS
SVN authentication caching
|
static SystemProperty |
SVN_SPOOL_TO_FILE
SVN client to use temporary file for spooling repository files
|
static SystemProperty |
SVN_WC_FORMAT
Deprecated.
since 4.2.1 use
AdministrationConfiguration.getRepositorySettings()
|
static SystemProperty |
TEXT_PLAIN_MIME_DEFAULT_ENCODING
MIME encoding for text/plain resources defined in mimetypes.xml.
|
static SystemProperty.IntegerSystemProperty |
VARIABLE_UPGRADE_BATCH_SIZE
Configure how many results should be processed at each run of variable upgrade.
|
static int |
VARIABLE_UPGRADE_DEFAULT_BATCH_SIZE |
static SystemProperty |
VARIABLE_UPGRADE_SCHEDULE_CRON
Configure at what time variable upgrade should run.
|
Modifier | Constructor and Description |
---|---|
|
SystemProperty(boolean mandatory,
String... properties)
Creates an instance containing the value of the given property - logs an error if it cannot be found
|
protected |
SystemProperty(String property,
boolean mandatory,
org.apache.log4j.Logger log)
Used in testing
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
protected static String |
getEnvironmentVariable(String variable,
boolean mandatory)
Obtain the specified environment variable.
|
String |
getKey()
Obtain the key used to find this property
|
String |
getValue()
Obtain the value of this proprty
|
boolean |
getValue(boolean defaultValue)
Obtain the boolean property value
|
int |
getValue(int defaultValue) |
long |
getValue(long defaultValue) |
String |
getValue(String defaultValue)
Obtain the value of the property (returns the default value if the environment variable has not been defined.
|
void |
setValue(String propertyValue)
So the setting can be set by a test
|
public static final String BAMBOO_HOME_PROPERTY_NAME
public static final String BAMBOO_AGENT_BROKER_URL_PROPERTY_NAME
public static final SystemProperty BAMBOO_HOME_FROM_ENV
public static final SystemProperty MAVEN_HOME
public static final SystemProperty MAVEN2_HOME
public static final SystemProperty ANT_HOME
public static final SystemProperty DEFAULT_CVS_ROOT
public static final SystemProperty DEFAULT_PERFORCE_PORT
public static final SystemProperty DEFAULT_PERFORCE_CLIENT
public static final SystemProperty DEFAULT_PERFORCE_USER
public static final SystemProperty DEFAULT_P4_EXE
public static final SystemProperty FIND_SUCCESS_MESSAGE_IN_LAST
public static final SystemProperty BUILD_SUCCESSFUL_MARKER
public static final SystemProperty BUILD_FAILED_MARKER
public static final SystemProperty SEARCH_BUILD_SUCCESS_FAIL_MESSAGE_EVERYWHERE
public static final SystemProperty.BooleanSystemProperty DISABLE_AGENT_AUTO_CAPABILITY_DETECTION
public static final SystemProperty SVN_SPOOL_TO_FILE
public static final SystemProperty BUILDING_DISABLED
public static final SystemProperty PATH
public static final SystemProperty CVS_TIME_DIFF
public static final SystemProperty CVS_CHECKOUT_FORMAT
public static final SystemProperty CVS_FORCE_CHECKOUT_TO_LATEST
public static final int CVS_SOCKET_TIMEOUT_MS
Socket.setSoTimeout(int)
public static final SystemProperty BUILD_RESULTS_CACHE_SIZE
public static final SystemProperty FILTER_MAVEN_LOG_FOR_DOWNLOAD_STATUS
@Deprecated public static final SystemProperty SVN_WC_FORMAT
AdministrationConfiguration.getRepositorySettings()
public static final SystemProperty SVN_CACHE_CREDENTIALS
public static final SystemProperty.IntegerSystemProperty LOG_LINES_FOR_NOTIFICATIONS
public static final SystemProperty.IntegerSystemProperty FS_TIMESTAMP_RESOLUTION_MS
public static final SystemProperty SEND_FILE_NAMES_TO_AGENT
public static final SystemProperty ELASTIC_IMAGE_AMI_ID
public static final SystemProperty.IntegerSystemProperty MAXIMUM_ALLOWED_ELASTIC_AGENT_STARTUP_TIME_MINUTES
public static final SystemProperty.BooleanSystemProperty EC2_HTTP_TUNNEL_ENABLED
@Deprecated public static final SystemProperty EC2_TUNNEL_ENABLED
EC2_HTTP_TUNNEL_ENABLED
instead.public static final SystemProperty.BooleanSystemProperty EC2_JMS_TUNNEL_ENABLED
public static final SystemProperty.IntegerSystemProperty EC2_TUNNEL_KEY_LENGTH
public static final SystemProperty EC2_IGNORE_CERT_CHECK
public static final SystemProperty FIRE_INITAL_BUILD_FOR_MANUAL_STRATEGY
public static final SystemProperty ALLOW_UNSUPPORTED_DB
public static final boolean PATH_SET_ALLOWED
public static final SystemProperty BUILD_PARENT_JAVA_IO_TMPDIR
public static final SystemProperty EVENT_MANAGER_CORE_POOL_SIZE
public static final SystemProperty EVENT_MANAGER_MAXIMUM_POOL_SIZE
public static final SystemProperty HG_COMMAND_FORCE_DEBUG
public static final SystemProperty DIRECTORY_SCANNING_PLUGIN_SCAN_DIR
public static final SystemProperty ELASTIC_AGENT_LOG_AWS_ID
public static final SystemProperty ELASTIC_AGENT_LOG_AWS_SECRET
public static final SystemProperty BAMBOO_DELETION_ENABLED
ImmutableDeletable.isMarkedForDeletion()
This is only useful for support purposespublic static final SystemProperty BAMBOO_RELOAD_AGENT_CLASSPATH
public static final SystemProperty BAMBOO_MAX_AGENTS_LOADING
public static final SystemProperty BAMBOO_FREEMARKER_DEBUG
public static final SystemProperty MAX_VCS_OPERATION_RETRIES
public static final SystemProperty PLAN_EXECUTION_DETECTION_THREADS
public static final SystemProperty.IntegerSystemProperty SPECS_DETECTION_THREADS
public static final SystemProperty ARTIFACT_COMPRESSION_DARK_FEATURE
public static final SystemProperty ROTP_DARK_FEATURE
public static final SystemProperty ROTP_PROJECT_SHORTCUTS_DARK_FEATURE
public static final SystemProperty ROTP_ADMIN_SHORTCUTS_DARK_FEATURE
public static final SystemProperty PDL_DARK_FEATURE
public static final SystemProperty PLAN_CONFIG_SIMPLIFIED
public static final SystemProperty HG_CHANGE_SET_LIMIT
public static final SystemProperty ARTIFACT_SIZE_LIMIT_PER_BUILD
public static final SystemProperty DISABLE_BRANCH_DETECTION
public static final SystemProperty DISABLE_CLOSED_BRANCH_DETECTION
public static final SystemProperty ATLASSIAN_DEV_MODE
public static final SystemProperty BAMBOO_REQUEST_PROFILING
public static final SystemProperty.BooleanSystemProperty ALLOW_MUTATIVE_GET_IN_STRICT_XSRF_MODE
public static final SystemProperty.BooleanSystemProperty BAMBOO_MANAGED_JMS_SSL
public static final SystemProperty.IntegerSystemProperty EXPORT_WAIT_FOR_SERVER_PAUSE_SLEEP
public static final SystemProperty.IntegerSystemProperty EXPORT_WAIT_FOR_SERVER_PAUSE_TIMEOUT
public static final SystemProperty EC2_AGENT_ENDPOINT
public static final SystemProperty CUSTOM_S3_ASSEMBLY_BUCKET
public static final SystemProperty FILE_UPLOAD_MAXIMUM_SIZE
public static final SystemProperty.BooleanSystemProperty BAMBOO_IGNORE_SERVER_STATE_ON_RESTART
public static final SystemProperty.BooleanSystemProperty ENABLE_JMS_OVER_HTTP
public static SystemProperty.BooleanSystemProperty FUSION_DEPLOYMENTS_SUPPORT_DISABLED
FeatureManager.isFusionDeploymentsSupportEnabled()
to check it's value.public static final SystemProperty.IntegerSystemProperty STASH_SSH_PORT_NUMBER
public static SystemProperty.BooleanSystemProperty REMOVE_LABELS_AND_PLANS_FOR_NON_PLAN_ADMIN
FeatureManager.isFusionDeploymentsSupportEnabled()
to check it's value.public static SystemProperty.BooleanSystemProperty DISABLE_STASH_BUILD_STATUS_UPDATES
FeatureManager.isUpdatingStashWithBuildStatusEnabled()
to check it's value.public static SystemProperty.BooleanSystemProperty ENFORCE_POLLING_BRANCH_DETECTION_EVEN_WHEN_REPO_CAN_PUSH_IT
Repository
that implements BranchInformationProvider
and returns False from BranchInformationProvider.usePollingForBranchDetection()
public static SystemProperty.IntegerSystemProperty STASH_REPOSITORY_TRIGGER_POLLING_INTERVAL
If this value is set to greater than 0 Stash triggers will poll the repository for changes in addition to listening for Stash events.
public static final SystemProperty.BooleanSystemProperty AGENT_QUEUE_OFFLOADING_ENABLED
public static SystemProperty.BooleanSystemProperty ENABLE_REMOTE_AGENTS_SHELL
public static final SystemProperty.BooleanSystemProperty LIMITED_TIME_QUARANTINE_ENABLED
public static SystemProperty.BooleanSystemProperty SKIP_BOOT_DELEGATION_OVERRIDES
public static SystemProperty.BooleanSystemProperty ENABLE_XML_FACTORY_OVERRIDE
public static final SystemProperty.IntegerSystemProperty MAX_CONCURRENT_EXPENSIVE_MESSAGES
public static final SystemProperty BRANCH_EXPIRY_SCHEDULED_TIME
DateTimeFormatter.ISO_LOCAL_TIME
Usage:
-Dbamboo.branch.expiry.schedule="04:56"
public static final SystemProperty.BooleanSystemProperty PERSIST_RUNTIME_STATE
public static final SystemProperty.BooleanSystemProperty GLOBAL_REPOSITORY_DASHBOARD
public static final SystemProperty.IntegerSystemProperty MAIL_QUEUE_SIZE
public static final SystemProperty GRAVATAR_BASE_URL
public static final SystemProperty PLAN_DIRECTORY_INFO_REST
public static final SystemProperty BAMBOO_INSTANCE_SPECIFIC_DATA_LOCATIONS
public static final SystemProperty.BooleanSystemProperty GIT_PASSWORD_USE_CREDENTIALS_FILE
public static final SystemProperty ELASTIC_AGENT_INSTANCE_NAME
public static final SystemProperty.BooleanSystemProperty CRYPTO_TRUST_JGIT_ALL
public static final SystemProperty.BooleanSystemProperty CRYPTO_TRUST_HG_SSH_ALL
public static final SystemProperty.BooleanSystemProperty CRYPTO_TRUST_SVN_SSH_ALL
public static final SystemProperty.BooleanSystemProperty DISABLE_SERIALIZATION_SECURITY
public static final SystemProperty.IntegerSystemProperty MAX_PENDING_TEST_CASE_EVICTIONS
public static final SystemProperty ORPHANED_TEST_CASE_CRON_SCHEDULE
public static final SystemProperty.BooleanSystemProperty SKIP_MSSQL_CONFIG_VALIDATION
public static final SystemProperty.BooleanSystemProperty HIDE_PORTED_LEGACY_REPOSITORIES
public static final SystemProperty.BooleanSystemProperty DISABLE_ALL_DARK_FEATURES
DarkFeatureManager
and DarkFeatureService
.
Will not work for custom system properties used as dark features.public static final SystemProperty.BooleanSystemProperty ALLOW_URL_PARAMETERS_LOGIN
LoginFilter
public static final SystemProperty.BooleanSystemProperty DISABLE_ENCRYPTION
public static final SystemProperty.IntegerSystemProperty REPOSITORY_STORED_SPECS_TIMEOUT_SECONDS
public static final SystemProperty.IntegerSystemProperty REPOSITORY_STORED_SPECS_THREADS
public static final SystemProperty.BooleanSystemProperty REPOSITORY_STORED_SPECS_SECURITY_MANAGER_ENABLED
public static final SystemProperty.BooleanSystemProperty REPOSITORY_STORED_SPECS_POM_SANITIZATION_ENABLED
public static final SystemProperty.IntegerSystemProperty CHANGE_DETECTION_CACHE_TTL_SECONDS
public static final SystemProperty.IntegerSystemProperty PULL_REQUEST_DETECTION_THREAD_COUNT
public static final SystemProperty ORPHANED_PULL_REQUESTS_CLEANUP_SCHEDULE
public static final SystemProperty.IntegerSystemProperty ORPHANED_PULL_REQUEST_INACTIVITY_DAYS
public static final SystemProperty.IntegerSystemProperty PULL_REQUEST_POLLING_INTERVAL
public static final SystemProperty.IntegerSystemProperty PULL_REQUEST_CACHE_TTL
public static final SystemProperty.BooleanSystemProperty JUNIT_PARSER_IGNORE_NAMED_INNER_CLASSES
public static final SystemProperty.IntegerSystemProperty DEFAULT_TIMEOUT_FOR_HTTP_CLIENT
RESTCall.getHttpClientWithTimeout()
Timeout is defined in milliseconds. Default value is 5000 (5s).public static final SystemProperty.BooleanSystemProperty DISABLE_X_CONTENT_TYPE_OPTIONS_NOSNIFF
public static final SystemProperty TEXT_PLAIN_MIME_DEFAULT_ENCODING
public static final SystemProperty.BooleanSystemProperty CHECK_MYSQL_VER_ON_UPGRADE
public static final SystemProperty.BooleanSystemProperty SETUP_RSS_IN_DOCKER
public static final SystemProperty.BooleanSystemProperty SKIP_RSS_OPTIMISATION
public static final SystemProperty.BooleanSystemProperty DOCKER_PIPELINES_DISABLED
public static final SystemProperty.BooleanSystemProperty RSS_COMMIT_LEVEL_COMMENT_DISABLED
public static final SystemProperty VARIABLE_UPGRADE_SCHEDULE_CRON
Usage:
-Dbamboo.variable.upgrade.schedule="0 0 4 ? * *"(fire at 4am every day)
-Dbamboo.variable.upgrade.schedule="0 0 * ? * *"(run every hour)
public static final int VARIABLE_UPGRADE_DEFAULT_BATCH_SIZE
public static final SystemProperty.IntegerSystemProperty VARIABLE_UPGRADE_BATCH_SIZE
public static final SystemProperty.IntegerSystemProperty BUILD_WARNINGS_MAXIMUM_COUNT_PER_BUILD
public static final SystemProperty.IntegerSystemProperty BUILD_WARNINGS_THREAD_COUNT
public static final SystemProperty.IntegerSystemProperty BUILD_WARNINGS_QUEUE_MAX_SIZE
public static final SystemProperty.BooleanSystemProperty RSS_POLLING_ENABLED
public static final SystemProperty RSS_POLLING_CRON
public static final SystemProperty.BooleanSystemProperty EC_UPGRADE_TEST_CONNECTION_ENABLED
public SystemProperty(boolean mandatory, String... properties)
mandatory
- Is the property mandatory or optional?properties
- The property we're loading from the environment (first name found will be loaded)protected SystemProperty(String property, boolean mandatory, org.apache.log4j.Logger log)
property
- The property we're loading from the environmentmandatory
- Is the property mandatory or optional?log
- The logger we're logging errors to@Nullable public String getValue()
public String getKey()
@NotNull public String getValue(@NotNull String defaultValue)
defaultValue
- The default value, if the environment variable has not been definedpublic boolean getValue(boolean defaultValue)
defaultValue
- The default value, if the environment variable has not been defined@Nullable protected static String getEnvironmentVariable(@NotNull String variable, boolean mandatory)
variable
- The variable we requiremandatory
- Is this a mandatory property?public void setValue(String propertyValue)
propertyValue
- The value required by the testpublic boolean exists()
public int getValue(int defaultValue)
public long getValue(long defaultValue)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.