Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [package-drone-dev] Jenkins upload to packagedrone successful, but jar not available in channel

Hi Mattias,

Package Drone uses logback, so you can enable and configure logging e.g. using a system property [1]

Cheers

Jens

[1] https://logback.qos.ch/manual/configuration.html#configFileProperty

On Fri, Jul 27, 2018 at 10:32 AM, Mattias Vanhoutte <m.vanhoutte@xxxxxxxxxxx> wrote:

Hello,


We have a Jenkins which pushes maven releases (jar files) to Package Drone.

Jenkins does not report any issues when uploading the jar file to packagedrone (uploading was successful in Jenkins log to packagedrone), but if we check packagedrone, there is no jar available in this channel.

Logging of Jenkins:

packaging = bundle
[Pipeline] echo
JAR or BUNDLE detected --> Publish to PackageDrone
[Pipeline] findFiles
[Pipeline] echo
target/com.xxx.yyy-1.7.1.jar
[Pipeline] echo
com.xxx.yyy-1.7.1.jar
[Pipeline] echo
Start upload to Package Drone java-releases channel
[Pipeline] pdrone
Package Drone Server URL: https://someURL:8080
Uploading using Package Drone V3 uploader
Call returned: HTTP/1.1 200 OK
Uploaded to chanel: 403f7798-b70f-499d-b669-738eff2fac31
Uploaded: 1, rejected: 0
[Pipeline] echo
End JAR publish
[Pipeline] }


We run packagedrone on an Ubuntu 16.04.2 LTS, but I would like to know where I can find the logs on this system with maybe the reason why it is not available in this channel.

I can not find the logs.

This is the process which is running

pdrone    1010  0.0 18.5 3566108 749912 ?      Ssl   2017 170:08 java -Ddrone.storage.base=/data/packagedronestorage -Dorg.ops4j.pax.web.listening.addresses=localhost -Ddrone.storage.base=/var/lib/package-drone-server/storage -Dosgi.requiredJavaVersion=1.8 -jar /usr/lib/package-drone-server/instance/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -consoleLog

Is is a problem it is consoleLog?

Can I configure packagedrone to store the logging in a file?

When I upload the jar manually via the WebInterface of packagedrone, there is no issue and the jar is available in the channel.


Kind Regards,

Mattias Vanhoutte


_______________________________________________
package-drone-dev mailing list
package-drone-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/package-drone-dev




--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill

Back to the top