Update artifactCleanup.groovy

applied 3.0 api changes