You can just use "checkout scm" where you need them.

Vincent

2016-11-03 15:14 GMT+01:00 Ullrich Hafner <[email protected]>:

> When using the GitHub Organization Folder plug-in Jenkins checks out
> automatically the sources of my project. However, in the corresponding
> Jenkinsfile these sources are not visible, they are stored in a different
> workspace with suffix @script.
>
> My Jenkinsfile currently is just a simple maven command:
> node {
>     def mvnHome = tool 'mvn-default'
>
>     sh "${mvnHome}/bin/mvn verify“
> }
>
> How do I access the checked out sources? Or do I add a stage that uses git
> checkout?
>
>
> --
> 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/C4B30CE4-2C14-4DA9-A567-0D26BE117F50%40gmail.com.
> 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/CAH-zGCgua1%3DOMRzy1vJcyDQgp83_JznCj5hR_qCBPhXK_HexTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to