Slice the cucumbers and place into two quart size jars along with onions, jalapeños, and garlic. Add sugar, salt, water, herbs, and spices in a saucepan and heat it till it boils. Now, pour the heated mixture on the cucumber and let it cool. Close the crock and let it cool for at least 2 hours. Serve cold.