Category : jenkins

Pull mirror docker pull jenkins run In order to facilitate the installation of plug-ins, jenkins_home directory is mapped out docker run -p 8080:8080 -p 50000:50000 -v /home/docker/jenkins:/var/jenkins_home jenkins Error reporting: touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions? The following directory permissions need to be modified because when mapping ..

Read more

Version information jenkins:2.23.3 sonarqube:5.6.6 Maven acceleration <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> Reuse local maven warehouse docker run -p 8080:8080 -p 50000:50000 \ -e JAVA_OPTS=-Duser.timezone=Asia/Shanghai \ -v /Users/xixicat/.m2/repository:/var/repository \ -v /Users/xixicat/jenkins:/var/jenkins_home \ jenkins The time zone is set here by the way. Run sonar docker run -d –name sonarqube \ -p 9000:9000 -p 9092:9092 ..

Read more

maven Maven has many related plug-ins, mainly: checkstyleCheckstyle is an open source project of SourceForge. Through checking the code coding format, naming convention, Javadoc, class design and other aspects of code specification and style, developers are effectively constrained to better follow the code writing specification. FindBugsFindBugs is an open source Java static code analysis tool ..

Read more

Installing dock-related plugin System Management-Plug-in Management-Optional Plug-in Docker plugin Docker Slaves Plugin docker-build-step Configure docker Plug-ins Build docker-http-proxy Expose docker’s api in http docker run –rm \ -p 2375:2375 \ –name shipyard-proxy \ -v /var/run/docker.sock:/var/run/docker.sock \ -e PORT=2375 \ shipyard/docker-proxy:latest Building jenkins-slave image You can refer todind-jenkins-slaveSelf-defining Configure cloud System Management-System Settings-Cloud-New Cloud docker urlHere ..

Read more

Build docker-registry Pull mirror docker pull registry:2 Preliminary operation docker run –rm -p 5000:5000 \ -v /Users/xixicat/registry/data:/var/lib/registry \ -v /Users/xixicat/registry/auth:/auth \ registry:2 Accesshttp://192.168.99.100:5000/v2 … Create account password docker run –rm –entrypoint htpasswd registry:2 -Bbn admin admin > ~/registry/auth/htpasswd Rerun docker run –rm -p 5000:5000 \ -v /Users/xixicat/registry/data:/var/lib/registry \ -v /Users/xixicat/registry/auth:/auth \ -e “REGISTRY_AUTH=htpasswd” \ -e ..

Read more