hi,

I've never used `withDockerContainer`,   if you take a look to the 
documentation you'd see the way to run commands inside a docker container 
in pipeline https://jenkins.io/doc/book/pipeline/docker/ this is the same 
code that was in this email thread

pipeline {
  agent {
    label "build"
  }
  stages {
    stage("test") {
      steps {
        script {
          docker.inside(image: 'busybox') {
            sh 'pwd'
          }
        }
      }
    }
  }
}

El viernes, 26 de julio de 2019, 21:22:02 (UTC+2), Ted Kossoko escribió:
>
> Hi, did you find a solution ? I'm facing the same problem. How did you 
> correct it ? 
>
>>
>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0e205821-ba12-4d4a-9ed5-4707065c71ae%40googlegroups.com.

Reply via email to