Jenkins+jdk+git+maven Continuous Integration Deployment WebLogic Instance Project

Source: Internet
Author: User
Tags ssh server

Before deploying the WebLogic project through Jenkins, the server needs to install the WebLogic service in advance, WebLogic service build please Baidu or search my posts in the blog Park "WebLogic Service Build"

Sign in to Jenkins

http://IP or domain name: 8080

Build a "Build project" first

Left navigation bar, select "New Task", then enter a task name, customize, select the second item "Build a MAVEN project" and click OK.

General

Tick "Discard old build"

Tick "parametric build process" and click "Add Parameter"

SOURCE Management

Select "Git"

Note: The GIT key needs to be added to Jenkins in advance and has been introduced in the setup of Jenkins and is no longer explained here.

The default is 10 minutes, if the network almost, in 10 minutes has not been downloaded from git code, there will be a git connection timeout, the Git timeout time set to 60 minutes

Building triggers

Build Your Environment

Pre Steps

Click "Add pre-build Step" and select the following options "Execute Shell"

Build

Post Steps

Build settings

Post-build actions

Click on "Add post Build Steps" and select the following options "Archive the Artifacts", "Editable Email Notification"

When the above procedure is complete, click "Save".

Left navigation bar, select "New Task", then enter a task name, customize, select the first item "Build a free-flavor software project", click OK.

General

Source Management

Building triggers

Build your environment

Build

Project name note here that the name of the MAVEN project that was just built is here, and the war package to invoke build good project code is published to the remote server for decompression and deployment

Note: SSH server here to choose which server The war is published to remotely

Post-build actions

To complete the above steps, click "Save".

Build Package Method:

BRANCH: Enter the branch to build as prompted

Deploy Release method:

Jenkins+jdk+git+maven Continuous Integration Deployment WebLogic Instance Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.