Skip to content

Commit

Permalink
feat:推荐版本号优化 TencentBlueKing#10958 推荐版本号返回上次构建值
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Sep 20, 2024
1 parent 65f7fea commit 0c1c7e5
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@

package com.tencent.devops.process.engine.service

import com.tencent.devops.common.api.exception.ErrorCodeException
import com.tencent.devops.common.api.util.PageUtil
import com.tencent.devops.common.api.util.timestampmilli
import com.tencent.devops.common.auth.api.pojo.ProjectConditionDTO
import com.tencent.devops.common.auth.enums.AuthSystemType
import com.tencent.devops.common.client.Client
import com.tencent.devops.common.pipeline.enums.VersionStatus
import com.tencent.devops.common.redis.RedisOperation
import com.tencent.devops.process.constant.ProcessMessageCode
import com.tencent.devops.process.engine.control.lock.PipelineModelLock
import com.tencent.devops.process.engine.control.lock.PipelineVersionLock
import com.tencent.devops.process.engine.dao.PipelineBuildDao
Expand All @@ -48,7 +46,6 @@ import com.tencent.devops.process.pojo.setting.PipelineVersionSimple
import com.tencent.devops.process.utils.PipelineVersionUtils
import com.tencent.devops.project.api.service.ServiceProjectResource
import org.jooq.DSLContext
import org.jooq.impl.DSL
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import java.util.concurrent.Executors
Expand Down Expand Up @@ -109,7 +106,6 @@ class PipelineRepositoryVersionService(
pipelineVersionLock.lock()
// #8161 软删除数据,前端无法查询到该版本
pipelineResourceVersionDao.deleteByVersion(dslContext, projectId, pipelineId, version)

} finally {
pipelineVersionLock.unlock()
}
Expand Down

0 comments on commit 0c1c7e5

Please sign in to comment.