Uploaded image for project: 'Jenkins Website'
  1. Jenkins Website
  2. WEBSITE-267

Write a "Pipeline Groovy Primer" section

    XMLWordPrintable

    Details

    • Type: Task
    • Status: To Do (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: content
    • Labels:
      None
    • Similar Issues:

      Description

      Based on this suggestion by Daniel Beck.

      Adding a section which covers the ins-and-outs of writing Pipeline Groovy could help prevent new-comers from falling into the numerous traps that lie in wait in Pipeline Groovy.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Should we collect examples of user confusion here that need to be addressed by this documentation section?

            E.g. https://groups.google.com/d/msg/jenkinsci-users/84EvpTfY2kI/7kkBVkj0DwAJ

            Show
            danielbeck Daniel Beck added a comment - Should we collect examples of user confusion here that need to be addressed by this documentation section? E.g. https://groups.google.com/d/msg/jenkinsci-users/84EvpTfY2kI/7kkBVkj0DwAJ
            Hide
            danielbeck Daniel Beck added a comment -

            "Don't use File and File-based APIs. They won't be able to modify files on nodes other than the master, as the Groovy script is executed on the master, and only specific commands result in execution on a node."

            Show
            danielbeck Daniel Beck added a comment - "Don't use File and File-based APIs. They won't be able to modify files on nodes other than the master, as the Groovy script is executed on the master, and only specific commands result in execution on a node."

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rtyler R. Tyler Croy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: