> On 09.02.2017, at 03:17, Sharan Basappa <[email protected]> wrote:
> 
> But I would like to understand the reason behind having files in 
> {workspace}@script rather than {workspace} ...

The Jenkinsfile is checked out to @script so it's not in the actual workspace 
(duh), and you can e.g. deleteDir() to remove leftovers from previous builds 
without getting into problems (imagine a cartoon character sawing off the 
branch on which it sits…).

Did you forget to `checkout scm` inside the node block?

-- 
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/F90EA17C-C22B-47D7-9A32-783AAB0E4CF1%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to