Hi there, 

just a comment on your second question:

2) secondly, why Jenkins creates another  directory @tmp when I would like 
to execute a command from my workspace.

-> you are able to configure the executing jvm to use another tmp dir. 
Example : java -Djava.io.tmpdir=/path/to/tmpdir
(Especially handy if you are using RHEL7 or other oses which do not allow 
to execute stuff in /tmp)

On Tuesday, February 14, 2017 at 3:34:12 AM UTC+1, Sharan Basappa wrote:
>
> Tyler,
>
> I have a few questions for which I could not find answers after going 
> through the documentation.
> Unfortunately, understanding of these are necessary for anyone to create a 
> decent build jobs.
>
> 1) Jenkins seems to be executing from a directory named @tmp (and some 
> other names). The files I am referring are not available in @tmp directory 
> and hence
> the pipeline stage is exiting
> 2) secondly, why Jenkins creates another  directory @tmp when I would like 
> to execute a command from my workspace.
> All the references made by the script are available here.
> 3) I have also seen that sometimes the files from git are available but 
> .git itself is missing
>
> Can you comment?
>
> On Monday, 13 February 2017 19:31:37 UTC+5:30, R Tyler Croy wrote:
>
>> (replies inline) 
>>
>> On Mon, 13 Feb 2017, christian polzer wrote: 
>>
>> > Hello, 
>> > 
>> > I am currently trying to spread pipeline usage for a jenkins 
>> environment 
>> > within my fellow coworkers. 
>> > Of course, th jenkins pipeline is greatly embrased :) 
>> > 
>> > But what is the documentation in the jenkins book about? Fellow 
>> CoCoders 
>> > stumble over the jenkinsfile chapter as the examples are not working: 
>> > https://jenkins.io/doc/book/pipeline/ 
>> > 
>> > What documentation do you guys use? 
>>
>>
>> What examples are not working for you? I wrote almost all of them and I'm 
>> pretty sure every single one works, perhaps I made a typo. 
>>
>> Could you share the error you're seeing and the corresponding Jenkinsfile 
>> example? 
>>
>>
>> Cheers 
>> - R. Tyler Croy 
>>
>> ------------------------------------------------------ 
>>      Code: <https://github.com/rtyler> 
>>   Chatter: <https://twitter.com/agentdero> 
>>      xmpp: rty...@jabber.org 
>>
>>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F 
>> ------------------------------------------------------ 
>>
>

-- 
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/8de9e3e9-af40-42d6-9a45-0e335f99c374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to