Downstream build plugin does not work
daniel-beard opened this issue · comments
Daniel Beard commented
- When building from a pull request, the DOTCI_BRANCH variable is set to something like "Pull Request: 1234"
- You need to pass a
BRANCH
var to the downstream plugin to get it to build. - Referencing any environment variable that has a
:
in it causes the build to fail. - Is it a templating engine limitiation? Is there any way to escape the strings properly?
Deleted user commented
uncertain if #11 is resolved based on this bug
plugins:
- downstream_job:
on_result: 'success'
mobile-consumer/groupon-ios-lint: # repo
BRANCH: $DOTCI_BRANCH #'master'
LINT_GIT_REPOSITORY: 'xxx'
LINT_TOP_FOLDER: 'oclint-test-repository'
LINT_XCODE_WORKSPACE: '-project oclint-test-repository.xcodeproj'
LINT_XCODE_SCHEME: 'oclint-test-repository'
LINT_BRANCH: 'master'
Hey @daniel-beard ... can you try to make it look like
plugins:
- downstream_job:
on_result: SUCCESS
Surya Gaddipati commented
@daniel-beard do you have an example of your .ci.yml
in question.
Surya Gaddipati commented
Closing this for more user input.