From fa8c7c38eafbbf0e06a43432119c225b589bd71d Mon Sep 17 00:00:00 2001 From: konsthol Date: Mon, 26 May 2025 15:39:13 +0300 Subject: [PATCH] Push poorly written test can down the road another ten years --- vars/customDockerBuildAndPush.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/vars/customDockerBuildAndPush.groovy b/vars/customDockerBuildAndPush.groovy index 8bc55c0..0c49cbf 100644 --- a/vars/customDockerBuildAndPush.groovy +++ b/vars/customDockerBuildAndPush.groovy @@ -1,6 +1,5 @@ def call(String dockerRepo, String imageName, String dockerfilePath, String buildContext, String nexusUser, String nexusPass) { container('custom-docker') { - sh "sleep 5" sh "docker build -t ${imageName} -f ${dockerfilePath} ${buildContext}" echo "Docker image ${imageName} built" sh "docker login http://${dockerRepo} -u ${nexusUser} -p ${nexusPass}"