Joint coating of pipelines