You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zipkin.apache.org by Adrian Cole <ad...@gmail.com> on 2019/05/08 13:28:10 UTC

Jenkins job cleanups

Hi, team.

I think a lot of us were unaware (despite being told) that there is
magic to make Jenkins jobs for each project. This means we have some
duplication between the generated and the explicitly created. Unless
someone screams, I will be deleting the jobs that were explicitly
created.

Ex. magic  https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin
Ex. explicit https://builds.apache.org/job/incubator-zipkin/ << delete this one

-A

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org


Re: Jenkins job cleanups

Posted by Zoltán Nagy <ab...@apache.org>.
>PS if anyone can help on this.. our images now are broke and I can't
> find the magic syntax to fix.

You can go to the build of a specific branch on the Jenkins UI, for example
https://builds.apache.org/view/Z/view/Zipkin/job/GH-incubator-zipkin/job/incubator-zipkin/job/master/
for the main repo. There's a "Embeddable Build Status" link on the left
that shows you all the different ways status can be embedded for this
build. I'd recommend the "protected", "with view" variant
(protected/unprotected doesn't make any difference on a publicly readable
Jenkins installation, and the protected URL is somewhat cleaner). Here's an
example: https://github.com/apache/incubator-zipkin/pull/2585/

> also blue ocean doesn't like this..
>
https://builds.apache.org/blue/organizations/jenkins/GH-incubator-zipkin/incubator-zipkin/branches/

The blue ocean UI is still a bit ... wonky, to say the least. To view one
of the jobs, you can
* Go to the main page at https://builds.apache.org/blue/pipelines and
search for zipkin. Shortcut:
https://builds.apache.org/blue/pipelines/?search=zipkin
* Click one of the projects.

Mind, if you control/command-click the project, and open it in a new tab,
you'll get a 404 like above. Reloading the same page also gives you a 404.
This seems to be due to how Blue Ocean urlencodes a slash in the URL here,
and on loading the browser decodes that, and the backend then doesn't know
what to do. This might possibly be a "misconfiguration" in the ASF
installation of Jenkins (in quotes because this is weird behavior to begin
with), or a bug in the plugin. Personally, I wouldn't spend time tracking
this down further, but of course we can open an INFRA ticket, see where
that goes.


On Sat, May 11, 2019 at 3:03 AM Adrian Cole <ad...@gmail.com> wrote:

