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.

Reply via email to