Giter Site home page Giter Site logo

Comments (20)

thomas-dee avatar thomas-dee commented on July 20, 2024 2

@JohnStratoudakis The release is planned for the end of this month (January 2019). I'm thinking about releasing a beta version first so that you (and all others) can test that major overhaul.

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024 1

Alright scratch my comment above, figured out how to trick confluence by using Markup in jenkins and encoding variable names ${duration} to %24%7Bduration%7D.
Also in confluence I am doing insert markup (not confluence wiki)

from embeddable-build-status-plugin.

JohnStratoudakis avatar JohnStratoudakis commented on July 20, 2024

Hi, when is the expected release date?

And how can I contribute? Any specific list of issues, bugs, or testing that needs to be done?

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

I just released v2.0-beta1. Please see here on how to install it.

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

If there are no issues with this beta1 or there is no feedback I will release the final v2.0 at the end of January.

So it would be nice if you'd give some feedback.

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

Hello, I just started using this beta and it is looking promising.

I am trying embed the status of the build into confluence and the custom text and custom status with
?subject=Custom Text&status=My passing text worked for me

But when I try to use the variables like (${displayName}) in subject, confluence is panicking and just showing wiki markup, I get
Unknown macro: {displayName}

Also i get a similar error when trying to use the branch selector with :${params.BRANCH=master}

Is it something that we have to ask confluence folks? An example of where you are all using these parameters would be great. (is it GitHub only?)

BTW, thanks for working on this, it looks outdated and your initiative is bringing back more use cases.

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

Actually I experimented with the same in GitHub.com (private instance) and got the desired result
image
using something like
buildStatus/icon?job=repo%2Fdev&subject=Dev%20build%20duration%20${duration}

Looks like its a problem on confluence side

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

@prolificcoder Thank you for the feedback. Have you any suggestions for a documentation about this?

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

i created a medium post about it https://medium.com/mobile-testing/using-jenkins-embeddable-build-plugin-to-spruce-up-confluence-and-github-f7e1090ddfe0
May be you can add an example for confluence in Readme.md?

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

@thomas-dee I was trying to make use of this plugin to publish code coverage numbers, which I already have as jenkins variable in Jenkinsfile. Is there a way for doing this?

I was looking at DSL and addEmbeddableBadgeConfiguration but do we need provide it with a build id? what is it going to be? That's the part not entirely clear to me.
Also in your documentation i see that you got the build badges based on this configuration but not clear on should we add something Readme.md to make that possible?

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

No, you do not need to provide a build id. The id argument for addEmbeddableBadgeConfiguration is any unique id you can later reference using the buildStatus/icon?config=<id> customization.

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

Hmm.. I am trying like you mentioned but it doesn't seem to have any affect on the badge that is showing up in readme.md
My Jenkinsfile looks like this..
image

and I was expecting the subject to be updated with an eventual desire of showing code coverage numbers dynamically but the subject is defaulting to the hard code build
image

is there a way to add some more debug to addEmbeddableBadgeConfiguration ? I see one reference of it in Jenkinsfile when I added the configuration but updates seem to have no affect.

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

Hmm.. I am trying like you mentioned but it doesn't seem to have any affect on the badge that is showing up in readme.md ...

@prolificcoder What does your badge url look like?

Sent with GitHawk

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

You need to reference the badge configuration using the id androidBuildBadge as config query parameter:

E.g.: http://<jenkins-root-url>/.../badge/icon?config=androidBuildBadge

from embeddable-build-status-plugin.

prolificcoder avatar prolificcoder commented on July 20, 2024

https://jenkins.go.int.godaddy.com/buildStatus/icon?config=androidBuildBadge

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

The config parameter references a badge configuration in terms of appearance not in terms of build selection.

If you use the unprotected URL (.../buildStatus/icon?...) you need to select the specific build via the job and build parameters. Please see README.md on how to use them.

https://jenkins.go.int.godaddy.com/buildStatus/icon?job=...&build=...&config=androidBuildBadge

from embeddable-build-status-plugin.

ajaybgupta avatar ajaybgupta commented on July 20, 2024

Any update on the release? It was supposed to be done by 14 Feb 2019.

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

Any update on the release? It was supposed to be done by 14 Feb 2019.

@ajaybgupta Sorry. The next „flu release“ cropped up. I guess the release will happen next week.

Sent with GitHawk

from embeddable-build-status-plugin.

ajaybgupta avatar ajaybgupta commented on July 20, 2024

Thanks @thomas-dee for the information.

from embeddable-build-status-plugin.

thomas-dee avatar thomas-dee commented on July 20, 2024

v2.0 released

from embeddable-build-status-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.