Hi  All,

i have  also facing Jenkins Deployment issue. could you possible to help me 
to this issue, this error is looks similar to about error.
Please look at below errors.

JENKINS-33510: working directory will be 
/home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE not 
/home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE@2

 
<https://jenkins.platformdxc.com/blue/organizations/jenkins/Platform%20DXC%2Frpa-service/detail/feature%2FABPA-1274-ETE/36/pipeline/#step-58-log-2>Error:
 No such container: 
2baff9ea9dedde01706ed9a77c233a233cfc2f9693227e807e1e2f5914932251

 
<https://jenkins.platformdxc.com/blue/organizations/jenkins/Platform%20DXC%2Frpa-service/detail/feature%2FABPA-1274-ETE/36/pipeline/#step-58-log-3>process
 apparently never started in 
/home/ubuntu/workspace/pa-service_feature_ABPA-1274-ETE@2@tmp/durable-a0339ab6

 
<https://jenkins.platformdxc.com/blue/organizations/jenkins/Platform%20DXC%2Frpa-service/detail/feature%2FABPA-1274-ETE/36/pipeline/#step-58-log-4>script
 returned exit code -2


On Thursday, June 28, 2018 at 12:14:32 AM UTC+5:30, Jeeva Chelladhurai 
wrote:
>
> Thanks! it worked!!
>
> On Wednesday, June 27, 2018 at 7:07:13 PM UTC+5:30, Bernardo Vale wrote:
>>
>> I had this error couple of weeks ago. Go to global configuration, there 
>> is probably an empty environment variable declared.
>>
>> Em qua, 27 de jun de 2018 04:55, Jeeva Chelladhurai <[email protected]> 
>> escreveu:
>>
>>> Hello All,
>>>
>>> I am running Jenkins (2.121.1) inside a Docker container and I use ssh 
>>> node as build nodes. I want to use  withDockerContainer in my pipeline as 
>>> shown in /1/ and getting an error as shown in /2/. Could you please help me 
>>> to resolve this issue?
>>>
>>> /1/
>>> pipeline {
>>>     agent { label "build" }    
>>>     stages {
>>>         stage("test") {
>>>             steps {
>>>                 withDockerContainer (image: 'busybox') {     
>>>                          sh 'pwd'
>>>                 }
>>>
>>>             }
>>>         }
>>>     }
>>> }
>>>
>>> /2/
>>>
>>> Started by user Jeeva S. Chelladhurai 
>>> <https://hashcode.tech/jenkins/user/jeeva>
>>> Running in Durability level: MAX_SURVIVABILITY[Pipeline] nodeRunning on 
>>> build-server <https://hashcode.tech/jenkins/computer/build-server/> in 
>>> /home/ubuntu/workspace/sandbox/withdocker[Pipeline] {[Pipeline] 
>>> stage[Pipeline] { (test)[Pipeline] withDockerContainerbuild-server does not 
>>> seem to be running inside a container
>>> $ docker run -t -d -u 1000:1000 -w 
>>> /home/ubuntu/workspace/sandbox/withdocker -v 
>>> /home/ubuntu/workspace/sandbox/withdocker:/home/ubuntu/workspace/sandbox/withdocker:rw,z
>>>  -v 
>>> /home/ubuntu/workspace/sandbox/withdocker@tmp:/home/ubuntu/workspace/sandbox/withdocker@tmp:rw,z
>>>  -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
>>> ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
>>> ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
>>> ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e 
>>> ******** -e ******** -e ******** -e ******** -e ******** busybox cat
>>> $ docker top 
>>> 661025c3ef5f46681fd3f9c73c8e0522c7dbcbbf35d8531aab0aa4739d5ee840 -eo 
>>> pid,comm[Pipeline] {[Pipeline] sh[withdocker] Running shell script
>>> invalid argument "=" for "-e, --env" flag: invalid environment variable: =
>>> See 'docker exec --help'.
>>> process apparently never started in 
>>> /home/ubuntu/workspace/sandbox/withdocker@tmp/durable-a265513a[Pipeline] }$ 
>>> docker stop --time=1 
>>> 661025c3ef5f46681fd3f9c73c8e0522c7dbcbbf35d8531aab0aa4739d5ee840
>>> $ docker rm -f 
>>> 661025c3ef5f46681fd3f9c73c8e0522c7dbcbbf35d8531aab0aa4739d5ee840[Pipeline] 
>>> // withDockerContainer[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] 
>>> // node[Pipeline] End of PipelineERROR: script returned exit code -2
>>> Finished: FAILURE
>>>
>>> -- 
>>> 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/aeaab9d7-8b08-49b2-b54d-5ce56c34ebf6%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/aeaab9d7-8b08-49b2-b54d-5ce56c34ebf6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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/5598cc5f-8ac9-4301-aaea-6ccbfbe5afa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to