Deploy to weblogic using maven and jenkins

14,209

Use the Jenkins "Weblogic Deployer Plugin". This will do the deployment for you. All you need to do is specify:

  • Task Name: Give the deployment a name; Eg. Webapp WL Deployment

  • Environment: Specify the environment you are deploying to. Make sure you are using the AdminServer port number and not the Managed Server port number; default is 7001

  • Name: The name weblogic should use for your webapp to display the deployed component

  • Built resource to deploy: The file name of your webapp. You can use also use regular expressions for this

  • Targets: The name of the managed server you want to deploy the webapp to

  • Weblogic libraries: Whether or not the webapp should be deployed as a library component.

Share:
14,209
Manish Joshi
Author by

Manish Joshi

Software Engineer with experience in designing, building and maintaining core infrastructure and platforms in the cloud. Solid understanding of Linux based Operating Systems and comprehensive knowledge in OpenShift and Docker. Experienced in building CI/CD pipelines and managing Infrastructure as Code in AWS. · AWS certified solution architect professional. · AWS certified SysOps administration associate. · 11+ years of experience in DevOps space including 6+ years of experience in Amazon Web Services. · Worked in multiple countries including India, Singapore, and United Kingdom.

Updated on June 28, 2022

Comments

  • Manish Joshi
    Manish Joshi almost 2 years

    We are using Jenkins in our project for build and deployment on dev environments. I have sucessfullly created a war file using maven in jenkins and now I have to create another job to deploy that war file into the weblogic server.

    However, I am not aware of the required steps for configuring this job in jenkins. Will it be a matter of just invoking a maven deploy command? Can some one please tell me what will be the required steps to deploy a war file into weblogic 10.3.5 using jenkins?

    edit : The approach we are following is after creating the war file we are cheking the war file created into svn and then the deploy job will take the war file from there and deploy it into the weblogic. Does some one thing there is a better way of doing thhings than this?

    Thanks, Manish