Re: Adding metadata to the jar

2019-04-09 Thread Avi Levi
Cool, thanks! Those are great options and just what I was looking for On Tue, Apr 9, 2019 at 12:42 AM Timothy Victor wrote: > One approach I use is to write the git commit sha to the jars manifest > while compiling it (I don't use semantic versioning but rather use commit > sha). > > Then at run

Re: Adding metadata to the jar

2019-04-08 Thread Timothy Victor
One approach I use is to write the git commit sha to the jars manifest while compiling it (I don't use semantic versioning but rather use commit sha). Then at runtime I read the implementationVersion (class.getPackage().getImplementationVersion()), and print that in the job name. Tim On Mon, Apr

Re: Adding metadata to the jar

2019-04-08 Thread Bruno Aranda
Hi Avi, Don't know if there are better ways, but we store the version of the job running and other metadata as part of the "User configuration" of the job, so it shows in the UI when you go to the job Configuration tab inside the job. To do so, when we create the job: val buildInfo = new Configur

Adding metadata to the jar

2019-04-08 Thread Avi Levi
Is there a way to add some metadata to the jar and see it on dashboard ? I couldn't find a way to do so but I think it very useful. Consider that you want to know which version is actually running in the job manager (not just which jar is uploaded which is not necessary being running at the moment