Skip to content

Instantly share code, notes, and snippets.

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