IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  webMethods CI/CD setup using gitlab and jenkins

    Posted Tue August 29, 2023 03:09 PM

    Hello All,
    Need quick help on the build creation through jenkins.

    I’m working on POC to implement CI/CD setup using gitlab and jenkins.

    1. I have created a pacakge using local server and commited the code to git lab.
    2. created a project in jenkins and written a pipeline script for build, deploy and test.
    3. I’m able to create a build but deploy step is failing.

    deploy step: ant -DSAGHome=C:/SoftwareAG11 -DSAG_CI_HOME=C:/SoftwareAG11/common/AssetBuildEnvironment/sagdevops-ci-assets -DprojectName=wmdeploy1 -DbuildOutputDir=C:/SoftwareAG11/buildoutput -DrepositoryName=C:/SoftwareAG11/webmethods-sample-project-layout deploy

    C:\SoftwareAG11\common\AssetBuildEnvironment\sagdevops-ci-assets\${workspace.dir}\ProjectAutomator\wmdeploy1DeploymentSpec.xml this is autogenrated when i ran the deploy step, it is validating with ProjectAutomator.xsd. The XML validating with xsd and it is getting failed.

    [ERROR] [29 Aug 2023 13:44:17,525] (MainClass.java:readXMLToDOM:93)
    [exec] Error validating XML with schema. Exception thrown unknown protocol: c
    [exec]
    [exec] Error Code = -9
    [exec] java.net.MalformedURLException: unknown protocol: c
    [exec] at java.net.URL.(URL.java:618)
    [exec] at java.net.URL.(URL.java:508)
    [exec] at java.net.URL.(URL.java:457)
    [exec] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    [exec] at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    [exec] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [exec] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [exec] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [exec] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    [exec] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    [exec] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)
    [exec] at com.softwareag.webm.deployer.automation.MainClass.readXMLToDOM(MainClass.java:80)
    [exec] at com.softwareag.webm.deployer.automation.MainClass.(MainClass.java:47)
    [exec] at com.softwareag.webm.deployer.automation.MainClass.main(MainClass.java:240)

    BUILD FAILED
    C:\SoftwareAG11\common\AssetBuildEnvironment\sagdevops-ci-assets\buildDeployer.xml:92: exec returned: -9

    jenkins ABE git GitHub Deployer cicd


    #webMethods


  • 2.  RE: webMethods CI/CD setup using gitlab and jenkins

    Posted Wed August 30, 2023 09:04 AM

    Hi Pradeep,

    looks like it doesn´t like Windows pathes when using Unix-Style path seaprators.

    Regards,
    Holger


    #webMethods


  • 3.  RE: webMethods CI/CD setup using gitlab and jenkins

    Posted Fri September 01, 2023 12:59 AM

    Hi Holger,

    I tried to pass the path manually as well, even though getting same error.

    Regards
    Pradeep


    #webMethods


  • 4.  RE: webMethods CI/CD setup using gitlab and jenkins

    Posted Thu September 11, 2025 01:48 PM

    Are you able to resolve this issue, need some help on a similar POC which i am implementing.

    Thank you.



    ------------------------------
    Phanidhar Pitta
    ------------------------------



  • 5.  RE: webMethods CI/CD setup using gitlab and jenkins

    Posted Fri September 12, 2025 09:18 AM
    Edited by Percio Castro Fri September 12, 2025 09:18 AM

    It's been a little while since I ran ABE or Deployer in Windows, but if the issue is indeed related to the inclusion of C: in your paths, then just remove it. I.e., instead of C:/SoftwareAG11, just use /SoftwareAG11. Alternatively, you could try Windows-style delimiters but escape them if you need to, e.g. C:\\SoftwareAG11

    -----------------------------
    Percio
    https://nibl.tech
    ------------------------------