Properly allow arbitrary ordering of macros and stages in the stages block

This commit is contained in:
R Tyler Croy 2019-07-06 10:34:43 -07:00
parent c23b088de1
commit 84fd6bcba7
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 1 additions and 2 deletions

View File

@ -118,7 +118,7 @@ pipeline_block
;
stages_block
: STAGES BEGIN stages+ macro* END
: STAGES BEGIN (macro? stages macro?)+ END
;
stages
: STAGE BEGIN stageStatements* END

View File

@ -12,7 +12,6 @@ use {
pipeline {
stages {
stage {
name = 'Build'