convert_jenkinsfile
Convert Jenkinsfile to GitHub Actions workflow YAML. Takes declarative pipeline content and returns an equivalent workflow, enabling CI/CD migration.
Instructions
Convert a Jenkinsfile (declarative pipeline syntax) to a GitHub Actions workflow YAML. Takes a Jenkinsfile content as input and returns the equivalent GitHub Actions workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jenkinsfile": "<jenkinsfile>"
},
"name": "convert_jenkinsfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (yaml or json). Default is yaml. | yaml |
| jenkinsfile | Yes | The content of the Jenkinsfile to convert |