Skip to content

Instantly share code, notes, and snippets.

@jaredwy
Forked from i386/gist:979935
Created May 19, 2011 00:51
Show Gist options
  • Save jaredwy/979939 to your computer and use it in GitHub Desktop.
Save jaredwy/979939 to your computer and use it in GitHub Desktop.
Bamboo Task in Javascript
require_component('processService');
var task = {
execute: function(context) {
var logger = context.buildLogger;
logger.addLogEntry("Hello World!");
return {
taskState: "successful",
resultData: {},
taskIdentifier: context;
};
};
}
task.execute(context);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment