docs: public static ArtifactoryClientConfiguration addBuilderInfoArguments(Map<String, String> env, Run build, TaskListener listener,
                                                                           PublisherContext publisherContext, ResolverContext resolverContext, FilePath ws, hudson.Launcher launcher)
              throws Exception {
          ArtifactoryClientConfiguration configuration = getArtifactoryClientConfiguration(env, build,
                  null, listener, publisherContext, resolverContext);
          if (isMavenResolutionConfigured(resolverContext)) {
              env.put(BuildInfoConfigProperties.PROP_ARTIFACTORY_RESOLUTION_ENABLED, Boolean.TRUE.toString());
          }
  
          // Create tempdir for properties file
          FilePath tempDir = createAndGetTempDir(ws);
  
          persistConfiguration(configuration, env, tempDir, launcher);
          return configuration;
      }