Skip to content

Conversation

nnaydenov052018
Copy link

Following the linked issues, we are looking for a solution to capture only docker container Id after executing 'docker run' command. In the linked issues (for JENKINS-57452 ,please look at the Comments) you can see that sometimes, additional messages written on the output stream of 'docker run' command are captured in addition to container Id ,and this breaks further 'docker top' command and fails the build/stage.
We propose to use regex - [0-9,a-f]{64} ,to capture docker container Id and exclude additional messages.

@nnaydenov052018
Copy link
Author

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant