Giter VIP home page Giter VIP logo

Comments (4)

keirlawson avatar keirlawson commented on July 21, 2024 1

Thanks for your informative response!

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

Hi @keirlawson - we are targeting the plugin at https://github.com/openshift/jenkins-client-plugin as our player in the declarative pipeline space.

That plugin has been in our openshift jenkins centos image for a few cycles now, and will be officially supported in our upcoming openshift 3.7 release.

Some examples are being compiled as I type for jenkins-client-plugin. Ideally, one of them would include a declarative pipeline example.

That said, per the announcement on declarative pipeline at https://jenkins.io/blog/2016/12/19/declarative-pipeline-beta/ you should still be able to use the pipeline dsl steps provided by this plugin. But the look and feel of the syntax with jenkins-client-plugin better lines up with declarative pipeline.

@bparees @coreydaley @csrwng @jupierce fyi - and of course elaborate in any ways y'all see fit :-)

from jenkins-plugin.

csrwng avatar csrwng commented on July 21, 2024

One thing to keep in mind is that to use the jenkins-client-plugin inside the new declarative pipeline steps section, you need to wrap the code with a script step. If you do not want to use the script step every time, one alternative is to create a library that wraps your jenkins-client-plugin actions into steps that you can include directly in your declarative pipeline.

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

Ah - good to know - thanks @csrwng ! I knew your ci explorations would prove valuable here :-)

@coreydaley - if you haven't already, in updating the doc's for client plugin, you should link up with @csrwng and pick his brain for juicy user experiences like this.

from jenkins-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.