Topic
  • 8 replies
  • Latest Post - ‏2018-07-27T15:47:46Z by JJ.Rodriguez
WCSBD
WCSBD
1 Post

Pinned topic Integrating WCS with Jenkins

‏2015-03-25T10:47:17Z |

Hi All,

Can you please any one help me on how to integrate WCS with Jenkins for Build and Deployment.

 

 

 

  • MasoodAKhan
    MasoodAKhan
    29 Posts

    Re: Integrating WCS with Jenkins

    ‏2015-06-05T13:43:26Z  

    In Jenkins, we typically configure the WCBD jobs along with other unix batch jobs. 

     


     

  • mgokarna
    mgokarna
    0 Posts

    Re: Integrating WCS with Jenkins

    ‏2015-06-21T09:37:46Z  

    In Jenkins, we typically configure the WCBD jobs along with other unix batch jobs. 

     


     

    Could you please brief with the steps to be configured in jenkins for WCS build and deployment ? like whether : 

    whether build has to get triggered on jenkins but gets executed on wcs and how the generated zips are handled ?

    later for deployment what steps to be configured to deploy finally ?

  • wcuser
    wcuser
    5 Posts

    Re: Integrating WCS with Jenkins

    ‏2015-06-29T06:48:55Z  

    You need to write a wrapper shell script that calls the WCBD ant command to perform build, then it unzips the zip file that is created after the build and calls WCBD deployment target. You can schedule this shell script in Jenkins.

  • anoopkkt
    anoopkkt
    3 Posts

    Re: Integrating WCS with Jenkins

    ‏2018-07-26T11:33:32Z  

    Hi All, 

    While building custom code package using Commerce 8 WCBD and Jenkin, below error is observed. Any help please?

     

    /WebSphereCommerceServerExtensionsData.input: The project was not built since the source file /WebSphereCommerceServerExtensionsData.input/ejbModule/sample/extensions/EJSRemoteStatelessExtensionJDBCHelper_35de5126.java could not be read
         [exec] [wsejbdeploy] Execution Halted: Compilation Errors Reported
    

     

    Observation: Full path to the file is not referred here, hence failing to read. 

  • JJ.Rodriguez
    JJ.Rodriguez
    3 Posts

    Re: Integrating WCS with Jenkins

    ‏2018-07-26T21:03:57Z  
    • anoopkkt
    • ‏2018-07-26T11:33:32Z

    Hi All, 

    While building custom code package using Commerce 8 WCBD and Jenkin, below error is observed. Any help please?

     

    <pre class="console-output" dir="ltr" style="box-sizing: border-box; white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; color: rgb(51, 51, 51); font-size: 13px;">/WebSphereCommerceServerExtensionsData.input: The project was not built since the source file /WebSphereCommerceServerExtensionsData.input/ejbModule/sample/extensions/EJSRemoteStatelessExtensionJDBCHelper_35de5126.java could not be read [exec] [wsejbdeploy] Execution Halted: Compilation Errors Reported </pre>

     

    Observation: Full path to the file is not referred here, hence failing to read. 

    You should review your wcbd_build.properties if you have the correct paths. Seems that something didn't find or user can not read this files

     

    It is not problem with jenkins, if you run wcbd script you will have the same error.

     

    you can take more detail with more trace level, it can help you

    http://www-01.ibm.com/support/docview.wss?uid=swg21454430

     

     

  • anoopkkt
    anoopkkt
    3 Posts

    Re: Integrating WCS with Jenkins

    ‏2018-07-27T09:59:44Z  

    You should review your wcbd_build.properties if you have the correct paths. Seems that something didn't find or user can not read this files

     

    It is not problem with jenkins, if you run wcbd script you will have the same error.

     

    you can take more detail with more trace level, it can help you

    http://www-01.ibm.com/support/docview.wss?uid=swg21454430

     

     

    Thank you for the reply, 

    Yes, this is not problem with Jenkins. 

     

    I have cross checked all the configuration files in WCBC for any missing value or correction, but not found. Actually, only at this point of ejbModule build its failing to get the path. Else everywhere its full path referred.

  • anoopkkt
    anoopkkt
    3 Posts

    Re: Integrating WCS with Jenkins

    ‏2018-07-27T12:59:47Z  
    • anoopkkt
    • ‏2018-07-27T09:59:44Z

    Thank you for the reply, 

    Yes, this is not problem with Jenkins. 

     

    I have cross checked all the configuration files in WCBC for any missing value or correction, but not found. Actually, only at this point of ejbModule build its failing to get the path. Else everywhere its full path referred.

    Hi, Got the problem, 

     

    Below configuration needed update to higher value from default.

    ulimit 

    ejbdeploy.jvm.max.memory  

     

    Thanks, 

    Anoopkumar

  • JJ.Rodriguez
    JJ.Rodriguez
    3 Posts

    Re: Integrating WCS with Jenkins

    ‏2018-07-27T15:47:46Z  
    • anoopkkt
    • ‏2018-07-27T12:59:47Z

    Hi, Got the problem, 

     

    Below configuration needed update to higher value from default.

    ulimit 

    ejbdeploy.jvm.max.memory  

     

    Thanks, 

    Anoopkumar

    Good news,

    In my case I have this value by default in 256M