jkins deploys gradle springboot project

1.Environment preparation

Method 1: docker-compose install jekins
Method 2: Baidu

2. Create a new task

2.1 Create a new task

Insert image description here

2.2 Enter the name–>Build Free Style Project–>OK

Insert image description here

2.3 Fill in the git warehouse and account password

Insert image description here
Add credentials. What is shown here is that I added the wrong credentials.
Insert image description here

Insert image description here
Shown here is the effect when I add the correct credentials

2.4 Add gradle environment build

Insert image description here
The tasks here can be added by yourself, and the gradle command is executed.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_42581660/article/details/126157548