-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Hi Team,
When I run the project in Jenkins pipeline with this docker plugin, the below error is being caught. Is there any workaround for the same?
I have stared out username, pass and registryUrl in logs, for security reasons.
:shadowJar (Thread[main,5,main]) completed. Took 46.882 secs.
:buildDocker (Thread[main,5,main]) started.
:buildDocker
Executing task ':buildDocker' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Starting process 'command 'docker''. Working directory: /var/jenkins_home/workspace/PR-200 Command: docker login -u ****** -p ****** registryUrl
Successfully started process 'command 'docker''
Email: EOF
:buildDocker FAILED
:buildDocker (Thread[main,5,main]) completed. Took 1.566 secs.
FAILURE: Build failed with an exception.
-
Where:
Script '/var/jenkins_home/workspace/PR-200/gradle-common/common.gradle' line: 105 -
What went wrong:
Execution failed for task ':buildDocker'.
Process 'command 'docker'' finished with non-zero exit value 1