kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-715] Configure Jenkins to upload SNAPSHOTs to the Sonatype repo #1103

Open rju opened 1 week ago

rju commented 1 week ago

JIRA Issue: KIEKER-715 Configure Jenkins to upload SNAPSHOTs to the Sonatype repo Original Reporter: Andre van Hoorn


See also KIEKER-483 Done .

1. Needs a file ~/.m2/settings.xml
1. Integrate in job kieker-nightly-release

Checklist:

rju commented 1 week ago

author Jan Waller -- Thu, 21 Feb 2013 12:12:27 +0100

Someones private key and pw has to be stored on the server?

Perhaps we could create an account for jenkins?

rju commented 1 week ago

author André van Hoorn -- Thu, 21 Feb 2013 12:14:56 +0100

Replying to [jwa|comment:1]:
> Someones private key and pw has to be stored on the server?
>
> Perhaps we could create an account for jenkins?

The private key is not needed for uploading SNAPSHOTs (they are not signed)

I will manage the user issue.

rju commented 1 week ago

author André van Hoorn -- Thu, 21 Feb 2013 12:29:36 +0100

Replying to KIEKER-715 Done :
> See also KIEKER-483 Done .
>
> 1. Needs a file ~/.m2/settings.xml

Delegated to arl

> 1. Integrate in job kieker-nightly-release

After 1. is done, add deploy-maven-snapshot to the list of Ant targets to be executed.

rju commented 1 week ago

author RTSYS Techniker -- Thu, 21 Feb 2013 12:52:58 +0100

Done!

rju commented 1 week ago

author André van Hoorn -- Thu, 21 Feb 2013 13:25:45 +0100

Thanks.

Jenkins now uploads SNAPSHOTs.

Repository:

<repositories>
  <repository>
    <id>sonatype.oss.snapshots</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  </repository>
</repositories>

Dependencies:

<dependency>
  <groupId>net.kieker-monitoring</groupId>
  <artifactId>kieker-aspectj</artifactId>
  <version>1.7-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>net.kieker-monitoring</groupId>
  <artifactId>kieker-emf</artifactId>
  <version>1.7-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>net.kieker-monitoring</groupId>
  <artifactId>kieker</artifactId>
  <version>1.7-SNAPSHOT</version>
</dependency>
rju commented 1 week ago

author Jan Waller -- Thu, 21 Feb 2013 15:47:22 +0100

Should we upload each nightly or limit the uploads to one per day?

rju commented 1 week ago

author nils-christian -- Thu, 21 Feb 2013 15:49:51 +0100

Well, the guys from sonatype said that there wouldn't be a problem, right? I don't see a problem there...also it could be useful if I need changes for the WebGUI immediately.

rju commented 1 week ago

author André van Hoorn -- Thu, 21 Feb 2013 16:45:25 +0100

Replying to [nie|comment:7]:
> Well, the guys from sonatype said that there wouldn't be a problem, right? I don't see a problem there...also it could be useful if I need changes for the WebGUI immediately.

Right. This way, the nightly builds available via Jenkins and Sonatype are consistent.