Plugin mvn release:perform

55 views
Skip to first unread message

pallen

unread,
Aug 30, 2016, 8:08:32 AM8/30/16
to Jenkins Developers
Hi Guys,

Has the server moved? or login requirements changed?

Running the final step `mvn release:perform` I get a broken pipe error:

    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ p4 ---

    [INFO] Installing /Users/pallen/Workspaces/main.p4-jenkins/public/target/checkout/target/p4.hpi to /Users/pallen/.m2/repository/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5.hpi

    [INFO] Installing /Users/pallen/Workspaces/main.p4-jenkins/public/target/checkout/pom.xml to /Users/pallen/.m2/repository/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5.pom

    [INFO] Installing /Users/pallen/Workspaces/main.p4-jenkins/public/target/checkout/target/p4.jar to /Users/pallen/.m2/repository/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5.jar

    [INFO] Installing /Users/pallen/Workspaces/main.p4-jenkins/public/target/checkout/target/p4-sources.jar to /Users/pallen/.m2/repository/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5-sources.jar

    [INFO] Installing /Users/pallen/Workspaces/main.p4-jenkins/public/target/checkout/target/p4-javadoc.jar to /Users/pallen/.m2/repository/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5-javadoc.jar

    [INFO] 

    [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ p4 ---

    Uploading: http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5.hpi

    Aug 30, 2016 12:47:27 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://maven.jenkins-ci.org:80: Broken pipe

    Aug 30, 2016 12:47:27 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: Retrying request to {}->http://maven.jenkins-ci.org:80

    Aug 30, 2016 12:47:31 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://maven.jenkins-ci.org:80: Broken pipe

    Aug 30, 2016 12:47:31 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: Retrying request to {}->http://maven.jenkins-ci.org:80

    Aug 30, 2016 12:47:34 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://maven.jenkins-ci.org:80: Broken pipe

    Aug 30, 2016 12:47:34 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute

    INFO: Retrying request to {}->http://maven.jenkins-ci.org:80

    Uploading: http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/p4/1.4.5/p4-1.4.5.pom

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 44.534 s

    [INFO] Finished at: 2016-08-30T12:47:41+01:00

    [INFO] Final Memory: 94M/2131M

    [INFO] ------------------------------------------------------------------------

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project p4: Failed to deploy artifacts: Could not transfer artifact org.jenkins-ci.plugins:p4:hpi:1.4.5 from/to maven.jenkins-ci.org (http://maven.jenkins-ci.org/content/repositories/releases/): Protocol wrong type for socket -> [Help 1]



My .m2 settings:


<settings>

  <pluginGroups>

    <pluginGroup>org.jenkins-ci.tools</pluginGroup>

  </pluginGroups>


  <profiles>

    <!-- Give access to Jenkins plugins -->

    <profile>

      <id>jenkins</id>

      <activation>

        <activeByDefault>true</activeByDefault> <!-- change this to false, if you don't like to have it on per default -->

      </activation>

      <repositories>

        <repository>

          <id>repo.jenkins-ci.org</id>

          <url>http://repo.jenkins-ci.org/public/</url>

        </repository>

      </repositories>

      <pluginRepositories>

        <pluginRepository>

          <id>repo.jenkins-ci.org</id>

          <url>http://repo.jenkins-ci.org/public/</url>

        </pluginRepository>

      </pluginRepositories>

    </profile>

  </profiles>


  <mirrors>

    <mirror>

      <id>repo.jenkins-ci.org</id>

      <url>http://repo.jenkins-ci.org/public/</url>

      <mirrorOf>m.g.o-public</mirrorOf>

    </mirror>

  </mirrors>


  <servers>

    <server>

      <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository -->

      <username>p4paul</username>

      <password>********</password>

    </server>

  </servers>

</settings>



Björn Pedersen

unread,
Aug 30, 2016, 8:23:09 AM8/30/16
to Jenkins Developers

Paul Allen

unread,
Aug 30, 2016, 11:55:13 AM8/30/16
to jenkin...@googlegroups.com
Thanks. I think that worked.


Strangely the page below references maven.jenkins-ci.org for the credential. I too had to use this address or I got a 401.

https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/p4/1.4.6/p4-1.4.6.hpi

<servers>
<server>
<id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository -->
<username>...</username>
<password>...</password>
</server>
</servers>


Kind regards,
Paul
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ec767085-07b5-498e-86db-44a36481d973%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

<p style"color: gray;font-size: 10pt;font-family: arial, helvetica, sans-serif;">
--------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager. Please
note that any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of Perforce Software. Finally,
the recipient should check this email and any attachments for the presence of
viruses. Perforce Software accepts no liability for any damage caused by any
virus transmitted by this email.

Perforce Software UK Ltd is registered in England and Wales as company no.
3816019 at the following address: West Forest Gate, Wellington Road, Wokingham,
RG40 2AQ, UK
--------------------------------------------------------------------------------
</p>

Daniel Beck

unread,
Aug 30, 2016, 12:04:16 PM8/30/16
to jenkin...@googlegroups.com

> On 30.08.2016, at 17:54, Paul Allen <pal...@perforce.com> wrote:
>
> the page below

Wrong link?
Reply all
Reply to author
Forward
0 new messages