Skip to content

Commit

Permalink
fix(quip): fix for quip version not correctly propagating
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaslin committed Mar 30, 2017
1 parent 8ebf044 commit 177bb11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ class ResolveQuipVersionTask implements RetryableTask {
objectMapper)
String version = stage.context?.patchVersion ?: packageInfo.findTargetPackage(allowMissingPackageInstallation)?.packageVersion

return new TaskResult(ExecutionStatus.SUCCEEDED, [version: version])
return new TaskResult(ExecutionStatus.SUCCEEDED, [version: version], [version:version])
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class TriggerQuipTask extends AbstractQuipTask implements RetryableTask {
String packageName = stage.context?.package
String version = stage.ancestors { Stage ancestorStage, StageDefinitionBuilder ancestorStageBuilder ->
ancestorStage.id == stage.parentStageId
}.getAt(0)?.stage?.context?.version
Map<String, Map> skippedInstances = stage.context.skippedInstances ?: [:]
}.getAt(0)?.stage?.context?.version ?: stage.context.version
Map<String, Map> skippedInstances = stage.context.skippedInstances ?: [:]
Set<String> patchedInstanceIds = []
// verify instance list, package, and version are in the context
if (version && packageName && remainingInstances) {
Expand Down

0 comments on commit 177bb11

Please sign in to comment.