webMethods

 View Only
Expand all | Collapse all

ProjectAutomator.xml file generation CICD/jenkins

  • 1.  ProjectAutomator.xml file generation CICD/jenkins

    Posted Tue January 23, 2024 02:19 AM

    Hi Team,

    I am creating CICD process for my customer, I am following below process.

    Created Jenkins freestyle project job. I am invoking ANT in jenkins pipeline to create build. I see build creation is successful. Now I wanted to create project and deploy the project using the same jenkins job using ant. How can be able to achieve this?

    Currently I am using 10.15 version with IS package deployment.


    #Command-Central
    #Cloud-Container
    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB
    #BPM


  • 2.  RE: ProjectAutomator.xml file generation CICD/jenkins



  • 3.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Wed January 24, 2024 01:50 AM

    Hi Srikanth,

    Thanks for the information.

    I wanted to know in build.xml file below.

    What exactly this test will do?


    #Service-Designer
    #webMethods
    #BPM
    #Integration-Server-and-ESB
    #Command-Central
    #Cloud-Container


  • 4.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Fri January 26, 2024 09:33 AM

    HI Kiran,

    You can add project manually in Deployer and provide reference in your build.properties file.

    Additionally for deployment from Jenkins job, add this custom tags in build.xml & call this operation “DeployProject” from Jenkins Job.

    </target>
    

    Thanks,
    Kuldeep Gupta


    #webMethods
    #Cloud-Container
    #Integration-Server-and-ESB
    #BPM
    #Command-Central
    #Service-Designer


  • 5.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Fri January 26, 2024 09:37 AM

    Not sure if xml tag has been added in my previous comment else you can use this screenshot for reference


    #Service-Designer
    #BPM
    #Cloud-Container
    #Command-Central
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Sat January 27, 2024 10:29 AM

    Hi Kuldeep Gupta,

    Thanks for the update. I will try your suggested solution.

    However, I have one question, IS there a way that I can fetch only last commit code from bitbucket for creating the build and to deploy.


    #Cloud-Container
    #BPM
    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB
    #Command-Central


  • 7.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Fri February 02, 2024 03:08 AM

    May I ask why you want to retrieve only the code from the last commit? That is a highly unusual thing to do. So I suspect that you are exploring this path to solve a particular issue. And this issue can probably solved in a different and easier way. So, if you can share your thinking here, we will probably be able to help you.


    #webMethods
    #Cloud-Container
    #BPM
    #Service-Designer
    #Integration-Server-and-ESB
    #Command-Central


  • 8.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Mon February 05, 2024 03:27 AM

    Hi Jahn,

    We have a customer where they want to setup REPO Based deployment. For this process I have a demo to the customer using Jenkins.

    If we commit new code to the VCS (git/bitbucket), we see that every time all the packages getting deployed in the target server. Now CX wanted to deploy only the last committed WmPacakge only instead of entire repository.
    So, I am looking for a way to deploy only the last committed package in the VCS.

    Please let me know I am missing anything here or if you need more info.


    #BPM
    #Command-Central
    #Integration-Server-and-ESB
    #Cloud-Container
    #Service-Designer
    #webMethods


  • 9.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Mon February 05, 2024 04:09 AM

    This is doable by having one repo/Jenkins job/project automator file per IS package.

    Project automator has been designed with deploying entire solutions in mind. So for this use-case it may feel a bit clunky. How many packages are we talking about?


    #BPM
    #Cloud-Container
    #Service-Designer
    #Integration-Server-and-ESB
    #webMethods
    #Command-Central


  • 10.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Mon February 05, 2024 04:18 AM

    Lets say for example CX had one repository with 100 WmPackages. using the CICD process we can deploy all the packages at once.

    CX have different servers so they will create different repositories, because packages may or may not be same in entire their landscape.

    Now every time a new commit comes in either it could be ne package or updated and committed the existing pacakge, So now we have to deploy only the latest commit only.


    #Command-Central
    #BPM
    #Service-Designer
    #webMethods
    #Integration-Server-and-ESB
    #Cloud-Container


  • 11.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Mon February 05, 2024 05:12 AM

    This is certainly possible but also an advanced scenario, which is in my opinion very difficult (if at all possible) to do via a forum. You could probably reach out internally in SAG and find people there that might able to help.


    #BPM
    #webMethods
    #Integration-Server-and-ESB
    #Service-Designer
    #Cloud-Container
    #Command-Central


  • 12.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Mon February 05, 2024 05:17 AM

    Thanks for the info.

    I will reach out internally and will see if that helps.


    #webMethods
    #Service-Designer
    #Command-Central
    #Integration-Server-and-ESB
    #BPM
    #Cloud-Container


  • 13.  RE: ProjectAutomator.xml file generation CICD/jenkins

    Posted Sat January 27, 2024 12:14 PM

    Hi Kiran,

    I haven’t seen such scenario where build can be generated only for the latest committed code.

    As per CI/CD setup build will be generated for entire code avaialble in repo & will fail if any incorrect syntax caused corrupt .ndf file for any service. Once build created at CI instance. You can create another job for deploying individual pacakage from CI to target instace.

    It was not possible for deploying individual service of any package through CI/CD setup by couple of year back, not sure now if in latest release SAG overcome of this.

    Thanks,
    Kuldeep Gupta

    Typing through mobile, please ignore typo mistake.


    #Command-Central
    #BPM
    #webMethods
    #Cloud-Container
    #Service-Designer
    #Integration-Server-and-ESB