Uses of Class
jetbrains.buildServer.pipeline.exception.OutdatedPipelineVersionException
-
Packages that use OutdatedPipelineVersionException Package Description jetbrains.buildServer.pipeline jetbrains.buildServer.pipeline.impl -
-
Uses of OutdatedPipelineVersionException in jetbrains.buildServer.pipeline
Methods in jetbrains.buildServer.pipeline that throw OutdatedPipelineVersionException Modifier and Type Method Description Pipeline
PipelineManager. save(Pipeline pipeline, String previousVersion, String parentProjectExtId)
This method acts as an optimistic lock When fetching pipeline usingPipelineManager.findById(String)
or#getAll()
, a current pipeline version is provided byPipeline.getPipelineVersion()
When the same pipeline is saved, this version should be provided as [previousVersion] parameter Provided version will be compared to the current version of the pipeline - If the versions match, save will be successful - If the versions don't match,OutdatedPipelineVersionException
will be thrown and the pipeline will not be updated This might happen if pipeline was already updated by other thread\request -
Uses of OutdatedPipelineVersionException in jetbrains.buildServer.pipeline.impl
Methods in jetbrains.buildServer.pipeline.impl that throw OutdatedPipelineVersionException Modifier and Type Method Description Pipeline
PipelineManagerImpl. save(Pipeline pipeline, String previousVersion, String parentProjectExtId)
This implementation only works in single-node setup.
-