Skip to content

Instantly share code, notes, and snippets.

@gschueler
Last active August 29, 2015 14:22
Show Gist options
  • Save gschueler/2de768fd460b42e958bc to your computer and use it in GitHub Desktop.
Save gschueler/2de768fd460b42e958bc to your computer and use it in GitHub Desktop.
put in my-step-plugin/plugin.yaml
name: My plugin
version: 1.0
rundeckPluginVersion: 1.0
author: Your name
date: 9/26/13
providers:
- name: my-plugin
service: WorkflowStep
title: My Plugin
description: Demonstrates plugins
plugin-type: script
script-interpreter: /bin/bash
script-file: script.sh
script-args: '${config.name} ${config.mood}'
config:
- type: String
name: name
title: Name
description: What is your name?
- type: Select
name: mood
title: Mood
description: How do you feel?
default: Happy
values:
- Happy
- At a Loss
- Wonderful
- name: my-node-plugin
service: WorkflowNodeStep
title: My Plugin
description: Demonstrates plugins
plugin-type: script
script-interpreter: /bin/bash
script-file: nodescript.sh
script-args: '${config.name} ${config.mood} ${node.name}'
config:
- type: String
name: name
title: Name
description: What is your name?
- type: Select
name: mood
title: Mood
description: How do you feel?
default: Happy
values:
- Happy
- At a Loss
- Wonderful
- name: my-remote-node-plugin
service: RemoteScriptNodeStep
title: Remote Script Plugin
description: Demonstrates remote node script
plugin-type: script
script-interpreter: /bin/bash
script-file: nodescript.sh
script-args: '${config.name} ${config.mood} ${node.name}'
config:
- type: String
name: name
title: Name
description: What is your name?
- type: Select
name: mood
title: Mood
description: How do you feel?
default: Happy
values:
- Happy
- At a Loss
- Wonderful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment