Probably not a dev list question.

Le 21 sept. 2017 17:27, "Jesse Glick" <[email protected]> a écrit :

> On Thu, Sep 21, 2017 at 11:04 AM, Carles Capdevila Tejada
> <[email protected]> wrote:
> > I've also seen that, in the SCM API
> > plugin the abstract class SCMFileSystem is able to retrieve a SCMFile,
> from
> > which you can retrieve the contents.
>
> Yes: http://javadoc.jenkins.io/scm-api/jenkins/scm/api/SCMFileSystem.html
>
> > Unfortunately an exception is thrown saying that "Scripts are not
> permitted
> > to use new":
>
> You will not be able to write such a script in Groovy sandbox mode:
> https://plugins.jenkins.io/script-security
>
> I am not sure where you are going with this (and why you are posting
> to the dev list). Did you mean to write a plugin for some purpose? Or
> did you just not know of the existence of
>
> https://jenkins.io/doc/pipeline/steps/workflow-
> multibranch/#readtrusted-read-trusted-file-from-scm
>
> ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/CANfRfr2xJSs8asxtz848eLTyNx8B3
> wiAn6nZPrrErmdCcVWJwA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CANWgJS44mMrxSKmuF2%3D8_2XJWw9pQprW-VqQ7X%3DXx6zdne6S-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to