Commit 6d85852e authored by 黎博's avatar 黎博

加个日志

parent 282148ec
......@@ -38,6 +38,7 @@ public class PipelineServiceImpl extends ServiceImpl<PipelineMapper, Pipeline> i
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String projectName = JsonPath.read(gitlabData, "$.project.name");
String branch = JsonPath.read(gitlabData, "$.ref").toString().substring(11);
log.info("本次提交的项目名为:{}, 分支为:{}", projectName, branch);
Integer totalCommitCount = JsonPath.read(gitlabData, "$.total_commits_count");
if (totalCommitCount.equals(0)) {
return;
......
......@@ -718,7 +718,7 @@ public class K8sService {
.withPath("/actuator/health/readiness")
.withPort(httpPort)
.build();
s
Probe livenessProbe = new ProbeBuilder()
.withHttpGet(httpGetAction)
.withInitialDelaySeconds(600)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment