Allow copyartifact buildnumber to be either an int or a string