Jenkins – Configurating Jenkins for Maven

After installing
JENKINS :JENKINS – go on board
MAVEN :STARTING WITH MAVEN

You can configurate Jenkins ‘s maven plugin :

Before, just control your JDK configuration jdk_jenkins

and after set the maven config

maven_jenkins

When it’s done, you must restart jenkins
http://localhost:8080/restart

mobydock

devops.pm father

More Posts - Website

Follow Me:
TwitterFacebook

Jenkins from scratch – HowTo part 2 – Administrate (first time)

after the Part 1 – Install Jenkins
you should access the home page http://localhost:8080

On the left you’ll find a link administrate jenkins : http://localhost:8080/manage

First step you shoutl discover the manage system page :http://localhost:8080/configure
You’ll find a help button on the right of the fields

The default configuration setting should answer for most of the use case. So don’t play with if you didn’t read the help

THE REAL FUN TOY you must know how to use is the plugin manager : http://localhost:8080/pluginManager/

You will be able : to see, install, update plugin for jenkins

If you prefer to use the CLI, let see how to install plugin :
java -jar jenkins-cli.jar -s http://jenkins:8080/ install-plugin xxxxxxx
where xxxxxxxx is the short name of the plugin you want to install

RESTART after a PLUGIN INSTALLATION
On the local website you’ll find a button to restart after a plugin install
on CLI :
java -jar jenkins-cli.jar -s http://jenkins:8080 safe-restart

If you want a list of available plugins :
PLUGIN LIST FROM JENKINS WEBSITE

SECURITY and ACCESS CONTROL
You can force the users to create an account to connect to jenkins
http://localhost:8080/configureSecurity/

See you on part 3 to create your first JOB

mobydock

devops.pm father

More Posts - Website

Follow Me:
TwitterFacebook

Jenkins from scratch – HowTo part 1 – go onboard

This howto will help you to begin with jenkins.

jenkins_logo

First step install jenkins :
on UBUNTU:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

If you already installed Jenkins and need to be up to date :
sudo apt-get update
sudo apt-get install jenkins

When it’s done, you’ll access Jenkins:
with your navigator using URL : http://localhost:8080
jenkins_home

or with the CLI(command line interface)
to install it :
wget http://localhost:8080/jnlpJars/jenkins-cli.jar
There’s a doc online the local website http://localhost:8080/cli
and also can have detail on options :
java -jar jenkins-cli.jar -s http://localhost:8080/ help

mobydock

devops.pm father

More Posts - Website

Follow Me:
TwitterFacebook