Allow copyartifact buildnumber to be either an int or a string

groups post: https://groups.google.com/forum/?fromgroups=#!topic/job-dsl-plugin/N-UzUF61p58
jira: https://issues.jenkins-ci.org/browse/JENKINS-21961