Skip to content

Commit

Permalink
Merge pull request rundeck#778 from rundeck/issue/764-notify-plugin-c…
Browse files Browse the repository at this point in the history
…ontext

Add missing context to execution data
  • Loading branch information
gschueler committed May 21, 2014
2 parents 6445e29 + eed4aa8 commit 0aeaf02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ public class NotificationService implements ApplicationContextAware{
def Execution exec = content.execution
def execMap = generateExecutionData(exec,content)
def jobMap = exportJobdata(source)
execMap.job=jobMap
Map context=generateContextData(exec,content)
execMap.job=jobMap
execMap.context=context
Map config= n.configuration
if (context && config) {
config = DataContextUtils.replaceDataReferences(config, context)
Expand Down

0 comments on commit 0aeaf02

Please sign in to comment.