Re: [opendaylight-dev] serviceutils view in jjb messing up my jenkins-job pushing


Thanh Ha <thanh.ha@...>
 

On Thu, Jun 21, 2018 at 10:50 AM Jamo Luhrsen <jluhrsen@...> wrote:
On 6/21/18 7:45 AM, Thanh Ha wrote:
> On Thu, Jun 21, 2018 at 7:34 AM Anil Belur <abelur@... <mailto:abelur@...>> wrote:
>
>     On Thu, Jun 21, 2018 at 7:33 PM, Faseela K <faseela.k@... <mailto:faseela.k@...>> wrote:
>
>         Tomas was also indicating the same issue.
>         I don't have much clue about this -view section.
>         Tomas was asking to move this section to releng-views, but Anil told the current approach looks good enough.
>
>         @Anil : Any pointers on this issue? Should we move back the -view section back to releng-view?
>
>
>     Hello all,
>
>     Initially, ./builder/jjb/releng-views.yaml was common place holder for manging project specific views on Jenkins through
>     code because JJB versions earlier to 2.0.10 did not allow referencing anchors defined in other files.
>
>     yaml.composer.ComposerError: found undefined alias 'releng_view_common'
>       in "~/git/builder-test-3/jjb/serviceutils/serviceutils.yaml", line 51, column 9
>
>     However, If you are seeing error similar to the above, please make sure you updated JJB to the latest 2.0.10
>     this pulls in the change which supports referencing anchors across files [1.].
>
>     We want the views relevent to projects to by moved into the project yaml files.
>
>     Also add `retain_anchors=True` in Jenkins configuration (jenkins.ini).
>
>     [1.] https://review.openstack.org/#/c/571197
>
>
> Seems like a breaking change for ODL's JJB users. We should document this, update the example jenkins.ini.example in
> releng/builder and notify the community when a change like this is requires users to modify their environment.

I think this is happening every 1-2 months lately.

We definitely dropped the ball here, this change should have been better communicated to the community before it was rolled out. Sorry about that.

Regards,
Thanh

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.