'Implements interface.'

def add_files_to_upload(self, options, file_set):

    if options.jenkins_master_credentials:
        file_set.add(options.jenkins_master_credentials)
    elif os.environ.get('JENKINS_MASTER_PASSWORD', None):
        path = write_data_to_secure_path(os.environ.get('JENKINS_MASTER_PASSWORD'), 'jenkins_{0}_password'.format(options.jenkins_master_name))
        file_set.add(path)
