Note that there are some explanatory texts on larger screens.

plurals
  1. POJenkins/Hudson - How to deploy builds into a directory on the local filesystem
    primarykey
    data
    text
    <p>I want to store builds in my own directory and I don't want to run Sonatype Nexus or similar. Is this possible?</p> <p>I set up Jenkins to deploy artifact into my Maven repository and filled in this URL</p> <pre><code>file:///home/tomas/.m2/repository </code></pre> <p>If I try to build the project, I will get this exception</p> <pre><code>Maven RedeployPublished use remote maven settings from : /var/lib/jenkins/tools/mvn/conf/settings.xml [INFO] Deployment in /home/tomas/.m2/repository (id=,uniqueVersion=true) Deploying the main artifact wst-root-pom-1.0.pom ERROR: Failed to deploy artifacts/metadata: No connector available to access repository (/home/tomas/.m2/repository) of type default using the available factories WagonRepositoryConnectorFactory org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts/metadata: No connector available to access repository (/home/tomas/.m2/repository) of type default using the available factories WagonRepositoryConnectorFactory at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:182) at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:998) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1435) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts/metadata: No connector available to access repository (/home/tomas/.m2/repository) of type default using the available factories WagonRepositoryConnectorFactory at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:235) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) ... 11 more Caused by: org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector available to access repository (/home/tomas/.m2/repository) of type default using the available factories WagonRepositoryConnectorFactory at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:400) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:231) ... 14 more [INFO] Deployment failed after 0,26 sec Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE Finished: FAILURE </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload