On 10/27/23 15:15, Jiri Vanek wrote:
Thht is the trick which did the trick!

Tyvm for providing such direct solution. I would not found those attributes...

The build needed more tweek, but I think I'm nearly done. It now fails in final 
upload:

[INFO] [INFO] Uploading to maven.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/2.4/report-jtreg-plugin-2.4.pom
[INFO] [INFO] Uploading to maven.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/2.4/report-jtreg-plugin-2.4.hpi
[INFO] [INFO] Uploading to maven.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/2.4/report-jtreg-plugin-2.4.jar
[INFO] [INFO] I/O exception (java.net.SocketException) caught when processing 
request to {s}->https://repo.jenkins-ci.org:443: Connection or outbound has 
closed
[INFO] [INFO] Retrying request to {s}->https://repo.jenkins-ci.org:443
[INFO] [INFO] Uploading to maven.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/2.4/report-jtreg-plugin-2.4-sources.jar
[INFO] [INFO] I/O exception (java.net.SocketException) caught when processing 
request to {s}->https://repo.jenkins-ci.org:443: Connection or outbound has 
closed
[INFO] [INFO] Retrying request to {s}->https://repo.jenkins-ci.org:443
[INFO] [INFO] Uploading to maven.jenkins-ci.org: 
https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/2.4/report-jtreg-plugin-2.4-javadoc.jar

Where the reason is wrong base url:
   https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg-plugin/
whcih should have been
   
https://repo.jenkins-ci.org/artifactory/releases/io/jenkins/plugins/report-jtreg/
I mean:
     https://repo.jenkins-ci.org/releases/io/jenkins/plugins/report-jtreg/

This is yet again decalred in parent pom.

Any similar trick to the <scm> one?

TYVMS guys!

   J.


On 10/26/23 17:54, Basil Crow wrote:
On Thu, Oct 26, 2023 at 7:04 AM Jiri Vanek <[email protected]> wrote:

I was fiddling with 
https://github.com/jenkinsci/report-jtreg-plugin/blob/master/pom.xml#L27  (mostly reset to 
<gitHubRepo>jenkinsci</gitHubRepo> but it did not did the job.

Just replace <scm> with <scm
child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">.



--
Jiri Vanek Mgr.
Principal QA Software Engineer
Red Hat Inc.
+420 775 39 01 09

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a49646b6-48da-4926-b411-85e2965e2bd5%40redhat.com.

Reply via email to