deprecated as of TW-72860
SpinAllocator can be used for allocating short-live automatic objects of type T.
Avoiding reenterable allocations, MAX_SIMULTANEOUS_ALLOCATIONS are concurrently possible.
as of Spring 3.0, in favor of using the listener-based test context framework
(org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests)
as of Spring 3.0, in favor of using the listener-based test context framework
(org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests)
as of Spring 3.0, in favor of using the listener-based test context framework
(org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests)
use QueuedBuild.getAgentRestrictor().
If build configuration scheduled to some specific build agent, the id of the build agent is returned,
otherwise null is returned.
This method can lead to unintended removal of tokens, potentially breaking any existing configuration if it references the removed token's IDs.
See the ticket TW-87758 for more information.
Use OAuthTokensStorage.removeSingleToken(String, OAuthToken) instead.
Deprecated since 2024.07
use QueuedBuild.getAgentRestrictor().
Returns actual agent to which build configuration is scheduled or null if there is no such agent or build configuration is not scheduled to a specific agent.
use SRunningBuild.getQueuedAgentRestrictor().
Returns id of an agent this build was queued on (when build configuration was added to queue).
Returns null if build was not queued on a specific agent.
use jetbrains.buildServer.serverSide.SBuild#addBuildProblem to fail build
and jetbrains.buildServer.serverSide.SBuild#muteBuildProblems to mark build as successful