If you want to upload your jar/war files to nexus after each Jenkins build and want to have the buildnumber in the pom.xml, you can let Jenkins inject these.
You might also want this version in the manifest file in the jar/war so you can read the version from your program.
Lees meer »
Categorie: Jenkins
Setting up a Jenkins slave
Setting up a Jenkins slave is more easy then you might think.
On the server that needs to be run as the slave, you only need the following:
– java
– an account that Jenkins can use to run the jobs (typically a user called ‘jenkins’)
– a folder in which Jenkins can store the required files (typically: /jenkins)
Lees meer »
Creating parallel jobs in Jenkins
Sometimes it is handy to have some jobs running in parallel in Jenkins, en have other jobs starten only when all parallel jobs have been finished.
There are multiple ways to do this, I have chosen the following:
Lees meer »