This article is used to record the problems encountered when Jenkins integration;
Reference documentation 1:http://www.jianshu.com/p/ed0edb93e234
Problem Description: Jenkins specify the source code on Gitlab, the prompt does not have permission
Problem reason: You need to use the Jenkins user generated SSH key, place the key in Jenkins, and put the public key i
A GitLab platform vulnerability in Hang Seng leaked a large number of sensitive engineering source code.
RtDetailed description:
Http: // 60.191.25.162: 5222/users/sign_inRegister an account and log on
The source code of the Internally shared project can be seen directly.
1. Install the Configuration dependenciesIf you have installed postfix to send mail, select ' Internet Site ' during installation. You can also replace postfix with SendMail or by using a custom SMTP server. If you want to use Exim, please configure it as SMTP.On CentOS 6 and 7, the following command also configures the system firewall to open the HTTP and SSH ports.sudo yum install Curl openssh-server postfix Croniesudo service postfix startsudo chkconfig postfix onsudo lokkit-s http-s ssh2. Ad
manually register the mailbox for the user to use in the development process of email notification.
{{{
SSH Gerrit Gerrit set- Account--add-email [emailprotected] FLWU Of course, this command is to do some simple configuration before running, otherwise the return Gerrit command does not exist The configuration is as follows: Build a config file under your user" s ~ .ssh folder
To configure the content:
[[[
HOS
.zip-d/usr/local/
#ln-S/usr/local/sonar-scanner-2.6.1 //usr/local/sonar-scanner
configuration Let the scanner be associated with Sonar
# CD
# cd/usr/local/sonar-scanner/conf/
# grep ' ^[a-z ' Sonar-scanner.properties
sonar.host.url=http://10.0.0.102:9000
sonar.sourceencoding=utf-8
Sonar.jdbc.username=sonar
SONAR.JDBC.PASSWORD=SONAR@PW
sonar.jdbc.url=jdbc:mysql://10.0.0.102:3306/ Sonar?useunicode=truecharacterencoding=utf8
Download the test code to
We all know that the code on the cloning Gitlab is generally through SSH protocol to achieve the purpose of the secret key, but today due to the company's Gitlab server problems, led to SSH way old certification failure, many developers sent to ask for advice, there are several proposed through the http/ HTTPS way can not free account password input.
There are
The company's version control software is git, usually by its own mailbox or user name registered Gitlab, and then create a new project:Click Project to test your project connection:Next you need to add your own ssh to your git account:Take Ubuntu for example:To see if your virtual machine generated SSH key:Ls-al ~/.sshIf not, execute the following build SSH key:Ssh-keygen-t rsa-b 4096-c "[Email protected]"To add a proxy to a virtual machine:Eval $ (s
to remote master Process switch to local mastergit checkout master pull the remote library to the local workspaceGit pull Origin master merges the Chi-dev branch to the local masterGit merge Chi-dev at this point if there is a conflict, resolve the conflict (you can see the branching and consolidation base):Executing git status will show that these files are not merged (unmerged), and these conflicting files will have the following conflicting identifiers added:
All you have to do is edit the
Overall process:1.download Project2.DEPOSIT project structure and set default server3.configure Tomcat 2 steps4.run and Test 5.upload project1. Cloning a remote project1.1. New folder, path, and file name self-1.2. Set up VCS--"checkout--" Git--"URLURL filled in as Http://**.**.**.**/project_path/proj_name.gitClick Clone to implement remote code download to local.1.3.next until the end of finish, to achieve the project download;2. Local Deployment and
One, the following is the CI framework
1. Put all the fields you want to receive in the array
Cases:
I want to receive: fields such as Id,name,age,mobile
$req Array (' id ', ' name ', ' age ', ' mobile ');
2, for the loop to judge can
1 for ($i = 0; $i Count ($req); $i + + ) {2$j$this->load->get_post ($req[ $i],true); 3 if (empty($j)) 4 Exit ($req[$i]. ' Empty '); 5 $data [$i$j; 6 }7print_r($data);
Second, the source
Comparison of open-source tools for generating QR codes (with source code), comparison of open-source tools with source code
One day, zxing was found to be slow. As a result, it was found that there were three common open-
Open-source: Autumn-style ad killer source code and open-source ad killer source codePreface:
I quietly read the books for two months and reported to the gym. I went to private school and became a thoughtful young man, A healthy life attitude is still necessary. As for work,
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.