-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate native support for downstream builds #11
Comments
Please also for upstream builds. |
This would be a very desirable feature for us. We have four repositories, let's call them A, B, C, D, that depend on each other in a chain (D -> C -> B -> A) via Maven dependencies. We would like a pull request in, say, project C to first build current master of A, then of B, then the pull request itself, and then current master of D. And we would like all of this to happen on the same node so we can leverage maven's local repository and don't have to push to a central server (where it could conflict with another build happening at the same time). |
Current state is you can have a DotCi job call a non-DotCi job using https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build e.g. after:
<% if( DOTCI_BRANCH =~ /^somebranch$/ ) { %>
- curl --data-urlencode BRANCH=\$DOTCI_BRANCH --data param1=\$BUILD_NUMBER --data paramN=\$DOTCI_SHA_SHORT http://jenkins/job/someJob/buildWithParameters?token=someToken
<% } %> But you can't have the vice versa. This request to have native support of downstream/upstream builds would have to also support the ability to handle additional parameters being passed. |
👍 for upstream/downstream build support. |
This feature is now available
the only issue is FQDN needs to be a parameter in DotCi configuration for FQDN to be passable |
@vvitayau are there also upstream builds? |
@jeffbyrnes there are no upstream builds. I am not quite sure how that would work in practice . How do you imagine that would work? |
@suryagaddipati I believe I was a bit mislead by one of my teammates on how our projects are built, and was lead to believe that building a project with upstream dependencies would first do a fresh build of said deps (i.e., an upstream build), before building itself. |
Currently the only way for DotCi to initiate a downstream build is inconvenient.
It involves remotely trigger via url by passing a bunch of build parameters ...
It would be nice if there was a new DotCi syntax for initiating downstream build(s).
This would resolve cases where the code repository does not contain the deployment procedures, browser testing framework, etc.
I'm not sure how the syntax should be structured for sequential downstream builds versus parallel downstream builds.
Also since the above settings imply that not every branch would not invoke a downstream build.
Then its representation should only appear when viewing that build number job. It would be nice to if some downstream build status icon would also appear in the left side bar by that build number.
The text was updated successfully, but these errors were encountered: