Giter VIP home page Giter VIP logo

groovyjenkins's People

Contributors

cervator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

groovyjenkins's Issues

Add in links to Groovy-triggered jobs

There is a fairly simple way to decorate the Jenkins job log with an active link to a just-triggered job.

ProvisionBuilder gets the link for free as it uses the normal routine of triggering builds as a post-build action. RetireBuilders for instance doesn't, as it pulls up DestroyDropletAgent via Groovy method. There may be a different way to instead trigger jobs normally but with a condition in place.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9644154-add-in-links-to-groovy-triggered-jobs?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github).

Chef identity plugin for Jenkins doesn't work when Git also active?

Make a job with Chef Identity active, preparing the build environment. The .chef dir gets created and has the knife.rb file in it correctly, yay!

Now enable Git for the job, to pull in any repo. Wipe the workspace. The Git clone works fine and the .git dir gets created. The .chef dir no longer appears. Cheffy stuff fails. Wat.

It seems inconsistent and works sometimes, fails sometimes ...

There is a workaround - run the job once with only Chef enabled, not Git. The .chef is created. Then enable Git and .git is created. I suspect though that any actual changes to the knife.rb template in Configure Jenkins will fail to replicate in the .chef dir, which would be awfully easy to forget and pull out hair over for a few hours.

Edit: Seems so inconsistent the workaround doesn't work well enough either :( Disabled Git for the DestroyDropletAgent job too

Need to file a bug against the Chef Identity plugin.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9643796-chef-identity-plugin-for-jenkins-doesn-t-work-when-git-also-active?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github).

Find way to source scripts for post-build Groovy steps via Git?

Unlike Groovy System script steps done as part of the main build the Post-Build Groovy step used by ProvisionBuilder job doesn't give an obvious option to run via script file instead of copy-pasted script :-(

Thus the FindAndForwardDropletInfo.groovy script hosted here has to be manually copy pasted each time it is changed, or an awkward automation step needs to do it outside standard process.

Maybe there's a way to do it better, like wrapping the script in a jar, putting that on the classpath (an option in the post-build step), and calling it from a tiny script snippet

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9643723-find-way-to-source-scripts-for-post-build-groovy-steps-via-git?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2774565&utm_medium=issues&utm_source=github).

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.