Build Steps from Json

ID: build-steps-from-json

This plugin enables a builder which takes build steps from json and executes them in freestyle project.

Usage

This plugin enables a builder which takes build steps from json data and executes them in freestyle project.

Snippet generator also provided to user what and how to define builder in formatted code.

This avoids the large listing of build steps in configuration screen with long scrollable.

Example

[
  {
    "stepClass": "hudson.tasks.BatchFile",
    "stepDetails": [
      {
        "command": "echo \"test\""
      },
      {
        "command": "echo \"test1\""
      }
    ]
  },
  {
    "stepClass": "sp.sd.fileoperations.FileOperationsBuilder",
    "stepDetails": [
      {
        "fileOperations": [
          {
            "$class": "FileCreateOperation",
            "fileContent": "test",
            "fileName": "test.txt"
          }
        ]
      }
    ]
  }
]

Note

This plugin is in starting stages and testing with various builders, builders with complex object may not support.

Release 1.0 (10 August 2016)

  • First public release
ArchivesGet past versions
Version: 1.0
Released:
Requires Jenkins 1.625.3
Installs: 450
Labels
This plugin has no labels
Maintainers
Suresh Kumar
Help us improve this page!
This content is served from the Jenkins Wiki the read-only state. We recommend moving the plugin documentation to GitHub, see the guidelines.