Archive for October, 2013

How to schedule jobs in Jenkins / Triggering a Build Job

October 17, 2013 1 comment

In the job configuration one can define various build triggers. With periodically build enabled in the Build Triggers section it is possible to schedule a job.


The cron-syntax for triggering a job in Jenkins looks like this:
minute (0-59), hour (0-23), day (1-31), month (1-12), day of week (0-7)


# start build daily at morning
03 09 * * 1-5

# start build daily at lunchtime
00 12 * * 1-5

# start build daily in the afternoon
00 14 * * 1-5

# start build daily in the late afternoon
00 16 * * 1-5

#start build at midnight
59 23 * * 1-5

For more informations about Jenkins have a look at the book Jenkins: The Definitive Guide of John Ferguson Smart

The Jenkins Continuous Integration Cookbook of Alan Mark Berg here.


Howto build single module from multimodule maven project

For building a single module one can use the reactor parameter¬†‘–projects’.


- pom.xml (super POM)
- submodule1
  - src
  - pom.xml (sub POM)
- projects
  - doc
  - submodule2
    - src
    - pom.xml (sub POM)
mvn package --projects submodule1,projects\submodule2

More free space at Windows 8 PC

Run cmd as Admin
Put in, %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
Hit Enter
Check ALL boxes in the windows that comes up (checks only need be put in the 1st time running), hit OK.

When you hibernate, there is a huge file created called hiberfil.sys. The next thing you can do is to disable Hibernate:

powercfg /h off

But have a look at this page before you do that.

The next thing you can try is to use CCleaner to clean more temporary files. I use it for the temporary files only. The only time I use the registry cleaner is after I uninstall an app. The registry cleaner can cause major problems. You should always have an Image of your system when doing any of this stuff.

Categories: Windows, Windows 8