Skip to content

Commit

Permalink
feat:java插件支持在指定的java环境下运行 TencentBlueKing#10978
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyin0801 committed Sep 23, 2024
1 parent 4ef77cc commit 1e3fe05
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ class JavaAtomRunConditionHandleServiceImpl : AtomRunConditionHandleService {
postEntryParam: String?
): String {
val executePath = System.getProperty(BK_CI_ATOM_EXECUTE_ENV_PATH)
logger.info("handleAtomTarget|target:$target,osType:$osType,postEntryParam:$postEntryParam,executePath:$executePath")
logger.info(
"handleAtomTarget|target:$target,osType:$osType,postEntryParam:$postEntryParam,executePath:$executePath"
)
var convertTarget = target
if (!executePath.isNullOrBlank()) {
convertTarget = if (target.startsWith("\$$JAVA_PATH_ENV")) {
Expand Down

0 comments on commit 1e3fe05

Please sign in to comment.