Thank you, Jesse El viernes, 26 de agosto de 2016, 18:03:49 (UTC+2), Jesse Glick escribió: > > On Fri, Aug 26, 2016 at 3:06 AM, Ramón Rial <[email protected] > <javascript:>> 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/d9f2bd42-e5d4-46d0-8d1e-9b2ca07385cb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
