IBM i Global

IBM i Global

Connect, learn, share, and engage with IBM Power.

 View Only
  • 1.  Jenkins now speaks IBM i!

    Posted Wed March 19, 2025 05:14 PM

    Hi everyone,

    I've been working on a Jenkins plugin that adds IBM i Pipeline steps.

    It's been accepted on jenkins.io and released today: IBM i Pipeline Steps

    IBM i Pipeline Steps remove preview
    IBM i Pipeline Steps
    A plugin providing IBM i oriented pipeline steps such as command execution, Db2 queries execution or Save Files transfer.
    View this on IBM i Pipeline Steps >

    Hopefully it's going to be helpful and allow shops to integrate their IBM i in a CI/CD pipeline.



    ------------------------------
    Sébastien Julliand
    Tech Lead & IBM i Advocate
    ARCAD Software
    Annecy
    +33603900703
    ------------------------------


  • 2.  RE: Jenkins now speaks IBM i!

    Posted Wed March 19, 2025 05:52 PM

    Most excellent and timely! Thank you for your effort!

    Will be experimenting with the new plugin next week with customer!



    ------------------------------
    Jack Woehr
    Senior Consultant
    Seiden Group LLC
    Beulah CO
    3038478442
    ------------------------------



  • 3.  RE: Jenkins now speaks IBM i!

    Posted Wed March 19, 2025 06:11 PM

    Great! Let me know how it goes 😊



    ------------------------------
    Sébastien Julliand
    Tech Lead & IBM i Advocate
    ARCAD Software
    Annecy
    +33603900703
    ------------------------------



  • 4.  RE: Jenkins now speaks IBM i!

    Posted Thu March 20, 2025 01:34 AM

    The plugin is well-structured and powerful, providing great automation capabilities for IBM i users. I tried it on my jenkins but it failed due to unmet dependencies. I will update my jenkins and other plugins and will re-try.

    java.io.IOException: Failed to load: IBM i Pipeline Steps (ibmi-steps 18.va_c2c17b_7b_fc2)
     - Update required: Credentials Plugin (credentials 1380.va_435002fa_924) to be updated to 1408.va_622a_b_f5b_1b_1 or higher
     - Update required: Jackson 2 API Plugin (jackson2-api 2.17.0-379.v02de8ec9f64c) to be updated to 2.18.3-402.v74c4eb_f122b_2 or higher
     - Jenkins (2.479.1) or higher required
     - Update required: Pipeline: Step API (workflow-step-api 678.v3ee58b_469476) to be updated to 686.v603d058a_e148 or higher
    	at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:988)
    	at hudson.PluginManager.dynamicLoad(PluginManager.java:943)
    Caused: java.io.IOException: Failed to install ibmi-steps plugin
    	at hudson.PluginManager.dynamicLoad(PluginManager.java:957)
    	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2247)
    Caused: java.io.IOException: Failed to dynamically deploy this plugin
    	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2251)
    	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1897)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    • Jenkins version 2.479.1 or higher required (I'm on an older version).
    • Credentials Plugin needs to be updated to 1408.va_622a_b_f5b_1b_1 or higher.
    • Jackson 2 API Plugin needs to be updated to 2.18.3-402.v74c4eb_f122b_2 or higher.
    • Pipeline: Step API Plugin needs to be updated to 686.v603d058a_e148 or higher.

    It would be helpful if possible, reduce strict dependency requirements, or make the plugin work with slightly older versions of jenkins and common plugins.

    Thanks for the great work on this plugin!



    ------------------------------
    Gaurav Khanna
    Principal Quality Engineer
    Rocket Software
    Pune
    ------------------------------



  • 5.  RE: Jenkins now speaks IBM i!

    Posted Thu March 20, 2025 04:17 AM

    I understand your point. Out of curiosity, what's your current Jenkins version?

    The plugin was created following the good practices that suggested 2.479 LTS as a good baseline; all the other dependencies come from this baseline 😊

    And the guys reviewing the plugin for hosting asked me to use jackson-2 for CSV generation (otherwise I'd have to use another third party dependency not provided by the baseline), which makes sense. But it comes at a price being that the plugin requires this baseline now. Hopefully it won't prove to be problematic for you to update!



    ------------------------------
    Sébastien Julliand
    Tech Lead & IBM i Advocate
    ARCAD Software
    Annecy
    +33603900703
    ------------------------------



  • 6.  RE: Jenkins now speaks IBM i!

    Posted Thu March 20, 2025 05:12 AM

    My Jenkins version is  2.426.3



    ------------------------------
    Gaurav Khanna
    Principal Quality Engineer
    Rocket Software
    Pune
    ------------------------------