Translate

Mostrando entradas con la etiqueta Jenkins. Mostrar todas las entradas
Mostrando entradas con la etiqueta Jenkins. Mostrar todas las entradas

lunes, 20 de octubre de 2014

Jenkins: Pool SCM always detect changes

Jenkins: Consultar repositorio (SCM) siempre detecta cambios.

Today a quick issue that has happened to me, i was configuring a new Jenkins project as always but the Pool SMC to SVN repository was always detecting changes and triggering a new build.

This was my normal Jenkins configuration:

1 - SVN repository URL to my company interal SVN
2 - Always Check a fresh copy
3 - Pool SCM each 5 minutes.



The configuration was ok, but Jenkins was triggering a build each 5 minutes because it was always deteting changes in the SVN repository.

After "googleling" a while, made some test, and copy the SVN repository URL in a browser i realised that my SVN URL was not the original one. The server was redirecting to another URL i dont know why, maybe due to the https connection.

The original URL was:

https://xxxx.yyy.es:443/svn/myproject/trunk

and the server redirected to

http://xxxx.yyy.es:8008/svn/myproject/trunk 

After changing the SVN URL to the final redirect it started to work properly again and it only triggers a build after changes has been uploaded to the reposository.




Be careful with servers redirects


references:

jenkins-scm-triggering-constant-builds-despite-no-change




miércoles, 28 de noviembre de 2012

Jenkins: Arrancar Jenkins fácilmente y en otro puerto diferente al 8080

Para los que usamos integración continua en nuestros proyectos una de las herramientas claves es JENKINS que es el servidor de integración continua.

Este puede instalarse en un máquina dedicada, pero para hacer pruebas también puede ejecutarse directamente desde el war que descarga de la web.

Para ello lo más fácil es poner la siguiente instruccion en una consola de comandos y desde el directorio donde esta el WAR.

java -jar jenkins.war --httpPort=8089 

Y en tu navegador pones la siguiente URL y ya accedes a Jenkins:

http://localhost:8089/