McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Jenkins Plugin question

Hello,

AI, Version 12.1

apology if this is is a silly question, but I'm trying for the first time jenkins and advanced installer plugin.

First of all, I'm able to compile my project when I directly start AI from the server side. When I trigger the Jenkins job for the setup, I get following error:

Code: Select all

FATAL: java/nio/file/Paths
java.lang.NoClassDefFoundError: java/nio/file/Paths
	at caphyon.jenkins.advinst.AdvinstDescriptorImpl.getAdvinstComPath(AdvinstDescriptorImpl.java:158)
	at caphyon.jenkins.advinst.AdvinstBuilder.perform(AdvinstBuilder.java:83)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764)
	at hudson.model.Build$BuildExecution.build(Build.java:205)
	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
	at hudson.model.Run.execute(Run.java:1744)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:374)
Could somebody tell me, what am I missing here?

Thanks in advance...
Keneth
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Jenkins Plugin question

Hello Keneth,

In order to use the Advanced Installer plugin for Jenkins you need a Java machine with version 1.7 or higher.
The error you have specifies that a certain class is not found, and this error usually appears when using an older version of Java.

Please check on your machine the Java version and update if necessary.
If the problem persists, please let us know.

Do not hesitate to ask any other questions.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Jenkins Plugin question

Thanks, indeed we have here an older version.

Nevertheless, I have decided to use the AdvancedInstaller command line instead. In this matter I have a new issue. I have several Merge-Module projects and I need to set the version of them using the command line too. For a normal Msi project I use the /SetVersion command, but this not work for merge modules. Could you please tell me which property or command I need to use in order to change the version number of a merge module project?

Thanks in advance.
Keneth
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Jenkins Plugin question

Hello,

I'm still waiting an answer to my last post. Maybe you are overseen my question there?
McKool wrote: I have several Merge-Module projects and I need to set the version of them using the command line too. For a normal Msi project I use the /SetVersion command, but this not work for merge modules. Could you please tell me which property or command I need to use in order to change the version number of a merge module project?
or should I make a new post about the command line question?

Please let me know, and thanks in advance for your appreciated help,

Regards,
Keneth
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Jenkins Plugin question

Hello Keneth,

Sorry for the late reply. We had some days off as national holidays.

Unfortunately, we do not have support for this command.
Please take a look at these Merge Module options that are supported by our command line interface.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
McKool
Posts: 113
Joined: Wed Jan 19, 2011 12:35 pm
Location: Darmstadt, Germany
Contact: Website

Re: Jenkins Plugin question

Hello,

thanks for your answer. Would you consider adding a new command for the version of msm projects in the new version of AI? The version number is very important, specially when using automation (as using your Jenkins plugin, or the command line).

Thanks,
Keneth
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Jenkins Plugin question

Hello Keneth,

Indeed, versioning is very important.
I've added your request on our TODO list and such an improvement will be added in a future version of Advanced Installer.

Thank you for your suggestion and your understanding.

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Jenkins Plugin question

Hello,

This improvement has been added in version 12.7 of Advanced Installer released on February 4th, 2016.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”