jenkins-job-builder/tests
Darragh Bailey 6e237c4369 Allow using lockfile per jenkins master
When a jjb run is thrown when another jjb is already running, it can
cause corruption of cache. Start using a fasteners to ensure this
won't be happening and run securely on automated systems.

Ensure unlock is called from only the destructor, so that it is only
called when the JJB process is guaranteed to be finished using it.

Make it obvious that _lock is intended to be internal to the cache
storage implementation.

Potentially we may not need to call it at all, as python might unlock
it for us on exit by closing the file when no longer needed. However
better to make it explicit.

Change-Id: I53a1f92cf2bfbbe87c9ea205c377f93869353620
2017-06-27 15:02:04 +00:00
..
builders Merge "Update Gradle plugin to use convert_mapping_to_xml function" 2017-03-28 19:03:50 +00:00
cachestorage Allow using lockfile per jenkins master 2017-06-27 15:02:04 +00:00
cmd Merge "Wrapper pre-scm-buildstep: added support for failOnError parameter" 2017-03-29 09:55:34 +00:00
duplicates Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
errors Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
general Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
hipchat Add convenience function for plugin namespace 2016-11-11 13:34:16 -05:00
jenkins_manager Removed some deprecation warnings and enabled py35 on tox. 2017-03-12 19:43:33 +00:00
jsonparser Merge "Wrapper pre-scm-buildstep: added support for failOnError parameter" 2017-03-29 09:55:34 +00:00
localyaml Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
macros scm: introduce parent-credentials for git submodules 2017-04-04 14:00:16 +03:00
moduleregistry Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
modules Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
notifications Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
parallel Rename "parallelize" decorator to "concurrent" 2016-08-18 22:47:48 -04:00
parameters Add support for credentials job parameter type 2017-01-03 14:56:05 -07:00
properties Merge "properties: cover lockable-resources plugin" 2017-03-28 19:03:05 +00:00
publishers Merge "Update JaCoCo plugin" 2017-03-28 19:03:14 +00:00
reporters Refactor base test classes inheritance for reuse 2016-09-14 14:58:57 +01:00
scm scm: introduce parent-credentials for git submodules 2017-04-04 14:00:16 +03:00
triggers Merge "Add support for jms_messaging plugin as a trigger" 2017-04-04 15:22:17 +00:00
views Add view management functionality 2016-10-14 09:14:21 -04:00
wrappers Merge "Wrapper pre-scm-buildstep: added support for failOnError parameter" 2017-03-29 09:55:34 +00:00
xml_config Enable and fix xml_config tests 2016-11-21 13:56:33 +00:00
yamlparser Merge "Wrapper pre-scm-buildstep: added support for failOnError parameter" 2017-03-29 09:55:34 +00:00
__init__.py Tests for publishers 2013-07-19 14:31:11 +02:00
base.py Merge "Add view management functionality" 2016-11-10 16:35:23 +00:00