Created
November 9, 2017 09:37
-
-
Save unakatsuo/e5c6ee665dce131c3f36afaf64ceac2d to your computer and use it in GitHub Desktop.
inotifywait patterns for Jenkins multiple branch jobs folder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# New build started | |
/var/lib/jenkins/jobs/citest/branches/master/builds/ CREATE,ISDIR 28 | |
# log modified | |
/var/lib/jenkins/jobs/citest/branches/master/builds/28/ MODIFY log | |
# The last log update | |
/var/lib/jenkins/jobs/citest/branches/master/builds/28/ CLOSE_WRITE,CLOSE log | |
# a build stage finished | |
/var/lib/jenkins/jobs/citest/branches/master/builds/28/ MOVED_TO build.xml | |
# a build for the build finished. | |
# 1. Hard to identify the build ID. | |
/var/lib/jenkins/jobs/citest/branches/master/builds/ CLOSE_NOWRITE,CLOSE,ISDIR | |
# 2. Closing log file is another possible signal. | |
/var/lib/jenkins/jobs/citest/branches/master/builds/28/ CLOSE_WRITE,CLOSE log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment