The springboot project uses jenkins for continuous integration
Step one:
Put jenkins.war in the tomcat/webapps directory
The second step:
1. Log in with root
2. Edit profile file: vi /etc/profile
3. Add: export JENKINS_HOME=/work/data
Save, exit and execute: source /etc/profile to make the configuration effective
The third step:
jenkins configures maven, jdk, git/svn paths
The fourth st ...
Posted by rwfresh on Sat, 16 Nov 2019 08:15:57 -0800
Nexus upload deployment component
If uploading on the windows command line:
You need to set it in the global setting.xml file:
setting The configuration is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi: ...
Posted by brauchii on Fri, 01 Nov 2019 20:54:37 -0700
Python multi thread crawling bucket map expression pack
I. application technology:
Lxml: parsing web pages
Requests Library: get web page information
re: replace illegal characters
os: process filename
Queue: Secure multithreading
Urlib: download the acquired pictures
II. Design idea:
Here, the producer consumer model is u ...
Posted by Spitfire on Sat, 26 Oct 2019 11:19:23 -0700
014. Use docker compose to install the software
Create the docker compose basic directory
mkdir -p /usr/local/docker
1. Install mysql
Create mysql directory in / usr/local/docker /
mkdir -p /usr/local/docker/mysql
Write the docker-compose.yml file in / usr/local/docker/mysql directory
Note: the vi editor can paste the content to the file with format by inputting set paste in command m ...
Posted by greengo on Wed, 16 Oct 2019 08:51:43 -0700
maven Replacement Central Warehouse - Aliyun
The connection speed is too slow when visiting Maven warehouse in China. The following is how to replace the central warehouse with the central warehouse in Aliyun.
First, uniform modification of warehouse address
You can directly modify the set. xml file in the Mavenconf folder, or create a set. xml file in the. m2 folder.
There is a mirrors n ...
Posted by dusty on Mon, 07 Oct 2019 11:47:37 -0700
Deploy Android Encapsulation Library to maven Private Servers via gradle and Depend on Use
1. Add the following sections to build.gradle under the module chrisbaselibrary that needs to be published
//maven Plug-in unit
apply plugin: 'maven'
//Pack main Code and resource under directory task
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
//Configuration needs ...
Posted by dancing dragon on Fri, 04 Oct 2019 18:14:53 -0700
How do I configure the Maven environment in IDEA?
1. Agreements
Classified storage
The X:/applications directory holds development tools such as IDEA, Eclipse, Typora
The X:/Environments directory holds the development environment, such as JDK, MinGW-w64, cmder
X:/IdeaProjects directory for IDEA projects
The X:/workspaces directory holds Eclipse's workspace
X:/Repository directory used as re ...
Posted by saco721 on Sat, 07 Sep 2019 21:50:52 -0700
A scheme for video storage path in Android
Copyright Statement: This is an original article created by a blogger and may not be reproduced without the permission of the blogger.When downloading videos, we often face the choice of storage path. Choosing a good storage path can optimize the memory in the Android system.The main app download path analysis and common path selection schemes ...
Posted by saint4 on Sun, 07 Jul 2019 10:21:43 -0700
CardView Source Parsing-View Shadow
CardView extends the FrameLayout class and allows you to display information within the card that is presented consistently across the platform.The CardView widget can have shadows and rounded corners.
If you want to create a card using shadows, use the card_view:cardElevation property.CardView uses true height and dynamic shadows in A ...
Posted by goobers on Tue, 04 Jun 2019 09:49:48 -0700
maven multi-module and inheritance
maven has the function of multi-module aggregation, that is, it can reflect the relationship between modules by parent-child relationship, and associate each module.
Firstly, we introduce the module with inheritance dependency (multiple modules are not only associated with public modules, but also interdependent with each other).
Definitio ...
Posted by IwnfuM on Sat, 20 Apr 2019 23:48:35 -0700