Call Perform Maven Release through REST API
Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins silently skipping MultiJob phase.
Hi David, I also experience this issue with 18 child jobs. I tried to split parent job into 3 but it does'nt solve the problem. I also tried to use build-flow-plugin but it doesn't fill my requirements. Has someone also seen the issue ? Or David, did you find a workaround ? Regards Marc -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins silently skipping MultiJob phase.
No, the issue persists and I have not found a work-around. Initially, I thought it may be related to out-of-memory issues in Jenkins but it turns out that this is not the case. Regards, /David On Wed, May 28, 2014 at 9:34 AM, Scott Tenorman marclemi...@hotmail.comwrote: Hi David, I also experience this issue with 18 child jobs. I tried to split parent job into 3 but it does'nt solve the problem. I also tried to use build-flow-plugin but it doesn't fill my requirements. Has someone also seen the issue ? Or David, did you find a workaround ? Regards Marc -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/vva7-dLYQL4/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
xUnit.net - anybody use that with Jenkins?
Hi. Got a .NET project that uses xUnit.net and want to use our existing Jenkins setup. Anyone using it with Jenkins? There does not seem to be a plugin for it, so some conversion would be required to get it to fit. Has anyone else tried this? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Different platforms in NUnit in the same job
Hey, I'm struggling with, what i thought would be a simple task, I have some NUnit test that i want to run in both x64 and x84 but I'd like it to be grouped by the bitness, as fare as I see it I have to create two separate jobs in order to clearly divide this. is that true??.. Is that true or is there a nice feature/plugins that I'm not aware of please enlighten me ;) -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Config File Provider Plugin: Is it possible to automatically create a new configuration file?
Hi everybody! I have three questions about the Config File Provider Plugin: 1. Is it possible to automatically/programmatically (e.g. using an API) add/load/create a configuration file into the Config File Management? 2. Additionally I would like to know where all the files which are managed by the Config File Provider Plugin are persisted? 3. Finally, are there some objections against handling of MySQL dump files with Config File Provider Plugin? Regards! -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to run msbuild from a Python script?
Hi I have a Jenkins job that builds a Visual Studio project in multiple configurations using msbuild. I currently have multiple build steps in the job - one Windows batch command step for each call of msbuild. I want to replace these steps with a single Python script, which will be easier to configure and that can be put under version control. My difficulty is that I don't know much Python and I am struggling to run vcvarsall.bat and msbuild in a single subprocess. I know this is more of a Python question than a Jenkins question, but I thought that someone here may have faced the same problem and may be able to share some code. Any help would be appreciated. Best regards David -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Permgen issues only when run as a Windows Service
For the purposes of completeness, a follow-up. I have overcome the problem. It seems the MAVEN_OPTS environment variable set within Windows is not read, or mine is incorrect set. If I Configure the project, and click Advanced under Build I can add -XX:MaxPermSize=256m to MAVEN_OPTS. This resolved the issue for me. On 19 May 2014 16:05, James Green james.mk.gr...@gmail.com wrote: Right - server is now 1.563 and I restarted the Jenkins service. I still get PermGen errors. Time to file a bug..? Build output includes: Parsing POMs Modules changed, recalculating dependency graph maven31-agent.jar already up to date maven31-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [portal-selenium] $ C:\Program Files\Java\jdk1.7.0_55/bin/java -Dmaven.test.failure.ignore=false -cp c:\Jenkins\maven31-agent.jar;C:\Program Files\apache-maven\boot\plexus-classworlds-2.5.1.jar;C:\Program Files\apache-maven/conf/logging jenkins.maven3.agent.Maven31Main C:\Program Files\apache-maven C:\Jenkins\slave.jar c:\Jenkins\maven31-interceptor.jar c:\Jenkins\maven3-interceptor-commons.jar 54261 ===[JENKINS REMOTING CAPACITY]===channel started Executing Maven: -B -f c:\Jenkins\workspace\portal-selenium\pom.xml clean install [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 ... [INFO] Initializing ProtocolHandler [http-bio-8080] [INFO] Starting service Tomcat [INFO] Starting Servlet Engine: Apache Tomcat/7.0.47 [INFO] No Spring WebApplicationInitializer types detected on classpath [INFO] Initializing Spring root WebApplicationContext ... [INFO] WSSERVLET14: JAX-WS servlet initializing [INFO] No Spring WebApplicationInitializer types detected on classpath [INFO] Initializing Spring root WebApplicationContext 15:45:27,036 WARN org.springframework.core.io.support.PropertiesLoaderSupport:181 loadProperties() - Could not load properties from URL [file:${portal.properties.file}]: ${portal.properties.file} (The system cannot find the file specified) Have now configured log4j using log4j.properties ... Exception in thread org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4 Exception in thread org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3 15:46:42,942 INFO quartz.ReadNotificationScheduler:39 executeInternal() - Executing schedule Exception in thread org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-2 Exception in thread org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8 Exception in thread org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10 [ERROR] Unexpected error in channel channel java.lang.OutOfMemoryError: PermGen space[ERROR] A child container failed during startjava.lang.InterruptedException at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:400) at java.util.concurrent.FutureTask.get(FutureTask.java:187) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1238) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:592) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at
Re: How to run msbuild from a Python script?
When vcvarsall.bat executes it sets environment variables, but they only valid within the command shell in which it is executed and when that shell terminates the environment variables are gone. Your python will be creating a command shell each time it executes vcvarsall.bat and then a process for msbuild which means msbuild doesn't know about the environmental variables. You will need to do some work to determine the values of those environmental settings. Then you can configure you Jenkins Master, slave or job with the appropriate environmental settings and launch msbuild as different step. Or you can then write the Python to set the environment each time it creates the process for msbuild step based on what you have discovered. Alternatively you will need to create batch/cmd files that invoke vcvarsall.bat and before the relevant msbuild step. On 28 May 2014 16:56, David Aldrich david.aldr...@emea.nec.com wrote: Hi I have a Jenkins job that builds a Visual Studio project in multiple configurations using msbuild. I currently have multiple build steps in the job – one Windows batch command step for each call of msbuild. I want to replace these steps with a single Python script, which will be easier to configure and that can be put under version control. My difficulty is that I don’t know much Python and I am struggling to run vcvarsall.bat and msbuild in a single subprocess. I know this is more of a Python question than a Jenkins question, but I thought that someone here may have faced the same problem and may be able to share some code. Any help would be appreciated. Best regards David -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Call Perform Maven Release through REST API
Well, you certainly want too give a wee bit more precision. Trying to approximately answer your question though, one way to do it could be: 1) define a Jenkins job, and configure it so that the release works fine (define a parameter for that build) 2) through either jenkins-cli or the rest api, trigger the release build remotely, passing the required parameter you speak about. Cheers Le 28 mai 2014 09:31, Emmanuel POT emmanuel@gmail.com a écrit : Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Call Perform Maven Release through REST API
Hello, Sorry I will try to be more specific. I want to use the Jenkins plugin Maven Release https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin. It takes care of committing the correct version in the pom.xml before the release, with the possibility to tune the commit message... I create a new Maven job, and activate the plugin for it. In the UI, it adds a new button on the left panel at job level Perform Maven Release that opens a new form in which I can precise a few things including the version. It is not a build parameter of the job that I could pass by calling the classic REST API. I wonder if this specific plugin can be called via the API, and if it is the case, how ? Maybe the answer is not to use the Maven job configuration and the plugin above, and simply define shell steps with build parameters in a free-style project. Cheers, Emmanuel On Wednesday, 28 May 2014 17:55:45 UTC+2, Baptiste Mathus wrote: Well, you certainly want too give a wee bit more precision. Trying to approximately answer your question though, one way to do it could be: 1) define a Jenkins job, and configure it so that the release works fine (define a parameter for that build) 2) through either jenkins-cli or the rest api, trigger the release build remotely, passing the required parameter you speak about. Cheers Le 28 mai 2014 09:31, Emmanuel POT emmanu...@gmail.com javascript: a écrit : Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Execute perl script in unix server to start a DS job
Hi all, I have to start a datastage job using jenkins , so that i can automate the test cases for my ETL project. Can some one guide me with the steps to execute a perl script remotely using jenkins. Thanks Vineeth Varghese -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Execute perl script in unix server to start a DS job
On Wed, May 28, 2014 at 11:11 AM, Vineeth Varghese vineet...@gmail.com wrote: Hi all, I have to start a datastage job using jenkins , so that i can automate the test cases for my ETL project. Can some one guide me with the steps to execute a perl script remotely using jenkins. Just use a batch or shell build step (depending on windows/linux nodes) or the Xshell plugin to figure that out for you and use whatever command you would use from the command line to run your job. Note that you may have a slightly different environment than if you had logged in yourself so you may have to explicitly set PATH, etc. -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Call Perform Maven Release through REST API
You can’t automate a release via the m2release plugin via a REST like API. You can do it using HTTP Post and curl – just have a look at the form befor you do a release and you should be able to craft a cURL request. e.g. releaseVersion=1.2.3 developmentVersion=1.2.4-SNAPSHOT if you’re not sure of the data you need to supply – a wireshark capture of a test release is your friend. /James From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Emmanuel POT Sent: 28 May 2014 17:03 To: jenkinsci-users@googlegroups.com Cc: m...@batmat.net Subject: Re: Call Perform Maven Release through REST API Hello, Sorry I will try to be more specific. I want to use the Jenkins plugin Maven Releasehttps://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin. It takes care of committing the correct version in the pom.xml before the release, with the possibility to tune the commit message... I create a new Maven job, and activate the plugin for it. In the UI, it adds a new button on the left panel at job level Perform Maven Release that opens a new form in which I can precise a few things including the version. It is not a build parameter of the job that I could pass by calling the classic REST API. I wonder if this specific plugin can be called via the API, and if it is the case, how ? Maybe the answer is not to use the Maven job configuration and the plugin above, and simply define shell steps with build parameters in a free-style project. Cheers, Emmanuel On Wednesday, 28 May 2014 17:55:45 UTC+2, Baptiste Mathus wrote: Well, you certainly want too give a wee bit more precision. Trying to approximately answer your question though, one way to do it could be: 1) define a Jenkins job, and configure it so that the release works fine (define a parameter for that build) 2) through either jenkins-cli or the rest api, trigger the release build remotely, passing the required parameter you speak about. Cheers Le 28 mai 2014 09:31, Emmanuel POT emmanu...@gmail.comjavascript: a écrit : Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.comjavascript:. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins is not Restarted
Hi Folks I'm trying to restart my jenkins server on linux machine but I'm getting this error: *May 28, 2014 1:03:42 PM jenkins.model.Jenkins$23 run* *SEVERE: Restarting VM as requested by anonymous* *May 28, 2014 1:03:43 PM jenkins.model.Jenkins$23 run* *WARNING: Failed to restart Hudson* *java.io.IOException: Failed to exec 'java' No such file or directory* *at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:84)* *at jenkins.model.Jenkins$23.run(Jenkins.java:3297)* could any one help out in this Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
I think I've seen something like that when I updated the java version while Jenkins was running. Another possibility is that the java program is no longer in the path for the script you're using to start Jenkins. On Wed, May 28, 2014 at 11:23 AM, srinath0...@gmail.com wrote: Hi Folks I'm trying to restart my jenkins server on linux machine but I'm getting this error: *May 28, 2014 1:03:42 PM jenkins.model.Jenkins$23 run* *SEVERE: Restarting VM as requested by anonymous* *May 28, 2014 1:03:43 PM jenkins.model.Jenkins$23 run* *WARNING: Failed to restart Hudson* *java.io.IOException: Failed to exec 'java' No such file or directory* *at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:84)* *at jenkins.model.Jenkins$23.run(Jenkins.java:3297)* could any one help out in this Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
I'm using java version 1.7.0_45 my script is *export JENKINS_HOME=/home/build/jenkins* *export JENKINS_USER=build* *export JAVA_HOME=/tools/java/java170_45* *export CLASSPATH=$JAVA_HOME/lib/tools.jar:./* *export ANT_HOME=/tools/ant/apache-ant-1.8.3* *export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH* *export JENKINS_PORT=8080* *export JENKINS_AJP_PORT=8009* *export JENKINS_DEBUG_LEVEL=5* *export JENKINS_ENABLE_ACCESS_LOG=yes* *export JENKINS_HANDLER_MAX=10* *export JENKINS_HANDLER_IDLE=20* *java -Djava.awt.headless=true -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_HOME/jenkins.war --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=$JENKINS_HOME/logs/access_log --daemon#!/usr/bin/ksh* Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins is not Restarted
That's a bug that will be fixed in Jenkins 1.567 or so. https://github.com/jenkinsci/jenkins/pull/1239 On 28.05.2014, at 19:50, srinath0...@gmail.com wrote: I'm using java version 1.7.0_45 my script is export JENKINS_HOME=/home/build/jenkins export JENKINS_USER=build export JAVA_HOME=/tools/java/java170_45 export CLASSPATH=$JAVA_HOME/lib/tools.jar:./ export ANT_HOME=/tools/ant/apache-ant-1.8.3 export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH export JENKINS_PORT=8080 export JENKINS_AJP_PORT=8009 export JENKINS_DEBUG_LEVEL=5 export JENKINS_ENABLE_ACCESS_LOG=yes export JENKINS_HANDLER_MAX=10 export JENKINS_HANDLER_IDLE=20 java -Djava.awt.headless=true -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_HOME/jenkins.war --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=$JENKINS_HOME/logs/access_log --daemon#!/usr/bin/ksh Thanks in advance. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[RFC] 3D model of Mr.Jenkins?
Those of you who came to the last San Francisco JUC knows that the bobble head of Mr.Jenkins has been very popular. We've been asked in various places such as FOSDEM and SCALE, but getting those to the hands of people is logistically tricky. I was talking about that with somebody and he suggested that maybe we can get the 3D model of Mr.Jenkins built. Not only can people print them out on their own, but it being a data file allows people to create derivative works. As a data point, people have already created derivative works from our 2D logo. I'm talking to a Japanese designer who can do this, and it costs about $300 to get this done. The deliverables are OBJ/STL files (shape data) and texture data for color 3D printing. As per the original license of the logo, the data will be made available liberally under the CC-BY-SA license. $300 is something I can pay out of my pocket in the worst case, but it'd be nice to get some help too, given that the data will be available freely. We talked a bit about this in the project meeting today, but a few people were understandably bit unsure if this is something the project could justify paying for. It's partly because we are unclear about the level of interest, and admittedly this isn't central to the necessity of the project operation. So my questions here are: - If we have a CC-BY-SA licensed 3D model of Mr.Jenkins, is that something you find useful? - If I set up a fund-raising for this, is there anyone willing to pitch in a little? Any thoughts? [1] http://jenkins-ci.org/content/behind-scenes-jenkins-user-conference-palo-alto -- Kohsuke Kawaguchi http://kohsuke.org/ -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Different platforms in NUnit in the same job
What you want to do is have two Jenkins slaves, one 32 and one 64 bit. Give the slaves labels to that effect. Then create one Jenkins job, and choose the multi-configuration project type (also referred to as a matrix job). In that job's configuration you will see a section called Configuration Matrix. Click on the 'Add axis' button, choose 'Slaves,' expand the 'Labels' list and click on both of the labels you chose. Configure the rest of the job as normal. When you run this job, some initial things will happen only on the Jenkins master (referred to as the flyweight tasks like figuring out what code changes there were, etc.), then the build steps will run in parallel on both slaves. Play around with it and you will get the idea. There are some weird things about matrix jobs, but this use case is what they are made for! On Wednesday, May 28, 2014 3:44:22 AM UTC-7, Jes Struck wrote: Hey, I'm struggling with, what i thought would be a simple task, I have some NUnit test that i want to run in both x64 and x84 but I'd like it to be grouped by the bitness, as fare as I see it I have to create two separate jobs in order to clearly divide this. is that true??.. Is that true or is there a nice feature/plugins that I'm not aware of please enlighten me ;) -- [image: ]http://www.praqma.net/ *Jes Struck, * Consultant j...@praqma.net javascript: +45 31 42 09 00 Skype:jes.struck *Praqma A/S* www.praqma.net Allerød Stationsvej 4 DK-3450 Allerød +45 36 77 27 62 http://www.praqma.net/jciusrcph12 http://www.praqma.net/jcicodecamp12 -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Call Perform Maven Release through REST API
Ok thanks ! I guess I will use a classic job instead so that I can use the REST API. On Wed, May 28, 2014 at 6:33 PM, James Nord (jnord) jn...@cisco.com wrote: You can’t automate a release via the m2release plugin via a REST like API. You can do it using HTTP Post and curl – just have a look at the form befor you do a release and you should be able to craft a cURL request. e.g. releaseVersion=1.2.3 developmentVersion=1.2.4-SNAPSHOT if you’re not sure of the data you need to supply – a wireshark capture of a test release is your friend. /James *From:* jenkinsci-users@googlegroups.com [mailto: jenkinsci-users@googlegroups.com] *On Behalf Of *Emmanuel POT *Sent:* 28 May 2014 17:03 *To:* jenkinsci-users@googlegroups.com *Cc:* m...@batmat.net *Subject:* Re: Call Perform Maven Release through REST API Hello, Sorry I will try to be more specific. I want to use the Jenkins plugin Maven Release https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin. It takes care of committing the correct version in the pom.xml before the release, with the possibility to tune the commit message... I create a new Maven job, and activate the plugin for it. In the UI, it adds a new button on the left panel at job level Perform Maven Release that opens a new form in which I can precise a few things including the version. It is not a build parameter of the job that I could pass by calling the classic REST API. I wonder if this specific plugin can be called via the API, and if it is the case, how ? Maybe the answer is not to use the Maven job configuration and the plugin above, and simply define shell steps with build parameters in a free-style project. Cheers, Emmanuel On Wednesday, 28 May 2014 17:55:45 UTC+2, Baptiste Mathus wrote: Well, you certainly want too give a wee bit more precision. Trying to approximately answer your question though, one way to do it could be: 1) define a Jenkins job, and configure it so that the release works fine (define a parameter for that build) 2) through either jenkins-cli or the rest api, trigger the release build remotely, passing the required parameter you speak about. Cheers Le 28 mai 2014 09:31, Emmanuel POT emmanu...@gmail.com a écrit : Hello, I would like to perform a maven release using the maven release plugin remotely. Ideally, I would be able to pass as http parameters the version to use. I googled for 30min but could not find a way to do that. Has anyone managed to do it ? Cheers, emmanuel -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups Jenkins Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/EskpKpyEv_8/unsubscribe. To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
a few Jenkins questions
I have been using Jenkins for a few months now. I've apparently run enough builds that the build number scheme used by Jenkins (ex. Project_JUnit #978) has now wrapped around to Project_Junit #20. These are not the exact numbers but you get the idea. Now that I've wrapped around I don't see Last successful build folder being updated any more. It still has a build from 8 days ago (when the wrap occurred), and I've had many successful build since then. Any idea what could be going on ?? Or how to get around this ?? I am running Jenkins ver 1.550 thanks walter -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Parameter based on other parameters
Figured it out. Click the advanced button in the Invoke Ant step set Properties to arguments=$argument1 $argument2... On Tuesday, May 20, 2014 1:44:50 PM UTC-6, Charlie Olmstead wrote: Hello, I am using Jenkins to execute multiple ruby scripts. I want to use 1 generic ant build file for all of the scripts. Something like: exec dir=${program_home} executable=ruby failonerror=false resultproperty=ReturnCode arg line=${program_name} ${arguments}/ /exec Each script takes different arguments so I need a way to combine the arguments set in the Jenkins GUI into the 'arguments' variable to pass to the ruby script. Is there a way to do this? Perhaps a Build Action before the 'Invoke Ant' build action? Plugins? Thanks, Charlie -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
custom workspace and share same workspace
Hi, I am trying to get a build chain happening with a multijob phase plugin, but having a problem getting the plugin to respect workspace location directives. Job1 uses a custom workspace called 'data' The other jobs share the workspace, using the 'Build Environment - Run this job on the same node where another job - Share same workspace' checkbox. Job1 deploys a base system file structure by wipe and pull from git in the shared workspace. Node is set using Node build parameter. Job2 deploys module1 by pull from git, running on same node as Job1 and share its workspace Job3 deploys module2 by pull from git, running on same node as Job1 and share its workspace Job4 symlinks the modules into the file structure, running on same node as Job1 and share its workspace Running these manually works perfectly. Each job runs in the same workspace ('data') and no other workspaces are created. On completion of Job4 I have a fully deployed and working web server that I can symlink to the apache web root. Jobs 2 and 3 can be run in the same phase, so I created a new job to link them together. New job has the same custom workspace as Job1, and uses the same Node build parameter. Build step 1 Triggers a build of Job1 passing the same build parameters Build step 2 Calls a Multijob phase building Job2 and Job3. Build step 3 Triggers a build of Job4. Problem is that Job2 and Job3 now run in their own workspaces. They do not share the workspaces like the other jobs. I now get a folders created in the workspace called Job1 and Job2 and the modules are pulled into the respective folders. I have tried various settings like 'Build on same node' and 'Current build parameters', but nothing seems to fix the issue. Workaround is to avoid the Multijob phase plugin and trigger each job as separate sub-projects. Any other options to fix this using the plugin? Thanks, Charlie -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Can't get webhooks to work
Jenkins version: 1.565 Github plugin version : 1.8 github authentication plugin: 0.16 Hi there, I'm trying to get the webhooks plugin to work, but after a few hours I think I'd better get some help. My Jenkins server is on a public internet, so github can connect to it. I'm using oauth plugin, and that works just fine, I login with my github credential to jenkins, so I guess this means communication between my server and github are fine So, I've enabled Github committer authorization strategy and Grant READ permissions for /github-webhook But when I execute a push, I get a 500 on github as a response from the hook a class=task-icon-link href=https://twitter.com/jenkinsci;img height=24 style=margin: 2px; alt= width=24 class=task-icon src=/jenkins/static/f53f4634/images/24x24/user.png //a a class=task-link href=https://twitter.com/jenkinsci;Twitter: @jenkinsci/a/div/div/tdtd id=main-panel width=80% height=100%a name=skip2content/ah1 style=text-align: centerimg height=179 width=154 src=/jenkins/static/f53f4634/images/rage.png /span style=font-size:50px Oops!/span/h1div id=error-descriptionpA problem occurred while processing the request. Please check a href=https://issues.jenkins-ci.org/;our bug tracker/a to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. a href=http://jenkins-ci.org/content/mailing-lists;The users list/a might be also useful in understanding what has happened./ph2Stack trace/h2pre style=margin:2em; clear:bothjavax.servlet.ServletException: java.lang.IllegalArgumentException: Not intended to be browsed interactively (must specify payload parameter) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at