> PS if anyone can help on this.. our images now are broke and I can't
> find the magic syntax to fix.
>
> For example, this was what we had before:
>
> [![Build Status](
> https://img.shields.io/jenkins/s/https/builds.apache.org/job/incubator-zipkin.svg)](https://builds.apache.org/blue/organizations/jenkins/incubator-zipkin
> )
>
>
> but our new link should be something like this..
> https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin/
> (this doesn't work at least in github preview)
>
> also blue ocean doesn't like this..
>
> https://builds.apache.org/blue/organizations/jenkins/GH-incubator-zipkin/incubator-zipkin/branches/
>
>
> On Fri, May 10, 2019 at 7:27 PM Zoltán Nagy <ab...@apache.org> wrote:
> >
> > Thank you for keeping our CI setup clean!
> >
> > On Fri, May 10, 2019 at 6:10 AM Adrian Cole <ad...@gmail.com>
> wrote:
> >
> > > FYI I did this, leaving the magic ones
> > > https://builds.apache.org/job/GH-incubator-zipkin/
> > >
> > > Thanks, Zoltán for adding the magic!
> > > -A
> > >
> > > On Wed, May 8, 2019 at 9:28 PM Adrian Cole <ad...@gmail.com>
> > > wrote:
> > > >
> > > > Hi, team.
> > > >
> > > > I think a lot of us were unaware (despite being told) that there is
> > > > magic to make Jenkins jobs for each project. This means we have some
> > > > duplication between the generated and the explicitly created. Unless
> > > > someone screams, I will be deleting the jobs that were explicitly
> > > > created.
> > > >
> > > > Ex. magic
> > > https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin
> > > > Ex. explicit https://builds.apache.org/job/incubator-zipkin/ <<
> delete
> > > this one
> > > >
> > > > -A
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
> > > For additional commands, e-mail: dev-help@zipkin.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
> For additional commands, e-mail: dev-help@zipkin.apache.org
>
>

Re: Jenkins job cleanups

Posted by Adrian Cole <ad...@gmail.com>.
PS if anyone can help on this.. our images now are broke and I can't
find the magic syntax to fix.

For example, this was what we had before:

[![Build Status](https://img.shields.io/jenkins/s/https/builds.apache.org/job/incubator-zipkin.svg)](https://builds.apache.org/blue/organizations/jenkins/incubator-zipkin)


but our new link should be something like this..
https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin/
(this doesn't work at least in github preview)

also blue ocean doesn't like this..
https://builds.apache.org/blue/organizations/jenkins/GH-incubator-zipkin/incubator-zipkin/branches/


On Fri, May 10, 2019 at 7:27 PM Zoltán Nagy <ab...@apache.org> wrote:
>
> Thank you for keeping our CI setup clean!
>
> On Fri, May 10, 2019 at 6:10 AM Adrian Cole <ad...@gmail.com> wrote:
>
> > FYI I did this, leaving the magic ones
> > https://builds.apache.org/job/GH-incubator-zipkin/
> >
> > Thanks, Zoltán for adding the magic!
> > -A
> >
> > On Wed, May 8, 2019 at 9:28 PM Adrian Cole <ad...@gmail.com>
> > wrote:
> > >
> > > Hi, team.
> > >
> > > I think a lot of us were unaware (despite being told) that there is
> > > magic to make Jenkins jobs for each project. This means we have some
> > > duplication between the generated and the explicitly created. Unless
> > > someone screams, I will be deleting the jobs that were explicitly
> > > created.
> > >
> > > Ex. magic
> > https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin
> > > Ex. explicit https://builds.apache.org/job/incubator-zipkin/ << delete
> > this one
> > >
> > > -A
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
> > For additional commands, e-mail: dev-help@zipkin.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org


Re: Jenkins job cleanups

Posted by Zoltán Nagy <ab...@apache.org>.
Thank you for keeping our CI setup clean!

On Fri, May 10, 2019 at 6:10 AM Adrian Cole <ad...@gmail.com> wrote:

> FYI I did this, leaving the magic ones
> https://builds.apache.org/job/GH-incubator-zipkin/
>
> Thanks, Zoltán for adding the magic!
> -A
>
> On Wed, May 8, 2019 at 9:28 PM Adrian Cole <ad...@gmail.com>
> wrote:
> >
> > Hi, team.
> >
> > I think a lot of us were unaware (despite being told) that there is
> > magic to make Jenkins jobs for each project. This means we have some
> > duplication between the generated and the explicitly created. Unless
> > someone screams, I will be deleting the jobs that were explicitly
> > created.
> >
> > Ex. magic
> https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin
> > Ex. explicit https://builds.apache.org/job/incubator-zipkin/ << delete
> this one
> >
> > -A
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
> For additional commands, e-mail: dev-help@zipkin.apache.org
>
>

Re: Jenkins job cleanups

Posted by Adrian Cole <ad...@gmail.com>.
FYI I did this, leaving the magic ones
https://builds.apache.org/job/GH-incubator-zipkin/

Thanks, Zoltán for adding the magic!
-A

On Wed, May 8, 2019 at 9:28 PM Adrian Cole <ad...@gmail.com> wrote:
>
> Hi, team.
>
> I think a lot of us were unaware (despite being told) that there is
> magic to make Jenkins jobs for each project. This means we have some
> duplication between the generated and the explicitly created. Unless
> someone screams, I will be deleting the jobs that were explicitly
> created.
>
> Ex. magic  https://builds.apache.org/job/GH-incubator-zipkin/job/incubator-zipkin
> Ex. explicit https://builds.apache.org/job/incubator-zipkin/ << delete this one
>
> -A

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org