groupon / DotCi

DotCi Jenkins github integration, .ci.yml http://groupon.github.io/DotCi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downstream build plugin does not work

daniel-beard opened this issue · comments

  • 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?

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

per http://groupon.github.io/DotCi/user-guide/Plugins

@daniel-beard do you have an example of your .ci.yml in question.

Closing this for more user input.