Why we should use Jenkins instead of windows task scheduler

Jenkins provide a lot of utilities that we do not have it on windows task scheduler

  1. Integrated logging system : instead of writing log ourself, jenkins provide a integrated log system
  2. Succeed/Failing email notification : in task scheduler, we have to write a script to send email ourself ( i.e. using PowerShell, etc. ).
  3. Progress tracking via web-based : no need to remote desktop
  4. Manual trigger the job : no need to remote desktop

[ jenkins ] Email Notification using “Extended E-mail notification” plugins


Manage Jenkins > Manage Plugins > Email Extension Plugin

Configure SMTP

Manage Jenkins > Configure System > Extended E-mail Notification

Option 1 : use TLS

  1. smtp.gmail.com
  2. port : 465
  3. unckeck SSL
  4. -Dmail.smtp.starttls.enable=”true” *** before -jar
    “%BASE%\jenkins.war” *** in `C:\Program Files (x86)\Jenkins\jenkins.xml`
-Dmail.smtp.starttls.enable="true" -jar "%BASE%\jenkins.war"
Option 2 : use SSL
1. smtp.gmail.com
2. port : 465
3. If your gmail enable 2 steps notifcation, use app password
Default content

{BUILD_LOG, maxLines=10000}

Check console output at $BUILD_URL to view the results.

The params is listed in ? in “Content Token Reference” section

Configure a project to send email at every build
  1. Click “Add post-build action”
  2. Click “Editable Email Notification”
  3. Click “Advanced Settings…”
  4. Click “Add Trigger”
  5. Click “Always”
  6. Save

Configuration Example 


NOTE : In Advance setting, the default Always will notify both `Recipient List` and `Developer`, the  Failure - Any will notify `Developer` which is the person who commit to Git.


ref : https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854,


[ubuntu] wrong fs type, bad option, bad superblock

Problem : mount error

 $ sudo mount -a

mount: wrong fs type, bad option, bad superblock on Downloads,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg | tail

sf_read_super_aux err=-22


Need symbolic link

/sbin/mount.vboxsf -> /usr/lib/VBoxGuestAdditions/mount.vboxsf

 $ sudo ln -s /usr/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf


ref : http://qiita.com/amagitakayosi/items/07ff50afac1cd6f62c1f