When an action is against two or more defendants jointly indebted upon a contract and the summons is served on one or more but not all of them and judgment is recovered, it may be entered against all the defendants jointly indebted only so far as it may be enforced against the joint property of all and the separate property of the defendants served and, if they are subject to arrest, against the persons of the defendants served.