@Mojo(name="upload",
defaultPhase=DEPLOY)
public class UploadMojo
extends AbstractHelmMojo
skip| Constructor and Description |
|---|
UploadMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected HttpURLConnection |
getConnectionForUploadToArtifactory(File file,
boolean useGroupId) |
protected HttpURLConnection |
getConnectionForUploadToChartmuseum() |
protected HttpURLConnection |
getConnectionForUploadToNexus(File file) |
protected void |
uploadSingle(String file) |
formatIfValueIsNotEmpty, getAppVersion, getChartDirectory, getChartVersion, getChartVersionWithProcessing, getExcludes, getHelmDownloadUrl, getHelmExecutableDirectory, getHelmExtraRepos, getHelmSecurity, getHelmVersion, getK8SCluster, getOutputDirectory, getProjectGroupId, getProjectVersion, getRegistryConfig, getRepositoryCache, getRepositoryConfig, getSecDispatcher, getSettings, getTimestampFormat, getUploadRepoSnapshot, getUploadRepoStable, isAutoDetectLocalHelmBinary, isTimestampOnSnapshot, isUseLocalHelmBinary, setAppVersion, setAutoDetectLocalHelmBinary, setChartDirectory, setChartVersion, setExcludes, setGithubUserAgent, setHelmDownloadUrl, setHelmExecutableDirectory, setHelmExtraRepos, setHelmSecurity, setHelmVersion, setK8SCluster, setLog, setOutputDirectory, setProjectGroupId, setProjectVersion, setRegistryConfig, setRepositoryCache, setRepositoryConfig, setTimestampFormat, setTimestampOnSnapshot, setTmpDir, setUploadRepoSnapshot, setUploadRepoStable, setUseLocalHelmBinarypublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void uploadSingle(String file) throws IOException, BadUploadException, org.apache.maven.plugin.MojoExecutionException
IOExceptionBadUploadExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected HttpURLConnection getConnectionForUploadToChartmuseum() throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected HttpURLConnection getConnectionForUploadToArtifactory(File file, boolean useGroupId) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected HttpURLConnection getConnectionForUploadToNexus(File file) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2017–2022 Kokuwa.io. All rights reserved.