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 ] always send notification email using Gmail TLS

Installation 

Manage Jenkins > Manage Plugins > Email Extension Plugin

Configure SMTP

Manage Jenkins > Configure System

NOTE : To use TLS

  1. unckeck SSL
  2. -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"
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 

jenkins_editable_email_notification

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.

[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

Solution

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