I do not believe it's an issue with permissions.

When I have worked with generic jobs, I did not have this issue.  It seems 
to be related to pipeline/workflow.

Hopefully someone that is familiar with the internals of pipeline can 
provide some assistance.

On Tuesday, February 21, 2017 at 2:53:44 PM UTC-5, Jérôme Godbout wrote:
>
> Humm, maybe someone from Jenkins can step in on this I'm out of idea. Else 
> the only think I could see is permission problems for the service to write 
> at that location and compare with the default path.
>
> [image: bodycad] <https://www.bodycad.com/> 
> Jerome Godbout
> Software Developer
> 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
> T:  +1 418 527-1388
> E: jer...@bodycad.com <javascript:>
> www.bodycad.com
>
> The contents of this email message and any attachments are intended solely 
> for the addressee(s) and may contain confidential and/or privileged 
> information and may be legally protected from disclosure. If you are not 
> the intended recipient of this message or their agent, or if this message 
> has been addressed to you in error, please immediately alert the sender by 
> reply email and then delete this message and any attachments. If you are 
> not the intended recipient, you are hereby notified that any use, 
> dissemination, copying, or storage of this message or its attachments is 
> strictly prohibited. 
>
> Le contenu de ce message et les pièces jointes sont destinés uniquement 
> pour le(s) destinataire(s) et peuvent contenir des informations 
> confidentielles et / ou privilégiées qui peuvent être protégées légalement 
> contre toute divulgation. Si vous n'êtes pas le destinataire de ce message 
> ou son agent, ou si ce message vous a été adressé par erreur, s’il vous 
> plaît avertir immédiatement l'expéditeur par courriel de réponse, puis 
> supprimer ce message et les pièces jointes. Si vous n'êtes pas le 
> destinataire prévu, vous êtes par la présente informé que toute 
> utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces 
> jointes est strictement interdit.
>
> On Tue, Feb 21, 2017 at 2:21 PM, Ryan Hutchison <ryan.hu...@gmail.com 
> <javascript:>> wrote:
>
>> I have tried d:/${ITEM_FULLNAME} - no luck
>>
>> I also just tried ${JENKINS_HOME}/TEST/${ITEM_FULLNAME}
>>
>> note default is: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}
>>
>> I created TEST directory under jenkins home same root that workspace 
>> exists - still ignored.
>>
>> Running on master in C:\Program Files 
>> (x86)\Jenkins\workspace\i_api.asicentral.com_master-BLRHPIOJSBVARDRRLSJX5OHVKMDV5UTXULFID5BU57XXXXE37BSQ
>>
>> On Tuesday, February 21, 2017 at 2:13:47 PM UTC-5, Jérôme Godbout wrote:
>>>
>>> can you try d:/${ITEM_FULLNAME}
>>>
>>> reverse the backslash just in case...
>>>
>>> [image: bodycad] <https://www.bodycad.com/> 
>>> Jerome Godbout
>>> Software Developer
>>> 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
>>> T:  +1 418 527-1388
>>> E: jer...@bodycad.com
>>> www.bodycad.com
>>>
>>> The contents of this email message and any attachments are intended 
>>> solely for the addressee(s) and may contain confidential and/or privileged 
>>> information and may be legally protected from disclosure. If you are not 
>>> the intended recipient of this message or their agent, or if this message 
>>> has been addressed to you in error, please immediately alert the sender by 
>>> reply email and then delete this message and any attachments. If you are 
>>> not the intended recipient, you are hereby notified that any use, 
>>> dissemination, copying, or storage of this message or its attachments is 
>>> strictly prohibited. 
>>>
>>> Le contenu de ce message et les pièces jointes sont destinés uniquement 
>>> pour le(s) destinataire(s) et peuvent contenir des informations 
>>> confidentielles et / ou privilégiées qui peuvent être protégées légalement 
>>> contre toute divulgation. Si vous n'êtes pas le destinataire de ce message 
>>> ou son agent, ou si ce message vous a été adressé par erreur, s’il vous 
>>> plaît avertir immédiatement l'expéditeur par courriel de réponse, puis 
>>> supprimer ce message et les pièces jointes. Si vous n'êtes pas le 
>>> destinataire prévu, vous êtes par la présente informé que toute 
>>> utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces 
>>> jointes est strictement interdit.
>>>
>>> On Tue, Feb 21, 2017 at 2:12 PM, Ryan Hutchison <ryan.hu...@gmail.com> 
>>> wrote:
>>>
>>>> Global configuration workspace root directory is set to 
>>>> D:\${ITEM_FULLNAME}
>>>>
>>>> D: is a physical disk.
>>>>
>>>> Service recycled.
>>>>
>>>> LOG:
>>>> Running on asi-bldcn02-01 in C:\Program Files 
>>>> (x86)\Jenkins\workspace\i_api.asicentral.com_master-BLRHPIOJSBVARDRRLSJX5OHVKMDV5UTXULFID5BU57XXXXE37BSQ
>>>>
>>>> Versions:
>>>> Jenkins 2.47
>>>> Pipeline 2.5
>>>>
>>>> Setup using Github Organization/Multibranch pipeline
>>>>
>>>>
>>>> On Tuesday, February 21, 2017 at 1:50:40 PM UTC-5, Ryan Hutchison wrote:
>>>>>
>>>>> Thanks - I will check everything again and try to recycle the service.
>>>>>
>>>>> I am simply mapping to D:\${ITEM_FULLNAME} - where D: is a physical 
>>>>> disk.
>>>>>
>>>>> On Tuesday, February 21, 2017 at 1:45:38 PM UTC-5, Jérôme Godbout 
>>>>> wrote:
>>>>>>
>>>>>> Have you try to restart the Jenkins server so it can take into 
>>>>>> account this new path? If so, which version, cause if the path is truly 
>>>>>> valid, it should work?
>>>>>>
>>>>>> I have a Window server which was working fine with another drive. 
>>>>>> Just a note, if the other drive is a network drive, make sure your 
>>>>>> Jenkins 
>>>>>> services can access it (I strongly recommend avoiding this, this is a 
>>>>>> pain).
>>>>>>
>>>>>> I think (if I remember well) if the path is invalid Jenkins default 
>>>>>> back to the default value for the workspace, but I might be wrong on 
>>>>>> this.
>>>>>>
>>>>>> Make sure the folder exist with proper (case sensitive???)
>>>>>>
>>>>>> [image: bodycad] <https://www.bodycad.com/> 
>>>>>> Jerome Godbout
>>>>>> Software Developer
>>>>>> 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
>>>>>> T:  +1 418 527-1388
>>>>>> E: jer...@bodycad.com
>>>>>> www.bodycad.com
>>>>>>
>>>>>> The contents of this email message and any attachments are intended 
>>>>>> solely for the addressee(s) and may contain confidential and/or 
>>>>>> privileged 
>>>>>> information and may be legally protected from disclosure. If you are not 
>>>>>> the intended recipient of this message or their agent, or if this 
>>>>>> message 
>>>>>> has been addressed to you in error, please immediately alert the sender 
>>>>>> by 
>>>>>> reply email and then delete this message and any attachments. If you are 
>>>>>> not the intended recipient, you are hereby notified that any use, 
>>>>>> dissemination, copying, or storage of this message or its attachments is 
>>>>>> strictly prohibited. 
>>>>>>
>>>>>> Le contenu de ce message et les pièces jointes sont destinés 
>>>>>> uniquement pour le(s) destinataire(s) et peuvent contenir des 
>>>>>> informations 
>>>>>> confidentielles et / ou privilégiées qui peuvent être protégées 
>>>>>> légalement 
>>>>>> contre toute divulgation. Si vous n'êtes pas le destinataire de ce 
>>>>>> message 
>>>>>> ou son agent, ou si ce message vous a été adressé par erreur, s’il vous 
>>>>>> plaît avertir immédiatement l'expéditeur par courriel de réponse, puis 
>>>>>> supprimer ce message et les pièces jointes. Si vous n'êtes pas le 
>>>>>> destinataire prévu, vous êtes par la présente informé que toute 
>>>>>> utilisation, diffusion, copie, ou stockage de ce message ou de ses 
>>>>>> pièces 
>>>>>> jointes est strictement interdit.
>>>>>>
>>>>>> On Tue, Feb 21, 2017 at 1:39 PM, Ryan Hutchison <ryan.hu...@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> I have changed the Workspace Root Directory, but it seems like if 
>>>>>>> you're using Pipeline As Code / Jenkinsfile, it ignores this variable.
>>>>>>>
>>>>>>> On Tuesday, February 21, 2017 at 12:13:53 PM UTC-5, 
>>>>>>> jer...@bodycad.com wrote:
>>>>>>>>
>>>>>>>> What I have found so far:
>>>>>>>>
>>>>>>>> Inside the Jenkins management you can change the Workspace 
>>>>>>>> directory. 
>>>>>>>>
>>>>>>>>
>>>>>>>>    1. http://MY_HOST/Jenkins/configure
>>>>>>>>    2. Right under the home directory into advanced button.
>>>>>>>>    3. Workspace Root Directory 
>>>>>>>>      ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}
>>>>>>>>
>>>>>>>> you could change it for something short indeed like  D:/work
>>>>>>>> I had the same problems with the zip archiving under Windows. The 
>>>>>>>> 256 char path limits is a pain. Keep your job project short, use 
>>>>>>>> description for more info. Try to avoid too many job folder under 
>>>>>>>> Windows 
>>>>>>>> since it does create 2 folder deep /job/name every time.
>>>>>>>>
>>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>> the Google Groups "Jenkins Users" group.
>>>>>>> To unsubscribe from this topic, visit 
>>>>>>> https://groups.google.com/d/topic/jenkinsci-users/Us_sfZTgJgk/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>>> jenkinsci-use...@googlegroups.com.
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/jenkinsci-users/6e769449-4b67-4b36-8a7f-3c60f5c73fdd%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/6e769449-4b67-4b36-8a7f-3c60f5c73fdd%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 a topic in the 
>>>> Google Groups "Jenkins Users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/jenkinsci-users/Us_sfZTgJgk/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> jenkinsci-use...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/jenkinsci-users/55d7015b-dbe2-4b71-b2b1-493a0845f183%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/55d7015b-dbe2-4b71-b2b1-493a0845f183%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 a topic in the 
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jenkinsci-users/Us_sfZTgJgk/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/561732fc-76a8-4165-9459-62b44504ad7b%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/561732fc-76a8-4165-9459-62b44504ad7b%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c28b2c20-8ad9-452d-8685-82fc6821fd45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to