Rinse the chicken with cold water and pat dry. Cut into 6-8 pieces.
Peel and finely chop the onion.
Peel and squeeze the garlic cloves.
Quarter, clean, wash, and dice the green and red peppers.
Peel the pineapple generously, quarter it, remove the hard inner stalk, cut the flesh into smaller pieces, and mix with the diced peppers.
Preheat the oven to 200°C (392°F).
Heat the oil in an ovenproof dish over medium heat. Fry the chicken pieces on all sides until golden brown, about 8-10 minutes. Season with salt and pepper, then remove and set aside.
In the same dish with the remaining oil, cook the onion and garlic over medium heat until translucent, about 5 minutes.
Add the pepper-pineapple mixture, season with salt and pepper. Stir in the cloves, bay leaf, cinnamon stick, and fresh thyme. Pour the poultry broth over top.
Return the chicken pieces to the dish, placing them on top of the vegetable mixture.
Bake uncovered in the center of the oven for about 60 minutes, until the chicken reaches an internal temperature of 74°C (165°F).