[FIXED JENKINS-12379] Allow specifying a context for archiving