diff --git a/README.md b/README.md index 5ea7b4e..fb7fcf2 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,10 @@ npm install screwdriver-executor-base | Parameter | Type | Description | | :------------- | :---- | :-------------| | config | Object | Configuration Object | +| config.annotations | Object | Optional key/value object | +| config.apiUri | String | Screwdriver's API | | config.buildId | String | The unique ID for a build | | config.container | String | Container for the build to run in | -| config.apiUri | String | Screwdriver's API | | config.token | String | JWT to act on behalf of the build | ##### Expected Outcome diff --git a/index.js b/index.js index 9aa33c4..823e211 100644 --- a/index.js +++ b/index.js @@ -37,9 +37,10 @@ class Executor { * Start a new build * @method start * @param {Object} config Configuration + * @param {Object} [config.annotations] Optional key/value object + * @param {String} config.apiUri Screwdriver's API * @param {String} config.buildId Unique ID for a build * @param {String} config.container Container for the build to run in - * @param {String} config.apiUri Screwdriver's API * @param {String} config.token JWT to act on behalf of the build * @return {Promise} */