if (jungle) { build tradingpost }
For building roads you can use the route-to mode which works fairly well. The only caveat is that you can't tell the worker to build roads (because they're cheaper) if you have researched railroads, even if the city has a harbor so it already has the production bonus. Or it's a city state and you're only building it for the diplomacy boost.