File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ pipeline {
547
547
dockerContainerName = "${env.JOB_NAME}"
548
548
inHostPort = "8082"
549
549
inDockerAndJavaPort = "8081"
550
- inHostLogPath = "/data/docker/logs/${dockerContainerName}"
550
+ inHostLogPath = "/data/docker/logs/${dockerContainerName}/${env.BUILD_NUMBER} "
551
551
inDockerLogPath = "/data/logs"
552
552
dockerRunParam = "--name ${dockerContainerName} -v /etc/hosts:/etc/hosts -v ${inHostLogPath}:${inDockerLogPath} --restart=always -p ${inHostPort}:${inDockerAndJavaPort}"
553
553
}
@@ -671,7 +671,7 @@ pipeline {
671
671
dockerContainerName = "${env.JOB_NAME}"
672
672
inHostPort = "8082"
673
673
inDockerAndJavaPort = "8081"
674
- inHostLogPath = "/data/docker/logs/${dockerContainerName}"
674
+ inHostLogPath = "/data/docker/logs/${dockerContainerName}/${env.BUILD_NUMBER} "
675
675
inDockerLogPath = "/data/logs"
676
676
dockerRunParam = "--name ${dockerContainerName} -v /etc/hosts:/etc/hosts -v ${inHostLogPath}:${inDockerLogPath} --restart=always -p ${inHostPort}:${inDockerAndJavaPort}"
677
677
}
You can’t perform that action at this time.
0 commit comments