CI/CD

[Jenkins] Job Configurations

Jenkins has a lot of Job Configurations. I’ll update this article once I get a new knowledge. General Discard old builds Source Management Build Triggers Trigger builds remotely (e.g., from scripts) [bash] # trigger by url $ curl -u ‘user:password’ http://{JENKINS_URL}:9999/job/maven-project/build?token=legochen_test_job [/bash] Build after other projects are built Jenkins can …

CI/CD

[Jenkins] Management Jenkins

Manage Plugin There two buttons to install plugin Install without restart: when you install a new plugin, you may pick this. Download now and install after restart: when you upgrade an exist plugin, you should pick this.

CI/CD

[Jenkins] Components and Installation

Master / Slave Arch: Master: Schedule build jobs Dispatch builds to the slaves for actual job execution Monitor the slaves and record the build results Can also execute build jobs directly Slave: Execute build jobs dispatched by the master (PS: Master can directly assign a job to a particular slave …