Created
May 19, 2011 00:49
-
-
Save i386/979935 to your computer and use it in GitHub Desktop.
Bamboo Task in Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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