[Pipeline plugin]Is it possible to select a parameterized job as the initial job
Hi Team, I installed the build pipeline plugin 1.3.5 but I found if I select a parameterized job as the initial job, the run button will not work. The job will not run and the page will not updated. So is it possible to do this? Or the initial job must be a non-parameterized job? Thanks Regards Lavar Li -- 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/groups/opt_out.
Panic! Jenkins fails building Maven project, but Maven on the same slave succeeds?!
Dear Jenkins Community, please help me before I drive nuts! Jenkins fails building one of my projects since I released another version of its Maven parent POM...: [ERROR] The build could not read 1 project - [Help 1][ERROR] [ERROR] The project ... (C:\.jenkins\workspace\...\pom.xml) has 1 error[ERROR] Non-resolvable parent POM: Could not find artifact ... and 'parent.relativePath' points at wrong local POM @ line 8, column 10 - [Help 2][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException But now comes the strange thing: I log in to exactly that slave, and can *successfully *build *using exactly the same tool chain* Jenkins provided on the slave... * * *SET JAVA_HOME=C:\.jenkins\tools\hudson.model.JDK\Java_1.7.0* *SET MAVEN_HOME=C:\.jenkins\tools\hudson.tasks.Maven_MavenInstallation* *%MAVEN_HOME%\Maven_3.0.4\bin\mvn test* ...which says BUILD SUCCESS! So there must be something wrong with Jenkins 1.514's Maven integration... :-( What can I do? I am totally stuck because I have to release this project today... Thanks! -Markus -- 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/groups/opt_out.
Re: strange heap space
Many thanks ! that solved my problem. I was actually using the default HTTP wagon, so i moved to DAV wagon and now everythings is working fine. Thanks to everyone for your help. Regards, Raouf. 2013/7/19 Vincent Latombe vincent.lato...@gmail.com Hi, See [1] for a possible workaround (this is the one I use). Basically when using maven 3, you just have to prefix your deployment url with dav: (ex. dav:http://yourmavenserver). It will use the dav wagon instead of the default http one, which has the bad habbit of loading the full file in memory before sending it away. HTH, Vincent |1] http://maven.40175.n5.nabble.com/Heap-overflow-in-deploy-deploy-td3211324.html Vincent 2013/7/19 Raouf Abdelhamid abdelhamid.ra...@gmail.com: Okay thanks guys, i'll check the activity of maven-deploy and give you some feedback 2013/7/19 Daniel Beck m...@beckweb.net IIRC a few years ago I experienced an issue with very large artifacts being uploaded to an artifact repository. maven-deploy-plugin couldn't handle files larger than one third of the available heap space. On 19.07.2013, at 12:09, Raouf abdelhamid.ra...@gmail.com wrote: Hi there, I'm getting a java heap space that i can't really explain. i tried to increase the memory allocated to jenkins, but that doesn't change a thing The most strange thing, is that i configured jenkins to not launch sonar analysis if the build fails, but sonar analysis is launched anyway, goes sucessful, and then the build is red ! I even tryied to montir the execution of this build with visual VM remotely connected to jenkins, but didn't see any heap space error at any moment. here's the corresponding log Uploading: http://server/archiva/repository/snapshot/project-SNAPSHOT/project-SNAPSHOT-bin.tar.gz [JENKINS] Archiving /basepath/hudson/workspace/ project/package/pom.xml to /basepath/hudson/jobs/project/modules/package$module/builds/2013-07-18_14-08-50/archive/package/module/version-SNAPSHOT/module-version- SNAPSHOT.pom [JENKINS] Archiving /basepath/hudson/workspace/ project/package/targetproject-version-SNAPSHOT.jar to /basepath/hudson/jobs/project/modules/package$module/builds/2013-07-18_14-08-50/archive/package/module/version-SNAPSHOT/project-version- SNAPSHOT.jar [JENKINS] Archiving /basepath/hudson/workspace/ project/package/target/project-version-SNAPSHOT-bin.tar.gz to /basepath/hudson/jobs/project/modules/package$module/builds/2013-07-18_14-08-50/archive/package/module/version-SNAPSHOT/project-version- SNAPSHOT-bin.tar.gz [INFO] -- -- [ERROR] FATAL ERROR [INFO] [INFO] Java heap space [INFO] -- -- [INFO] Trace java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf( Arrays.java:2786) at java.io.ByteArrayOutputStream. write(ByteArrayOutputStream. java:94) at sun.net.www.http. PosterOutputStream.write( PosterOutputStream.java:61) at org.apache.maven.wagon. AbstractWagon.transfer( AbstractWagon.java:338) at org.apache.maven.wagon. AbstractWagon.transfer( AbstractWagon.java:305) at org.apache.maven.wagon. AbstractWagon.transfer( AbstractWagon.java:267) at org.apache.maven.wagon. AbstractWagon.putTransfer( AbstractWagon.java:238) at org.apache.maven.wagon. StreamWagon.put(StreamWagon. java:143) at org.apache.maven.wagon. providers.http.LightweightHttpWagon.put( LightweightHttpWagon.java:148) at org.apache.maven.artifact. manager.DefaultWagonManager.putRemoteFile( DefaultWagonManager.java:244) at org.apache.maven.artifact. manager.DefaultWagonManager.putArtifact( DefaultWagonManager.java:160) at org.apache.maven.artifact. deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java: 80) at org.apache.maven.plugin. deploy.DeployMojo.execute( DeployMojo.java:169) at org.apache.maven.plugin. DefaultPluginManager.executeMojo( DefaultPluginManager.java:451) at hudson.maven.agent. PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java: 182) at org.apache.maven.lifecycle. DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 558) at org.apache.maven.lifecycle. DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java: 499) at org.apache.maven.lifecycle. DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 478) at org.apache.maven.lifecycle. DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java: 330) at
Re: Panic! Jenkins fails building Maven project, but Maven on the same slave succeeds?!
Now it gets even more weird: I just noticed that when I do mvn deploy on the parent project, then Jenkins will succeed. This is stange, because the local repo already contained that artifact -- otherwise the local test using mvn test of the child project would have failed, too. This really looks as if the Maven integration in Jenkins has a rather strange bug...! Am Montag, 22. Juli 2013 10:16:46 UTC+2 schrieb Markus KARG: Dear Jenkins Community, please help me before I drive nuts! Jenkins fails building one of my projects since I released another version of its Maven parent POM...: [ERROR] The build could not read 1 project - [Help 1][ERROR] [ERROR] The project ... (C:\.jenkins\workspace\...\pom.xml) has 1 error[ERROR] Non-resolvable parent POM: Could not find artifact ... and 'parent.relativePath' points at wrong local POM @ line 8, column 10 - [Help 2][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException But now comes the strange thing: I log in to exactly that slave, and can *successfully *build *using exactly the same tool chain* Jenkins provided on the slave... * * *SET JAVA_HOME=C:\.jenkins\tools\hudson.model.JDK\Java_1.7.0* *SET MAVEN_HOME=C:\.jenkins\tools\hudson.tasks.Maven_MavenInstallation* *%MAVEN_HOME%\Maven_3.0.4\bin\mvn test* ...which says BUILD SUCCESS! So there must be something wrong with Jenkins 1.514's Maven integration... :-( What can I do? I am totally stuck because I have to release this project today... Thanks! -Markus -- 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/groups/opt_out.
test doesn't fail on exception
Hi Guys, I have configured jenkins with pytest and webdriver. It's running and launching test fine however the only problem is test doesn't fail even though it has encountered an exception. is there any setting or plugin require for that. Gaurang shah -- 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/groups/opt_out.
Re: Readonly job parameters
An actual use case for this might be helpful. Right now, this looks a lot like an XY problem [1]. Also, a possible solution is a Choice parameter with only one value to select. But note that e.g. Parameterized Trigger will just override this when you specify a different value there, so it's on the UI only. 1: http://www.perlmonks.org/?node_id=542341 On 21.07.2013, at 22:53, Thomas Fields thomasmfie...@gmail.com wrote: No, that I am aware of. I've been kind of thinking about something similar but more of like a set of variables that can be defined with the job, and then referenced in multiple places within the job configuration. Yeah, something like this would be perfect for my needs. Surely it's not too difficult to add a new read only string parameter to the parameter options in the job description then display it but obviously don't let the user edit it. Did you enter this in Jira already? Cheers Tom -- 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/groups/opt_out. -- 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/groups/opt_out.
Access Jenkins Parameter in job
Hi Guys, Is there any way i can access the jenkins parameter inside the job. ? Gaurang Shah -- 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/groups/opt_out.
AW: Access Jenkins Parameter in job
Hi Gaurang! Is there any way i can access the jenkins parameter inside the job. ? What is the jenkins parameter? Regards Steffen -- 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/groups/opt_out.
Triggered job - run on same machine?
Hi, I am using the Jenkins Parameterized Trigger Plugin to trigger a downstream job. The downstream job leverages artifacts from the upstream job; hence, I am passing the workspace of the upstream job to the downstream job. Q. Is it safe to do that? Will it always run on the same node? Or, should you always use the Copy Artifact plugin? Thanks, Bob *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- 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/groups/opt_out.
Re: Template Project plugin
Hi - I just wanted to follow up that Daniel Beck's solution worked perfectly for me. Now the SCM team only has to define the release string in one location. Other parameters include some host names and other paths that were repeated in other jobs. I have one job that we run when a release rolls over and set these as a file in the file system (not as an artifact). Then the other jobs simply have an extra step Inject environment variables to the build process that point to the properties file on disk. Works great! Thank you! On Wed, Jul 10, 2013 at 2:08 PM, syl20bnr sylvain.ben...@gmail.com wrote: You can also use the build parameterized trigger plugin you already use to read from the property file using Parameters from properties file. The plus sides are that build parameters are recorded in build histories and the values will be set before that the SCM step occurs. Cheers, syl20bnr Le mercredi 10 juillet 2013 06:16:19 UTC-4, MoBarger a écrit : I like it! I was thinking about a properties file but never thought of creating it as an artifact! Thanks for the idea! On Wed, Jul 10, 2013 at 6:09 AM, Daniel Beck m...@beckweb.net wrote: In a similar situation I defined one job (Configuration) that created a .properties file with the relevant options based on job paraemters and archived it as artifact. The other jobs then used the Copy Artifact plugin to get the file (Copy from last successful build uses the current option set), and a build step defined in Env-Inject to inject those options into the environment for subsequent build steps. For more flexibility, use a build selector parameter, or specify a build number as string parameter and copy artifacts from a 'specific build'. On 10.07.2013, at 11:13, Maureen Barger moba...@gmail.com wrote: Right, thanks, we do use that and it works well. But this works best when one job triggers another. In my case the processes are fired off at different times. The same parameters have to be set on each top job which seems like too many moving parts to me. Ideally I could set up a job which only defines the release number and a couple other parameters that would be referenced by each kickoff of the process (ie build, deploy, test, package). On Tue, Jul 9, 2013 at 9:52 PM, syl20bnr sylvain...@gmail.com wrote: You should be able to do this with the Parameterized Build plugin (https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build). At work we use Perforce and we use this plugin to pass the variable P4_CHANGELIST to downstream job (with the perforce plugin configured with P4_CHANGELIST as a label). It works fine. Now you write that you have several build parameters. Depending on how you use them it may lead to mess your build history with the same job called with different parameters. You may want to look at Job Generation plugins like JobCopy Builder, Job DSL and Job Generator. I'm the author of the last one. :-) Cheers, syl20bnr -- 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/groups/opt_out. -- 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/groups/opt_out. -- 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/groups/opt_out. -- 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/groups/opt_out. -- 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/groups/opt_out.
RE: Triggered job - run on same machine?
There is no reason that the downstream job will run on the same node as the upstream one. Even if it happened to do so, they would be in two different subdirectories of the workspace. You can use the Copy Artifact plugin, or you can make the builders of the downstream job a build step in the upstream job, effectively turning it into one job. --Rob -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bob Bick Sent: Monday, July 22, 2013 8:18 AM To: 'jenkinsci-users@googlegroups.com' Subject: Triggered job - run on same machine? Hi, I am using the Jenkins Parameterized Trigger Plugin to trigger a downstream job. The downstream job leverages artifacts from the upstream job; hence, I am passing the workspace of the upstream job to the downstream job. Q. Is it safe to do that? Will it always run on the same node? Or, should you always use the Copy Artifact plugin? Thanks, Bob *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- 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/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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/groups/opt_out.
Re: Tying upstream/downstream projects execution nodes by name?
It worked, thanks! I have 2 nodes - node1 (driver), and node12 (driven). Driver executes a downstream project on a node named ${NODE_NAME}2, which is obviously driven. One can also go further and tie node12 to downstream project by setting *Leave this machine for tied jobs only* Am Sonntag, 21. Juli 2013 09:16:36 UTC+2 schrieb Daniel Beck: The combination Parameterized Trigger plugin + NodeLabel Parameter plugin might work. The environment variable 'NODE_NAME' stores the name of the node. On 21.07.2013, at 04:59, Olexij Tkatchenko olexij.t...@googlemail.comjavascript: wrote: How to implement a dynamic selection of a node for downstream project based on name of the node of upstream project? For example, if the node for the upstream project is called node1 then the node for the downstream project should be called node11, for node2 - node21 and so on. -- 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/groups/opt_out. -- 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/groups/opt_out.
Re: Source safe configuration
Please advice. Thanks. On Friday, July 19, 2013 5:01:40 PM UTC-4, Nateshkumar NS wrote: I am new to Jenkins. I get the error while srcsafe.ini doesn't exist. Configuration error. Tried giving IP address, mapped drive path, made the folder where srssafe.ini resides as shareable. Nothing works. Please advice. Thanks. -- 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/groups/opt_out.
Including changelog
We have a maven build of several artifacts. These artifacts are FTP'd nightly at 9pm as a separate job from the build. We would like to include the changes since last build with our upload. Issues: Since it's a maven job, I can't execute a shell command at build. I've installed Changes Since Last Success Plugin but I am not seeing it in the build menu of any new job I create, and since this is a maven job, I don't have the build option anyway. I have the mail-ext plugin installed and it does great to send out the email to interested parties when the FTP upload is complete. And it even has a changelog feature but since the build job (which would actually contain the changes) and the FTP job are separate, the changelog feature is meaningless here. Ideally I would like to send a changelog since last upload but a changelog of that release, just added on to the file as we go, would suffice as well. Any suggestions? -- 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/groups/opt_out.
Re: Modifying a builds parameters in a system Groovy script
Following Reuben's comments I came up a util function. Posting here so other people can see a working example. import hudson.model.* // sets build parameters based on the given map // only supports StringParameterValue def setBuildParameters(map) { def npl = new ArrayListStringParameterValue() for (e in map) { npl.add(new StringParameterValue(e.key.toString(), e.value.toString())) } def newPa = null def oldPa = build.getAction(ParametersAction.class) if (oldPa != null) { build.actions.remove(oldPa) newPa = oldPa.createUpdated(npl) } else { newPa = new ParametersAction(npl) } build.actions.add(newPa) } -- 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/groups/opt_out.
Re: Including changelog
On Mon, Jul 22, 2013 at 1:18 PM, Daniel Beck m...@beckweb.net wrote: check to store the email in the workspace (Save Generated E-mail to Workspace). Thanks, but I am just not seeing this checkbox! -- 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/groups/opt_out.
Re: Including changelog
You could use emailext to record changes in the actual build: 1. Create an email with the changes on build success, and check to store the email in the workspace (Save Generated E-mail to Workspace). Not sure whether you need actual recipients if you check that option. 2. Copy that with the build results to the upload job, and use the ${FILE} macro in the upload job's emailext. Alternatively, you can probably use the Any Build Step plugin to add a shell script builder to your job as a post-build action (since you mentioned that). On 22.07.2013, at 17:08, Maureen Barger mobar...@gmail.com wrote: We have a maven build of several artifacts. These artifacts are FTP'd nightly at 9pm as a separate job from the build. We would like to include the changes since last build with our upload. Issues: Since it's a maven job, I can't execute a shell command at build. I've installed Changes Since Last Success Plugin but I am not seeing it in the build menu of any new job I create, and since this is a maven job, I don't have the build option anyway. I have the mail-ext plugin installed and it does great to send out the email to interested parties when the FTP upload is complete. And it even has a changelog feature but since the build job (which would actually contain the changes) and the FTP job are separate, the changelog feature is meaningless here. Ideally I would like to send a changelog since last upload but a changelog of that release, just added on to the file as we go, would suffice as well. Any suggestions? -- 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/groups/opt_out. -- 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/groups/opt_out.
RE: Triggered job - run on same machine?
Thanks Rob... I realized that they would run in two different subdirectories, and that is why I was passing the subdirectory of the upstream job to the downstream job. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mandeville, Rob Sent: Monday, July 22, 2013 9:42 AM To: 'jenkinsci-users@googlegroups.com' Subject: RE: Triggered job - run on same machine? There is no reason that the downstream job will run on the same node as the upstream one. Even if it happened to do so, they would be in two different subdirectories of the workspace. You can use the Copy Artifact plugin, or you can make the builders of the downstream job a build step in the upstream job, effectively turning it into one job. --Rob -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bob Bick Sent: Monday, July 22, 2013 8:18 AM To: 'jenkinsci-users@googlegroups.com' Subject: Triggered job - run on same machine? Hi, I am using the Jenkins Parameterized Trigger Plugin to trigger a downstream job. The downstream job leverages artifacts from the upstream job; hence, I am passing the workspace of the upstream job to the downstream job. Q. Is it safe to do that? Will it always run on the same node? Or, should you always use the Copy Artifact plugin? Thanks, Bob *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- 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/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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/groups/opt_out. *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- 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/groups/opt_out.
Re: [ANN] jenkins-ci.org site outage
I am having the same problem releasing my first plugin. On Sunday, July 21, 2013 2:06:47 PM UTC-7, Jan Molak wrote: Hi all, I started getting a 401 - Unauthorised when trying to deploy my plugin to http://maven.jenkins-ci.org:8081/content/repositories/releases/ a couple of minutes ago. I've deployed several times already over the last couple of weeks ( http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/build-monitor-plugin/) and my configuration hasn't changed since then - it's an automated job. Could this be related to the outage you mentioned, Kohsuke? Best, Jan On Sunday, 21 July 2013 18:39:28 UTC+1, R Tyler Croy wrote: On Wed, 17 Jul 2013, Kohsuke Kawaguchi wrote: The data center that's housing one of our key servers (63.246.20.93) is going to perform an infrastructure upgrade on July 21st between 02:00am UTC to 08:00am UTC http://www.timeanddate.com/worldclock/fixedtime.html?msg=Jenkins+server+migrationiso=20130721T02ah=6 . During this migration, multiple services will be unavailable. This will impact both users and developers of the project. I collected the details at https://wiki.jenkins-ci.org/display/JENKINS/Server+Migration+2013+July This work has been completed and DNS should be updated for everybody. If you have any issues please let me know either via #jenkins on IRC (rtyler) or on this thread. Cheers - R. Tyler Croy -- Code: https://github.com/rtyler Chatter: https://twitter.com/agentdero -- 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/groups/opt_out.
Re: [ANN] jenkins-ci.org site outage
I've fixed this problem now. Sorry for a delay. On 07/22/2013 03:20 PM, m...@arangamani.net wrote: I am having the same problem releasing my first plugin. On Sunday, July 21, 2013 2:06:47 PM UTC-7, Jan Molak wrote: Hi all, I started getting a 401 - Unauthorised when trying to deploy my plugin to http://maven.jenkins-ci.org:8081/content/repositories/releases/ http://maven.jenkins-ci.org:8081/content/repositories/releases/ a couple of minutes ago. I've deployed several times already over the last couple of weeks (http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/build-monitor-plugin/ http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/build-monitor-plugin/) and my configuration hasn't changed since then - it's an automated job. Could this be related to the outage you mentioned, Kohsuke? Best, Jan On Sunday, 21 July 2013 18:39:28 UTC+1, R Tyler Croy wrote: On Wed, 17 Jul 2013, Kohsuke Kawaguchi wrote: The data center that's housing one of our key servers (63.246.20.93) is going to perform an infrastructure upgrade on July 21st between 02:00am UTC to 08:00am UTChttp://www.timeanddate.com/worldclock/fixedtime.html?msg=Jenkins+server+migrationiso=20130721T02ah=6 http://www.timeanddate.com/worldclock/fixedtime.html?msg=Jenkins+server+migrationiso=20130721T02ah=6 . During this migration, multiple services will be unavailable. This will impact both users and developers of the project. I collected the details at https://wiki.jenkins-ci.org/display/JENKINS/Server+Migration+2013+July https://wiki.jenkins-ci.org/display/JENKINS/Server+Migration+2013+July This work has been completed and DNS should be updated for everybody. If you have any issues please let me know either via #jenkins on IRC (rtyler) or on this thread. Cheers - R. Tyler Croy -- Code: https://github.com/rtyler Chatter: https://twitter.com/agentdero -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/ Try Jenkins Enterprise, our professional version of Jenkins -- 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/groups/opt_out.
Re: Tying upstream/downstream projects execution nodes by name?
I forgot to mention, that having that I am able to reboot 'driven machine before actual build. driver starts a reboot of driven and waits, until it is completed. Am Montag, 22. Juli 2013 16:06:28 UTC+2 schrieb Olexij Tkatchenko: It worked, thanks! I have 2 nodes - node1 (driver), and node12 (driven). Driver executes a downstream project on a node named ${NODE_NAME}2, which is obviously driven. One can also go further and tie node12 to downstream project by setting *Leave this machine for tied jobs only* Am Sonntag, 21. Juli 2013 09:16:36 UTC+2 schrieb Daniel Beck: The combination Parameterized Trigger plugin + NodeLabel Parameter plugin might work. The environment variable 'NODE_NAME' stores the name of the node. On 21.07.2013, at 04:59, Olexij Tkatchenko olexij.t...@googlemail.com wrote: How to implement a dynamic selection of a node for downstream project based on name of the node of upstream project? For example, if the node for the upstream project is called node1 then the node for the downstream project should be called node11, for node2 - node21 and so on. -- 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/groups/opt_out. -- 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/groups/opt_out.