On Fri, Aug 26, 2016 at 3:06 AM, Ramón Rial <[email protected]> wrote:
> I have a collection of groovy scripts that parses that information, and
> assign and/or fixes missing data (scm url's, ownership, folder and project
> descriptions...) to the project.
> But there is some work that should be done at "build time"

This is not, and should never be, possible from within a sandboxed
build. You could use the Groovy Postbuild plugin to add metadata to
the current *build* (not *job*).

> with pipeline I don't know how to:
>
> * Get the full name of the project (getFullName(), I use the Folders
> plugin).
> * Change the description of a project.
> * Get the Ownership plugin of a project.

These are just Jenkins model API questions which can be answered in
the Javadoc; it is not specific to Pipeline, once you get the
`currentBuild.rawBuild` which is a `hudson.model.Run`.

-- 
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/CANfRfr3JKymjJYePWDFZUp%3DmsDToTFXAw1iH%3DA%3DSmkn7jukAeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to