Re: p4 unshelve fails in a pipeline job

2017-03-28 Thread Ravi Kondamuru


I found the following issue in Jenkins issue tracker that seems to be 
related to what i am seeing:

https://issues.jenkins-ci.org/browse/JENKINS-34014


The workaround suggested helps.


thanks,
Ravi.

On Saturday, March 25, 2017 at 5:34:40 PM UTC-7, Ravi Kondamuru wrote:
>
> Hi,
>
> I have a pipeline based job where I do an unshelve, if user provides it as 
> input. However, I see that it always indicates "no such files". If i run 
> the command on a regular system it succeeds. I am not able to figure out 
> what this error indicates. 
>
> Any help will be appreciated.
>
> thanks,
> Ravi.
>
>
>
> Console log:
>
> [vpx] P4 Task: unshelve review: 582305
> [vpx] (p4):cmd:... p4 unshelve -f -s582305 -cdefault
> [vpx] p4 unshelve -f -s582305 -cdefault
> [vpx] 
> [vpx]  - no such file(s).
> [vpx] 
> [vpx] (p4):stop:6
> [vpx] ... duration: (7ms)
>
>
>
> Jenkinsfile:
>
>
> checkout([$class: 'PerforceScm', 
> credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574', ...)
>
> if (Shelved_Changelist_No != "") {
>
> p4unshelve resolve: 'am', shelf:"${Shelved_Changelist_No}", 
> credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574'
>
> }
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9cce2806-c5c5-4e96-98d9-bfe7f260adb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


p4 unshelve fails in a pipeline job

2017-03-25 Thread Ravi Kondamuru
Hi,

I have a pipeline based job where I do an unshelve, if user provides it as 
input. However, I see that it always indicates "no such files". If i run 
the command on a regular system it succeeds. I am not able to figure out 
what this error indicates. 

Any help will be appreciated.

thanks,
Ravi.



Console log:

[vpx] P4 Task: unshelve review: 582305
[vpx] (p4):cmd:... p4 unshelve -f -s582305 -cdefault
[vpx] p4 unshelve -f -s582305 -cdefault
[vpx] 
[vpx]  - no such file(s).
[vpx] 
[vpx] (p4):stop:6
[vpx] ... duration: (7ms)



Jenkinsfile:


checkout([$class: 'PerforceScm', 
credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574', ...)

if (Shelved_Changelist_No != "") {

p4unshelve resolve: 'am', shelf:"${Shelved_Changelist_No}", 
credential:'42c7583c-d502-41d9-abac-d9ab9a9ea574'

}

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2862b9ad-e873-4d6c-90ca-cfa7a4503ef1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.