ci: enable AddressSanitizer for unit tests

Change-Id: Iddac2075fe27d57cb8bf5c13846cfb1deceadcdd
Refs: #2589
diff --git a/.jenkins.d/20-tests.sh b/.jenkins.d/20-tests.sh
index f0583ca..51aac69 100755
--- a/.jenkins.d/20-tests.sh
+++ b/.jenkins.d/20-tests.sh
@@ -31,6 +31,17 @@
     fi
 }
 
+ASAN_OPTIONS="color=always"
+ASAN_OPTIONS+=":detect_leaks=false"
+ASAN_OPTIONS+=":detect_stack_use_after_return=true"
+ASAN_OPTIONS+=":check_initialization_order=true"
+ASAN_OPTIONS+=":strict_init_order=true"
+ASAN_OPTIONS+=":detect_invalid_pointer_pairs=1"
+ASAN_OPTIONS+=":detect_container_overflow=false"
+ASAN_OPTIONS+=":strict_string_checks=true"
+ASAN_OPTIONS+=":strip_path_prefix=${PWD}/"
+export ASAN_OPTIONS
+
 # Run unit tests
 ./build/unit-tests $(ut_log_args)