How to uninstall Jenkins?

These instructions apply if you installed using the official Jenkins Mac installer from http://jenkins-ci.org/ Execute uninstall script from terminal: ‘/Library/Application Support/Jenkins/Uninstall.command’ or use Finder to navigate into that folder and double-click on Uninstall.command. Finally delete last configuration bits which might have been forgotten: sudo rm -rf /var/root/.jenkins ~/.jenkins If the uninstallation script cannot be found … Read more

Jenkins Pipeline Wipe Out Workspace

Like @gotgenes pointed out with Jenkins Version. 2.74, the below works, not sure since when, maybe if some one can edit and add the version above cleanWs() With, Jenkins Version 2.16 and the Workspace Cleanup Plugin, that I have, I use step([$class: ‘WsCleanup’]) to delete the workspace. You can view it by going to JENKINS_URL/job/<any … Read more

Skip a submodule during a Maven build

Maven version 3.2.1 added this feature, you can use the -pl switch (shortcut for –projects list) with ! or – (source) to exclude certain submodules. mvn -pl ‘!submodule-to-exclude’ install mvn -pl -submodule-to-exclude install Be careful in bash the character ! is a special character, so you either have to single quote it (like I did) … Read more

Setting up a deployment / build / CI cycle for PHP projects

I’ve been through buildbot, CruiseControl.net, CruiseControl and Hudson. All though I really liked CruiseControl*, it was just too much of a hassle with really complex dependency cases. buildbot is not easy to set up, but it’s got a nice aura (I just like python, that’s all). But hudson won over the former three because: It’s … Read more

Continuous Integration vs. Continuous Delivery vs. Continuous Deployment

Continuous Integration I Agree with your university’s definition. Continuous Integration is a strategy for how a developer can integrate code to the mainline continuously – as opposed to frequently. You might claim that it’s merely a branching strategy in your version control system. It has to do with the size of the tasks you assign … Read more

What is the difference between “npm install” and “npm ci”?

From the official documentation for npm ci: In short, the main differences between using npm install and npm ci are: The project must have an existing package-lock.json or npm-shrinkwrap.json. If dependencies in the package lock do not match those in package.json, npm ci will exit with an error, instead of updating the package lock. npm … Read more

tech