Up...
Hi all,
I think it is not a difficult question...someone can answer ?
Ty for all
Regards
On Tuesday, April 2, 2019 at 6:37:56 PM UTC+2, Christophe Pruvost wrote:
>
> Hi all,
> I have a declarative pipeline like below and I got an error at the stage
> 'Build Docker Image'
>
> OCI runtime exec failed: exec failed: container_linux.go:348: starting
> container process caused "chdir to cwd
> (\"/opt/bitnami/apps/jenkins/jenkins_home/workspace/AtpDemo2@2/docker\")
> set in config.json failed: no such file or directory": unknown
> Aborted by Christophe PruvostSending interrupt signal to process
>
> pipeline {
>
> agent {
> docker {
> image 'cpruvost/infraascode:latest'
> args '-u root:root'
> }
> }
>
> stages {
> stage('Display User Name') {
> ..
> }
>
> stage('Check Infra As Code Tools') {
> ..
> }
>
> ...
>
> //cause I do not want to use docker in docker
> stage('Docker Build Application Image') {
> agent any
>
> steps {
> dir ('./docker') {
> script {
> sh 'whoami'
> sh 'pwd'
> sh 'ls'
> sh 'docker --version'
> }
> }
> }
> }
> }
>
> Sure I did something wrong so tell me please
> ty for all
>
>
>
--
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/ca3fae18-cc25-49ef-9141-5a4618b9012c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.