Notes Jenkins

Serveur

docker run -ti -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins/jenkins:lts

Plugins :

Role-based Authorization Strategy

Pb Erreur Form too large 208753>200000

Solution

Ajouter l'argument ci-dessous dans le fichier jenkins.xml :

-Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000

CLI

wget http://jenkins:8080/jnlpJars/jenkins-cli.jar java -jar jenkins-cli.jar -s http://localhost:8080/ help

Salve

wget http://jenkins:8080/jnlpJars/agent.jar java -jar agent.jar -jnlpUrl http://jenkins:8080/computer/vmdeb1/slave-agent.jnlp -jnlpCredentials user:password