Re: Find out which project uses a specific SCM repository
Great, thanks a lot! [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com<mailto:dirk.heinri...@recommind.com> Skype: dirk.heinrichs.recommind www.recommind.com<http://www.recommind.com/> Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Im Auftrag von Stephen Connolly Gesendet: Freitag, 31. Mai 2013 13:43 An: jenkinsci-users@googlegroups.com Betreff: Re: Find out which project uses a specific SCM repository Doeth... slightly better for (AbstractProject project: Jenkins.getInstance().getAllItems(AbstractProject.class)) { if (item.getSCM() instanceof MercurialSCM) { MercurialSCM hg = (MercurialSCM)item.getSCM() if (repo.matcher().matches(hg.getSource())) result.add(project); } } On 31 May 2013 12:41, Stephen Connolly mailto:stephen.alan.conno...@gmail.com>> wrote: Pattern repo = ...; List> result = new ArrayList>(); for (Item item: Jenkins.getInstance().getAllItems()) { if (item instanceof AbstractProject) { AbstractProject project = (AbstractProject)item; if (item.getSCM() instanceof MercurialSCM) { MercurialSCM hg = (MercurialSCM)item.getSCM() if (repo.matcher().matches(hg.getSource())) result.add(project); } } } On 31 May 2013 11:47, Dirk Heinrichs mailto:dirk.heinri...@recommind.com>> wrote: Hi, is it possible to (programmatically) find out which projects use a given (Mercurial) repository? If so, how? Thanks... Dirk [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com<mailto:dirk.heinri...@recommind.com> Skype: dirk.heinrichs.recommind www.recommind.com<http://www.recommind.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<mailto:jenkinsci-users%2bunsubscr...@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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. http://www.recommind.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/groups/opt_out. <>
AW: Git problem with Linux master and Windows slave
Hi, [sorry for top posting] 1) Execute shell assumes Unix, so it works fine in cygwin. 2) Your cloning happens in the Windows world (not in cygwin), it doesn't know what /usr/bin is. Try removing git from cygwin and install msysgit instead (integrates better into the Windows world and works from cygwin, too). If you have a git installation defined in your global Jenkins config, either remove it completely or remove absolute paths from it (use only "git" instead of "/path/to/git"). You can also omit ".exe", so that this definition will work in both worlds. HTH... Dirk [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com<mailto:dirk.heinri...@recommind.com> Skype: dirk.heinrichs.recommind www.recommind.com<http://www.recommind.com/> Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Im Auftrag von jdtangney Gesendet: Donnerstag, 6. Juni 2013 22:35 An: jenkinsci-users@googlegroups.com Betreff: Git problem with Linux master and Windows slave My Windows slave can't find git. All other slaves (Linux) work correctly. The slave is Windows 7 with Cygwin installed, running Cygwin sshd and git. The master connects to the slave via ssh and I am able to run bash commands using "execute shell" build step, like this: Started by user John Tangney<http://build.sky/user/johnt> [EnvInject] - Loading node environment variables. Building remotely on win-build-slave1<http://build.sky/computer/win-build-slave1> in workspace c:\jenkins\workspace\JDT [JDT] $ sh -xe C:\Users\jenkins\hudson5633305261937738873.sh + whoami winbuild01\cyg_server + echo /home/jenkins /home/jenkins + /usr/bin/git --version git version 1.7.9 + echo /bin/bash /bin/bash Finished: SUCCESS The master is Jenkins 1.503 with Git plugin 1.1.19 But when I run a job that tries to clone a git repo, I get this: Started by user John Tangney [EnvInject] - Loading node environment variables. Building remotely on win-build-slave1 in workspace c:\jenkins\workspace\JDT Checkout:JDT / c:\jenkins\workspace\JDT - hudson.remoting.Channel@771e7283:win-build-slave1<mailto:hudson.remoting.Channel@771e7283:win-build-slave1> Using strategy: Default Wiping out workspace first. Cloning the remote Git repository Cloning repository origin Error trying to determine the git version: Error performing command: /usr/bin/git --version Assuming 1.6 ERROR: Error cloning remote repo 'origin' : Could not clone g...@github.sky:DataSystems/JDT.git<mailto:g...@github.sky:DataSystems/JDT.git> hudson.plugins.git.GitException: Could not clone g...@github.sky:DataSystems/JDT.git<mailto:g...@github.sky:DataSystems/JDT.git> at hudson.plugins.git.GitAPI.clone(GitAPI.java:251) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1121) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1063) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.git.GitException: Error performing command: /usr/bin/git clone -o origin g...@github.sky:DataSystems/JDT.git<mailto:g...@github.sky:DataSystems/JDT.git> c:\jenkins\workspace\JDT at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:793) at hudson.plugins.git.GitAPI.access$000(GitAPI.java:39) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:247) at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:227) at hudson.FilePath.act(FilePath.java:865) at hudson.FilePath.act(FilePath.java:838) at hudson.plugins.git.GitAPI.clone(GitAPI.java:227) ... 12 more Caused by: java.io.IOException: Cannot run program "/usr/bin/git": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.(Proc.java:244) at hudson.Proc$LocalProc.(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:763) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:774) ... 18 more Caused by: java.io.IOEx
How to get all builds of a project via API
Hi, I've got a small Groovy script to get some data for all builds of a given project: import hudson.model.* def jobName = args[0] def job = Hudson.instance.getItem(jobName) def builds = job.getBuilds() builds.each { println (it.getNumber()+":"+it.getStartTimeInMillis()+":"+it.getDuration()+":"+it.getResult().toString()) } This one works as expected. However, I only call this script from within a Perl script because I can't get all the data using either XML or JSON api, which only gives me the data for the last N builds instead of all builds, using an URL like 'http://server/job/MyJob/api/xml?tree=builds[number,url]'. How do I get the data for ALL builds using either JSON or XML? Possible workaround: use '?tree=firstBuild[number],lastBuild[number]' and construct the URL for each build myself. Thanks... Dirk [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com<mailto:dirk.heinri...@recommind.com> Skype: dirk.heinrichs.recommind www.recommind.com<http://www.recommind.com/> http://www.recommind.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/groups/opt_out. <>
Re: Avoid script shell build failure
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié: > Do you have an idea, how I can avoid this failure and continu other build > step and enter into else statement ? It's because the script is started with -xe. -e lets the script fail as soon as any command exits with non-zero return code. Try adding "set +e" at the top of your script. HTH... Dirk http://www.recommind.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/groups/opt_out.
Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?
Am Donnerstag, 1. August 2013, 00:16:46 schrieb Avihay Eyal: > I mean, If I'm a developer, I would prefer to somehow run the automated > tests *before* I push to the repository, cause if an automated test failed > and there's a bug in my code, I want to know that before pushing my > change... How do you approach this problem? Use a script-based job, eventually combined with branch based development. Developers work on branches (one per task) to which they can commit and which they can push at will w/o putting the default branch at risk. You can then let the Jenkins job do the merging of the branch, perform the build, run the tests and only commit and push the result if none of those steps have failed. HTH... Dirk http://www.recommind.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/groups/opt_out.
Re: How to improve my bash script error handling?
Am Freitag, 2. August 2013, 07:19:52 schrieb David Aldrich: > I would prefer the 'for' loop to complete so that I get a list of all > failing files, before Jenkins terminates the test. What would be a neat way > of achieving this in bash? Omit the -e, check the return code of diff and act accordingly. HTH... Dirk http://www.recommind.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/groups/opt_out.
Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?
Am Donnerstag, 1. August 2013, 20:34:36 schrieb Daniel Beck: > http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-validated-> > merge-plugin.cb > > Developers push to Jenkins' repository, and if that's successful, Jenkins > pushes to your actual repo. That's what we actually do with some lines of script. No need to pay for a plugin. Another pro of the script: You can let it do what YOU want. HTH... Dirk http://www.recommind.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/groups/opt_out.
Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?
Am Freitag, 2. August 2013, 05:14:50 schrieb Mark Waite: > Each developer's private repository could then be added to the job and > would be watched for changes, those changes would be merged, and if the > compile and tests were successful, the merge could be pushed to the > integration repository. There's one drawback with this approach: The developer can never commit unfinished code (to save the current state, before leaving for vacation,...). Not a problem with task branches. Bye... Dirk http://www.recommind.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/groups/opt_out.
Re: CI usability - isn't there a problem that tests are executed only after a developer pushed his changed to the repsitory?
Am Sonntag, 4. August 2013, 11:37:27 schrieb Avihay Eyal: > So you're suggesting using a script, activated via commits to the developer > local repository? No. I'm suggesting a script that runs on demand, when the developers says he's ready. Bye... Dirk http://www.recommind.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/groups/opt_out.
Thread hijacking
Hi, it happend 3(!) times in the "[POLL] how addicted are you..." thread. People replied to one of that threads message to start a new thread. Please don't do this. It breaks MUA's (like Thunderbird) ability to properly show each thread in its own tree, as it pollutes those trees with "foreign" messages (also, those threads are "hidden" inside the other thread and may get less attention). Therefor, please always use "New message" instead of "Reply" whenever you want to start a new thread. Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: QXcbConnection: Could not connect to display [Qt] [Jenkins]
Am 21.08.2013 09:15, schrieb Niels Hesp: > Hi everybody, > > I’m having some problems implementing a simple GuiTest (that uses > QTestLib) in Jenkins. In a terminal I can execute the following command: > > ./tst_testgui -xunitxml > testresult.xml > > This command generates the following .xml file: > > > > > > > > > > > > > > In Jenkins I’m trying to do the same by executing the same command in > an Execute Shell, but after building the project (works fine) and then > executing de command: > > ./tst_testgui -xunitxml >testresult.xml > > I get the following message in Jenkins: > > + ./tst_testgui -xunitxml > No protocol specified > QXcbConnection: Could not connect to display :0.0 > Aborted (core dumped) > Build step 'Execute shell' marked build as failure > Finished: FAILURE > > Does somebody know what could be the problem? > I get the same message with the -xml command instead of -xunitxml. You need an X server on your Jenkins machine to run GUI programs. Have a look at Xvfb. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: QXcbConnection: Could not connect to display [Qt] [Jenkins]
Am 21.08.2013 11:32, schrieb Niels Hesp: > Xlib: extension "RANDR" missing on display ":1". > > Is this a bug in xvfb? Don't know. RANDR is needed for rotating displays, so it shouldn't harm. Maybe installing the extension (libxrandr2 on Debian/Ubuntu) will eliminate the message. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: QXcbConnection: Could not connect to display [Qt] [Jenkins]
Am 21.08.2013 11:49, schrieb Niels Hesp: > libxrandr2 was already installed, so that didn't work. > But we don't need the RANDR function so we will ignore the message. Just found this on stackoverflow.com, start Xvfb like so: |Xvfb +extension RANDR Bye... Dirk | -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
How to find out WHY a job was executed on a specific slave?
Hi, yesterday Jenkins executed two subsequent builds of the same job on different slaves, although the slave which ran the first build was idle when the second build started. Doesn't Jenkins try to execute the next build on the same slave if possible? If yes: How do I find out why this happend? Does Jenkins log this somewhere? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: How to find out WHY a job was executed on a specific slave?
Am 08.09.2013 22:02, schrieb Baptiste Mathus: > So, I suppose your slave was unavailable or busy (did you double-check > the builds that ran on it?) Yes, I did. It was available, but idle for about 2 hours while the second build was started on another slave. Neither the master, nor the slave log have any indication as to why this happened. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: resctrict number of jobs at a time
Am 09.09.2013 11:20, schrieb Tânia Magalhăes: > I don't want to go for a solution like restrict the number of > executors to 1 in each node. But that's exactly what it's good for. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: How to find out WHY a job was executed on a specific slave?
Am 09.09.2013 17:03, schrieb Les Mikesell: > Maybe there was a network glitch or something that made > jenkins think that node was unavailable. Yes, see subject. This is exactly what I want to find out. The question is: How? Is there any Jenkins log file that says: "Couldn't use slave X, because... Using slave Y instead." Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
EnvInject for post-build actions when build step fails
Hi, I need some environment variables produced by a build step in a post-build action (namely: EmailExt). Therefor, the build step writes a properties file and a second build step (EnvInject) injects the variables from that properties file. Works fine as long as the first build step doesn't fail. In case of failure, the EnvInject build step isn't executed anymore, so that the environment variables are not available in the post-build action. How do I propagate environment variables to post-build actions in case of a failed build? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: How to pass CLASSPATH variable to Jenkins.
Am 18.10.2013 07:43, schrieb puyo puy: > I have an ant script running successfully using bat file. But when I > run that script on Jenkins it failed with error > "build_preprocess.xml:166: java.lang.NullPointerException". After > many hours of research, I believe that is related to the CLASSPATH > environment variable did not pass to Jenkins. Just wonder is there a > way I can pass CLASSPATH to Jenkins? Put the classpath where it belongs: into the bat file. That script is (hopefully) under version control together with anything else, so that changes to the classpath don't require a change of the Jenkins job configuration. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Reclaim disc space on all slaves when removing jobs
Hi, from time to time we remove old Mercurial repositories. During this process, a small Groovy program removes all Jenkins jobs which are configured to poll one of those repositories. This works quite well, however, it doesn't currently remove the workspaces and mercurial caches of the removed jobs from all slaves. Unfortunately, I have no clue as to how to enhance the program to do exactly this, so any help would be appreciated. import hudson.model.* import hudson.scm.* import hudson.plugins.mercurial.* // Get the repo from the command line and split it at / repo = args[0] (type, name) = repo.split("/") // Iterate over all jobs for(item in Hudson.instance.items) { // Does the jobs have a Mercurial configuration? if (item.getScm() instanceof MercurialSCM) { // Get the repository Url MercurialSCM hg = (MercurialSCM)item.getScm() source = hg.getSource() // Does the Url contain our repository name? if (source.contains(repo)) { // Delete the job println (" Removing job $item.name for $type repository $name...") item.delete() } } } Thanks in advance... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Groovy: How to iterate over all nodes, incl. master
Hi, in a Grovvy script which needs to iterate over all nodes, I do: hudson = Hudson.getInstance() for (node in hudson.getNodes()) { doSomething() } However, this only includes the slave nodes. How would I add the master node into this loop? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Infrastructure *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out.
Re: Running a shell command on multiple/all slaves from script console
Am 12.12.2013 10:33, schrieb Omer Weissman: > I want to execute an administrative shell script on all slaves using > the script console in Jenkins manage. Did you try the Debian distributed shell (dsh)? HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out. <>
Re: EnvInject for post-build actions when build step fails
Am 06.01.2014 00:59, schrieb ambar s: > Did you find a solution or workaround to this problem? Yes. You shouldn't let the build fail. Instead, each build step should set a status variable which indicates wether it has failed or not. Then, add a final env-inject (if needed), followed by another build step, which examinates the status variables and let the build fail depending on their values. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out. <>
Re: Unable to run flashplayer under Jenkins
Am 07.01.2014 13:35, schrieb Wim Deblauwe: > Any idea what might the difference between Jenkins the webapp running > and logging in manually as the jenkins user ? A real user has $DISPLAY set, Jenkins has not. You could try using Xvfb to give your Jenkins job a (virtual) display (there should even be a Jenkins plugin). HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out. <>
Re: Unable to run flashplayer under Jenkins
Am 07.01.2014 14:35, schrieb Wim Deblauwe: > I am using vncserver and the vncserver plugin in jenkins to provide > $DISPLAY. I check with a pre-compilation step if $DISPLAY is set and > it is. I can connect with vinagre to the remote desktop while the > jenkins job is running. Can you tell exactly which VNC server package you have installed (and which Ubuntu version it is)? My Ubunutu 13.10 offers 3 different VNC server packages: tightvncserver - virtual network computing server software vnc4server - Virtual network computing server software x11vnc - VNC server to allow remote access to an existing X session I will then try to reproduce this @home. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out. <>
Re: Unable to run flashplayer under Jenkins
Am 07.01.2014 15:11, schrieb Wim Deblauwe: > I am using Ubuntu 13.10 with vnc4server I could reproduce the problem. However, I didn't find a solution. Looks like both Xvnc and Xvfb don't have proper OpenGL support. Maybe you could setup a Windows slave (VM) for running flashplayer. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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/groups/opt_out. <>
Re: Install instructions for Ubuntu don't work for 14.04
Am 12.03.2014 08:05, schrieb Marius Gedminas: > Be sure to also remove the /etc/init/jenkins.conf (since it's a > conffile, apt-get removing jenkins will leave it in place Not if you remove the package with "apt-get purge". Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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. <>
Groovy script console available but Groovy build step needs plugin?
Hi, this is just for my understanding: Why can I execute Groovy code from CLI and Groovy script console, but need a plugin and a Groovy installation to execute Groovy code as a build step? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Jenkins cannot connect to X server on Debain 7.1
Am 31.03.2014 07:06, schrieb Fatemeh Mehdizadeh: > I'm not using Xvnc plugin. Then you should do so. Jenkins is a daemon, and as such doesn't know anything about X. With the Xvnc or Xvfb plugin, Jenkins can start a virtual X server itself. This will then be used to run your X clients. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Jenkins cannot connect to X server on Debain 7.1
Am 31.03.2014 08:02, schrieb Fatemeh Mehdizadeh: > FATAL: Cannot run program "vncserver" Is it installed? Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Jenkins cannot connect to X server on Debain 7.1
Am 31.03.2014 09:37, schrieb Fatemeh Mehdizadeh: > Actually I didn't install vncserver on the machine that can run the test. > > I'm new in jenkins and need your help. This is a Debian issue: apt-get install vnc4server HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Problem setting up slave on Linux
Am 08.04.2014 21:31, schrieb Christopher Carlson: > As a matter of fact, I just noticed that none of the slave .jar files > are on the slave. I have verified that ssh from the master to slave > works without a password, and I’ve verified scp works. I’m just baffled. This is just a wild guess: Did you check system logs and dmesg output for anything strange happening on the machine itself, for example filesystem filled up or corupted, date/time out of sync, etc... HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Rebuild job on the same node as before
Am 09.04.2014 08:22, schrieb Christoph Vollmer: > Everything is working fine right now but since our project gets bigger > and bigger we try to optimise our build times. One huge improvement is > that we are now using ccache. > But using ccache is only helping alot if the same devices are build on > the same nodes every time. Wouldn't it be better to change your build tool, then? To one that can handle incremental builds reliably and has built-in build caching, like scons, for example. The advantages are that 1. The cache can be stored on NFS, thus be shared between all slaves 2. Unnecessary rebuilds are avoided 3. One can reliably do parallel builds > Right now jenkins seems to be assigning the devices randomly (it does > not seem to be ordered in any way). Usualy, Jenkins tries to rebuild on the same slave which did the previous build. It takes a different slave if the previous one is either busy or unavailable. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Rebuild job on the same node as before
Am 09.04.2014 09:57, schrieb Christoph Vollmer: > Thanks for the info about scons, but i think we couldn't use the > advantages you described. > - sharing the cache is not needed since the slaves are run on > different locations so we dont have a good network connection (adsl..) > between the slaves. Well, even if the cache is local to each slave, it will probably be filled up enough to get a good cache hit rate after a couple of builds. > - Rebuilds are necessary every day so there are almost no unnecessary > rebuilds But they don't need to be from-scratch rebuilds. They can be incremental, which saves lots of time. Combine both, cache and incremental builds, and they will run an order of magnitude faster. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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. <>
Find out which project uses a specific SCM repository
Hi, is it possible to (programmatically) find out which projects use a given (Mercurial) repository? If so, how? Thanks... Dirk [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com<mailto:dirk.heinri...@recommind.com> Skype: dirk.heinrichs.recommind www.recommind.com<http://www.recommind.com/> http://www.recommind.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/groups/opt_out. <>
Re: Find out which project uses a specific SCM repository
Von: ogondza [mailto:ogon...@gmail.com] Gesendet: Freitag, 31. Mai 2013 13:07 > You can grep all config.xmls[1] (I assume that's where mercurial stores > repository URLs) Was my first idea, too, but it's not OS independent and would require a direct login on the Jenkins master. > or use groovy console to crawl all the projects that use > mercurial scm and filter out the ones with given URL. I am not familiar > with the Mercurial plugin source but MercurialSCM.getSource()[2] seems > like what you want. Yes, indeed. I'll try that. Thanks a lot. Bye... Dirk -- Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com Skype: dirk.heinrichs.recommind www.recommind.com http://www.recommind.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/groups/opt_out.
Job sometimes uses a workspace with appended "@2" although "Concurrent Builds" is disabled
Hi, we see some strange behaviour here where a job that is configured to run a single instance at a time ("false" in config.xml) sometimes creates a new workspace "jobname@2" next to the already existing workspace "jobname". My understanding is that this should only happen if the job was configured with "true". Any hints what else could be causing this behaviour? This is Jenkins 1.543 on Windows Server 2008R2. Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Job sometimes uses a workspace with appended "@2" although "Concurrent Builds" is disabled
Am 28.04.2014 20:01, schrieb Daniel Beck: > Could be JENKINS-21622, fixed in 1.561. > https://issues.jenkins-ci.org/browse/JENKINS-21622 Thanks for the hint. I've searched the bug tracker last week, but didn't find this one. > (Note that 1.561 -- and 1.560 -- seems to be not so great, so you might want > to hold off upgrading for a while.) Could you please elaborate what leads to this conclusion? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Job sometimes uses a workspace with appended "@2" although "Concurrent Builds" is disabled
Am 29.04.2014 18:39, schrieb Daniel Beck: > On 29.04.2014, at 08:18, Dirk Heinrichs wrote: > >> Could you please elaborate what leads to this conclusion? > jenkins-ci.org -> Changelog -> Community Ratings -> Bad weather. > Thanks, wasn't aware of this. :-) Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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.
Jetty or Winstone
Hi, I've just enabled access logging on a Jenkins 1.562 test installation, using Winstone command line options. I wonder why this can work since https://wiki.jenkins-ci.org/display/JENKINS/Jetty says "Jenkins 1.535 and above bundles Jetty (rather than Winstone)...". Looking at jenkins.war, there's still a winstone.jar in there. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Jetty or Winstone
Am 07.05.2014 09:37, schrieb James Nord (jnord): > To preserve backwards compatibility of command line arguments a shim > was written to look like Winstone that maps arguments onto Jetty > specifics. Ah, OK. Thanks for clarifying this. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: jenkins and timezones
Am 13.05.2014 22:37, schrieb Chris Withers: > One of the systems I work with is sensitive to daylight savings > changes, and so we'd like to have some nodes be a week or two ahead of > the current date, so that we know what will happen when we next cross > the DST boundary. Is this a Linux or Windows system? In case of Linux, if the system time is set to UTC, you don't need to worry. Linux doesn't change the systems clock, it just displays a different time. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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.
Automatic Groovy installation not working
Hi, I have setup two Jenkins master servers for testing purposes, one on Windows Server 2008R2 (1.562), the other one on CentOS 6.5 (1.564). Both have the Groovy plugin installed, but automated installation of Groovy only works on the Windows one. In the system configuration, on the Windows server, I've added a Groovy installation, checked "Install automatically", then added "Install from http://groovy.codehaus.org"; and got a pull-down list from which I could select a Groovy version (2.3.x are missing, though). If I do the same on the Linux server, I don't get a pull-down list for the versions, but a simple text input field instead. I tried to enter "2.2.1" and "Groovy 2.2.1" (the latter is what's shown on Windows), but when I run a job that uses this it fails because of missing Groovy and I see a message stating "Invalid tool ID 2.2.1". Groovy plugin version is 1.18 on both servers. Any hint as to how I could fix this? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Automatic Groovy installation not working
Am 23.05.2014 14:02, schrieb Richard Bywater: > Not sure if it gets the list from the Internet or not but is it > possible that you've got IPTables blocking outgoing stuff on the > CentOS server? No, that's not the case. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: OS-X build slaves
Am 03.06.2014 18:13, schrieb 'Curtis Kline' via Jenkins Users: > Does anyone use Puppet/Chef/other for configuring OS-X Jenkins slaves? Not for OS-X slaves, but for Windows. However, the principle should be similar. We use Puppet to setup Jenkins swarm slaves as a service using Apache Commons Daemon. Don't know anything about OS-X, but the principle should be similar, there. For Linux, for example, you'd need to provide an init script and config file instead of Commons Daemon. The swarm slave accepts command line options for providing labels, number of executors, local work directory, etc. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Can developer's submit Jobs to Jenkins through an IDE?
Am 04.06.2014 15:42, schrieb Horton, Anne B: > [nothing] Please, don't provide any details, somebody could be able to actually answer your question. *SCNR* Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Problem with Clearcase plugin running many builds in parallel
Am 23.06.2014 10:15, schrieb Sascha Herrmann: > But there seems to be a (hardcoded?) limit of how many view_server > processes the albd can spawn. Not that I'm aware of. BTW: Why snapshot views? If you don't use dynamic views, CC isn't any better than Subversion or Git. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.com> http://www.recommind.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: Jekins can't check out code
Am 29.08.2014 um 05:04 schrieb Xinglin Cai: > Caused by: svn: E170001: OPTIONS of '/svn/mogu/android/trunk': 403 Forbidden > (https://svn.mogucaifu.com:8596) Check your credentials. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: Jekins can't check out code
Am 30.08.2014 um 10:04 schrieb Rishabh Das: > you may need to set up SSH keys for Jenkins to checkout the code. Not for a https URL. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: Which groups does the user jenkins belong to?
Am 13.09.2014 um 10:28 schrieb Martin Funk: > What am I missing? A re-login of the Jenkins user after adding him to the group? HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: Jenkins problem with clocks going back?
Am 27.10.2014 um 11:23 schrieb James Nord (jnord): > My preffered way of handling this is to always run your infrastructure in > Etc/UTC. Fine if it's Unix/Linux. Doesn't work on Windows, because hardware clock is always on localtime there. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: Jenkins problem with clocks going back?
Am 27.10.2014 um 11:47 schrieb James Nord (jnord): > I really don’t follow – unless you are on an out of date windows > verison it does now have an option for UTC as a proper UTC unline the > old “Grenwich Mean Time” which was actually Europe/London. OK, I need to elaborate. On Unix/Linux, one usually sets the hardware clock to UTC, and determines the actual time that is displayed to the user by setting a time zone. That means that no matter what DST settings that timezone has, it doesn't have any impact on any running process, because hardware clock always stays the same, time is just displayed differently. On Windows, OTOH, HW clock is always set to the time (and timezone) set in the OS, which means that DST changes actually change the HW clock and thus result in time jumps which don't happen on Linux. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: Jenkins problem with clocks going back?
Am 27.10.2014 um 16:49 schrieb James Nord: > If you set the timezone to Etc/UTC even on windows the hardware clock will > never jump - as there is no DST to adjust the clock by. Yes, that's clear. But this time will also be displayed to the user, which is not the nicest thing to have for most people. On Linux, the HW clock will never jump AND the user will get the correct time displayed, according to her timezone setting. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: how to write goovy script for following sceanrio
Am 29.10.2014 um 13:40 schrieb niraj nandane: > 1. I am starting build with string parameterized build . When i run > build it will ask me value for that string parameter. Now i want to > execute groovy script in build step which will read this passed string > parameter . I want to create a a string type variable of same name as > of string parameter with value entered by user at run time. def myVariable = build.buildVariableResolver.resolve("NAME_OF_PARAM") HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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: jenkins group while in job is not the same as in terminal
Am 03.12.2014 um 08:30 schrieb Tzook Bar Noy: > Any ideas why this weird bug happens?? It's not a bug. Running processes don't magically become members of groups you add their owning user to. The user must relogin to become a member of the new group, which in your case means your Jenkins server needs to be restarted (as it logs in as the "jenkins" user). HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/547EC641.3010209%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Re: Running Jenkins as a Different User
Am 15.12.2014 um 14:38 schrieb Wt Riker: > I just noticed one additional point, and that may be the crux of the > problem. Why does it try to use /users/dtvjnkns/.jenkins? That is not > the home directory for this user. I specified /var/lib/jenkins as the > home directory in /etc/sysconfig/jenkins. Don't mix $JENKINS_HOME with the users $HOME. While you may specify the former in /etc/sysconfig/jenkins, you need to set the latter in /etc/passwd. In case you have set JENKINS_HOME in /etc/sysconfig/jenkins and wonder why it's not used, check your init script (/etc/init.d/jenkins). Does it actually read that file. What Linux distribution are you using? Debian family systems don't have /etc/sysconfig, they use /etc/default. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/548EF188.1080605%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Re: Git based builds; one commit at a time
Am 30.12.2014 um 21:21 schrieb Steve K: > Let's say that, since my most recent build, there have been three (3) > new commits. > Rather than having one build that includes all three commits, I would > like to have three separate builds; one for each of the three in sequence. > > Is anyone doing something like that? If so, how are you doing it? Not exactly something like that, but similar, I think. We develop everything on change branches, where each branch is directly related to one ticket in our tracking system. Jenkins is our gatekeeper for merging those branches back to master (or the maintenance branch for a specific release). So we use some scripting in our Jenkins jobs to clone/pull the repo, merge one branch (given as parameter), run build and tests and commit and push the result only if everything was OK. In case of failure in any of these steps, the developer is informed by email and the merge result is thrown away. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/54A399F4.7020707%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Re: Git based builds; one commit at a time
Am 31.12.2014 um 15:59 schrieb Mark Waite: > If that's the case, you should probably consider the pre-tested commit > plugin that is part of the Cloudbees commercial offering. Or use a branch based development approach and some lines of script code to let Jenkins do the pull - merge - build - test - push cycle. No rocket science, really, but may need some time to convince people. Bye... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/54A63B9E.1080008%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Re: Clearcase plugin
Am 18.03.2015 um 05:20 schrieb Mohamed Sathack: > Is this the only solution? Moving Windows VOB to Linux server is not > possible, since the Clearcase is the repository for all the > applications in our enterprise system Well, it actually IS possible, albeit it would need some careful planning of course. Having said that, it's also the better solution, since it's far easier to access Unix hosted VOBs from Windows (either via Samba or NFS) than the other way round. To get the VOBs (and views, you didn't tell what OS your view server is) migrated to Linux, to could also apply for a temp. MultiSite license, set up another CC region and replicate your VOBs to the Linux VOB server in that region. Once the move is done and all clients migrated, the MultiSite license is not needed anymore. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach *Tel*: +49 2226 159 (Ansage) 1149 *Email*: d...@recommind.com <mailto:d...@recommind.com> *Skype*: dirk.heinrichs.recommind www.recommind.com <http://www.recommind.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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/55091C6B.2070403%40recommind.com. For more options, visit https://groups.google.com/d/optout.
Using Groovy Label Assignment plugin to define a fallback label
Hi, we just got some new build nodes which are faster than the others. We want to assign certain jobs to these nodes via label, but those jobs should not be put to wait when those nodes are busy otherwise. So I thought I'd use the Groovy Label Assignment Plugin to achieve this. However, the documentation for this plugin is quite poor. Could anybody point me into the right direction as to how to achieve the following: IF (node with label "FastNode" has free executors) THEN assign label "FastNode" ELSE assign label "OldNode" ENDIF Thanks a lot... Dirk Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText (tm) Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de<http://www.recommind.de/> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/YTOPR01MB06194EFF724FE2F8D914BF91AA8D0%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.
RE: Using Groovy Label Assignment plugin to define a fallback label
From: jenkinsci-users@googlegroups.com On Behalf Of Dirk Heinrichs > we just got some new build nodes which are faster than the others. We want to > assign certain jobs > to these nodes via label, but those jobs should not be put to wait when those > nodes are busy otherwise. > So I thought I'd use the Groovy Label Assignment Plugin to achieve this. > However, the documentation > for this plugin is quite poor. Could anybody point me into the right > direction as to how to achieve the following: > > IF (node with label "FastNode" has free executors) THEN > assign label "FastNode" > ELSE > assign label "OldNode" > ENDIF No idea, anyone? Bye... Dirk -- 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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/YTOPR01MB06194EFF724FE2F8D914BF91AA8D0%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_YTOPR01MB06194EFF724FE2F8D914BF91AA8D0-2540YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wMfj7Qq4HoycINUWE_dKeKvpwmg0NuOB7jn3FzNvL4A&s=q0E1LbmP-wFIzPlhywh3LvqK8hBGXFfPbvFCjSlnjf4&e=>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wMfj7Qq4HoycINUWE_dKeKvpwmg0NuOB7jn3FzNvL4A&s=yA9gTdQFfIQUEEhyJ6Z6_rxwz54vbtI0z-oLNiNRG5w&e=>. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/YTOPR01MB0619DAF43FC53751517BE723AA890%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.
RE: LXC container to cross compile win32 application
From: jenkinsci-users@googlegroups.com On Behalf Of Stéphane Ancelot > I would like to setup a new system able to compile my applications using > mingw32/64 . > I have already a jenkins server, but it has not the needed mingw32 > dependencies. > I am planning to use an lxc container. > > Please can you confirm these are the rights steps to do it : > 1/ Setup a lxc jenkins build slave container. > 2/ setup mingw32 in this slave container. In principle this is correct, yes. However, I'd rather look into Docker instead of LXC. Allows to store the container description (aka Dockerfile) under version control together with your sources. HTH... Dirk -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/YTOPR01MB061930A019ABF0F26B9F902CAA8A0%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.
Re: Unable to run git repository on jenkins which is deplyed under tomcat8
Am Freitag, den 01.02.2019, 11:51 +0530 schrieb Archana Srichandan: Thanks for your reply. I gave the url as serverip:path to repository, The username is given as the user of the remote server to which to do SSH. I have created a private key for the user which I am logged in into the jenkins server. I am copying the private key directly and also the passphrase. Still I am not able to clone from the repository. Please let me know if I am doing something wrong. Does your Jenkins user (the one that runs your Jenkins master/Tomcat) have the SSH host key of the Git server in its known_hosts file, or, i.o.w., did you try to do an SSH login from your Jenkins master to the Git server once to accept the host key? HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10044f8e1064510b1dd7959d55604192f16f554d.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Windows Installation and AIX slave.
Am Mittwoch, den 20.02.2019, 11:17 -0800 schrieb Ivan Fernandez Calvo: Last time I check it, there is a openJDK 8 version for AIX but it is not easy to compile in some systems because the library denpendencies versions AFAIK IBM ships Java packages for AIX (not OpenJDK, though). HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/926374e9ae3640179ca05b65ebd1e00acbc00d41.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: i need to connect git on jenkins but im getiing error 128
Am Freitag, den 01.03.2019, 04:56 -0800 schrieb mohammad sayekooie: 401 Unauthorized And that doesn't ring a bell? Seems you need to provide credentials. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/afe0e3a098ae4d86e08e3a65cce1d3c13376ba56.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: [EXTERNAL] - unable to start jenkins after changing user to jenkins
Am Dienstag, den 19.03.2019, 17:40 +0530 schrieb Turaco mobile: /root This is root's $HOME where ordinary users don't have any permissions (and shouldn't have). You'll need to place this stuff elsewhere. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/80373d13fa71357da1ba08f6e1c463a1bbf58847.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 07:28 +0200 schrieb Piotr Bracha: Thank you for answer. In this case on physical machine the path "/var/lib/jenkins/bin/login-bash" is proper but it does not exists on docker. So what exactly IS /var/lib/jenkins/bin/login-bash? A self-written script? I don't have such a thing on my Jenkins systems and I guess no-one else has. In this case you'd need to either make sure your Docker containers have it, too (add it to your Dockerfile), or try to get rid of it. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2226e9624a0b20345e0cca588d52402c736d0b49.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 08:20 +0200 schrieb Piotr Bracha: Honestly I didn't know it shouldn't be there. I am quite new in jenkins and docker. I didn't write login-bash file. It contains: #!/bin/sh #exec /bin/bash -l "$@" exec /bin/bash "$@" Yeah, looks like some custom hack to me. What this does is to simply replace the current shell process (hence the "exec") with /bin/bash. Looks pretty redundant to me. So I'd say you could as well get rid of it. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0bd4b86a3d64185bff5adb005f31a1ef965667ec.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 10:05 +0200 schrieb Piotr Bracha: bundle: command not found Your container lacks stuff needed by your job, Ruby and/or required Ruby gems in this case. You'd need to rebuild your container image to include all the stuff needed to execute your job. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e73ba1e09177a05635157a138e31efafb44029d3.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 12:47 +0200 schrieb Piotr Bracha: I should try some way but it is not mine: <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jenkinsci_docker-2Djnlp-2Dslave&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=-8ITuvwW4ZK23dFYR3jFP4XkSwEsZ58MpjcGwo4k8Eo&s=ZFnUBolianfUtGR0VvCLI-4W498ChlHPMOHgfiV71W8&e=> https://github.com/jenkinsci/docker-jnlp-slave So what? No-one keeps you from customizing it. Just write your own Dockerfile that starts with FROM docker-jnlp-slave add to it whatever you need and use the resulting image to run your job in. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3375f5fd664715b039cc082a6e8a11023c332b42.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: [EXTERNAL] - Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 14:12 +0200 schrieb Piotr Bracha: That's perfect. Thank you. You're welcome. Another possible solution would be to let Jenkins manage the needed stuff. For example we use Groovy a lot, so we installed the Jenkins Groovy plugin. This lets you add Groovy installations to the global Jenkins configuration and whenever a job executes a Groovy build step, Jenkins first checks whether it's installed on the executing slave and installs it if needed. However, I don't know whether there is an equivalent plugin available for Ruby. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/33b37e4ea0afab034cd499e192ee5d45bad279f1.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not see "sh" command
Am Montag, den 15.04.2019, 14:53 +0200 schrieb Piotr Bracha: + /home/jenkins/.rvm/rubies/ruby-2.5.1/bin/gem install bundler /usr/bin/env: ‘ruby’: No such file or directory It's related with this stage but with exactly which command - could you point me to good track: Well, it already tells you (the line starting with "+" is the executed command). "gem" itself is a Ruby script, so it needs Ruby to run. It's either not installed or not in $PATH. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/da2a5eb646e8497d45aca3f1ad731f53e20662bf.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: jenkins slave on docker does not have permissions to /var/run/docker.sock
Am Mittwoch, den 17.04.2019, 11:22 +0200 schrieb Piotr Bracha: Slave didn't see "docker" command Wonder why it would be needed. We run builds on Docker agents, too, but never needed the docker command itself inside the container. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6dbfdf6a4adca0e05e187e45d5c8ec065ea6610c.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Odd environment problem with git under Jenkins on AIX
Am Donnerstag, den 25.04.2019, 14:56 -0600 schrieb Mark Waite: and run an agent on AIX But wouldn't that still leave him with the env problem on that agent? Unfortunately I don't have access to an AIX host anymore, so I'm afraid I also can't help. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0cb0a23d30e33733bad4853d7f3de3199a72cc90.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Odd environment problem with git under Jenkins on AIX
Am Freitag, den 26.04.2019, 06:20 -0700 schrieb Rich Stephens: "You might, but you won't have git commands executed to scan multibranch pipelines, since those are executed on the master." If you have Multibranch pipelines, they will scan your git repository for branches containing a Jenkinsfile and dynamically create jobs for each branch that meets this criteria. This happens on the master. The created jobs will then run on whatever agent is configured in the Jenkinsfile. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6ece7346f61aa543fe278de162717ab0d58be619.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Build history disappeared. Why? & How to fix?
Am Mittwoch, den 08.05.2019, 11:20 -0700 schrieb Steve K: When I look at the Jenkins tree, on the server machine, under jobs\\builds, I see plenty of ## (build number) directories. We've also sometimes seen this in the past when we where running the master on Windows. History usually re-apperared after restarting Jenkins. We've never seen this again since our master runs on Linux. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/688d04de69ea6a3271b804fc490e36d7d7279f8b.camel%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Consolidate the Downstream job emails
Am Freitag, den 23.08.2019, 15:24 -0700 schrieb sravan: How can I get one email with all the job results If job A was a Multijob, you can do this using Extended Email plugin together with a pre-send script which traverses the sub jobs to get their results and prepare the email body. Sample script: // Scan all downstream jobs of a MultiJob and prepare the final email text import hudson.model.* import com.tikal.jenkins.plugins.multijob.* // Get some environment vars def url = build.envVars['JENKINS_URL'].replaceAll('/*$', '') // Set summary header def result = build.getResult() def h2 = '' switch (result) { case 'ABORTED': h2 = '''Your job was aborted Aborts usually have one of two reasons: Manual abort Timeout ''' break case 'FAILURE': h2 = 'Your job has failed' break case 'SUCCESS': h2 = 'Your job was successfull' break } def header = h2 header += 'Job status summary' header += '' + build.getProject().getFullName() + ' #' + build.getNumber() + ': ' + result + '' header += '' // Initialize data structure def data = [ subJobs: 0, failed: false, sum: header, url: url ] // Recursive method to create status summary for all sub jobs // Params: // - job: a multijob object // - a data structure as defined above // Returns: // - A modified data structure with updated sum and failed fields Map collectResults(build, data) { // Iterate over sub builds build.getSubBuilds().each { subBuild -> def theBuild = subBuild.getBuild() data['subJobs'] += 1 // Get sub build's metadata def subName = theBuild.getProject().getFullName() def subNumber = subBuild.getBuildNumber() def subUrl = data['url'] + '/' + subBuild.getUrl() def result = subBuild.getResult() def failed = (result == "FAILURE") // Update overall status data['failed'] = data['failed'] || failed // Append to summary data['sum'] += '' + subName + ' #' + subNumber + ': ' + result + '' // Recurse, if current sub build is a MultiJobBuild itself if (theBuild instanceof com.tikal.jenkins.plugins.multijob.MultiJobBuild) { data['sum'] += '' data = collectResults(theBuild, data) data['sum'] += '' } } return data } try { // Collect results of all sub jobs data = collectResults(build, data) def summary = data['sum'] summary += '' summary += 'Additional information' summary += 'Main job page' // Set message body msg.setContent(summary, 'text/html') } catch(Exception e) { log("ERROR: ${e.message}") log("ERROR: Failed status report aggregation") } HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e3d2c822303ea51d82f98cb7eb9452f38912e98d.camel%40opentext.com.
Re: Jenkins MultiJob Plugin- “Phases” option not available in Build Section
Am Dienstag, den 27.08.2019, 12:25 -0700 schrieb sravan: I don't see that plugin in my job build section It isn't a Multjob, then. Did you select "Multijob" when creating the job? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7cad52140222ee942ffefd681ab8d0c06ee4780a.camel%40opentext.com.
Re: Jenkins MultiJob Plugin- “Phases” option not available in Build Section
Am Mittwoch, den 28.08.2019, 11:36 -0700 schrieb sravan: I want to use for existing jobs? You can't. Jenkins has the concept of job types where each type has different capabilities (Freestyle, Pipeline, even Folder is a job type), but there is no way to change the type of existing jobs. You can only recreate your jobs with a different type. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3a727ccfa7da393ad9c3899fdf7fe7352c99ee45.camel%40opentext.com.
Re: Restrict credential retrieval to a specific slave
Am Donnerstag, den 19.09.2019, 05:26 -0700 schrieb Jhonny Oliveira: What do you mean with agents? Jenkins people have stopped using the word "slave" some time ago. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/935083deb1d09f9bca2fb321c9a9e5be49b341c6.camel%40opentext.com.
Re: Problem running Jenkins as a system service on Ubuntu
Am Freitag, den 08.11.2019, 01:46 -0800 schrieb gianpaolo: jenkins[3540]: chown: changing ownership of '/var/run/jenkins':Operation not permitted su[3580]: PAM audit_log_acct_message() failed: Operation not permitted su[3580]: pam_authenticate: System error jenkins[3540]: su: System error su[3580]: FAILED su for jenkins by root su[3580]: - ??? root:jenkins jenkins[3540]:...fail! Looks like a problem with your PAM setup. Can you login as root and then "su - jenkins" from the shell? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/11791bfc0af9d94ee16c86ef74b3e7ad0f6c21c1.camel%40opentext.com.
Re: (SOLVED) Re: Problem running Jenkins as a system service on Ubuntu
Am Freitag, den 08.11.2019, 06:53 -0800 schrieb gianpaolo: The issue seems to be that systemd kills the user processes when starting jenkins with systemctl. I wrote a jenkins .service file and added the Jenkins user to KillExcludeUsers in /etc/systemd/logind.conf; <https://urldefense.proofpoint.com/v2/url?u=https-3A__gist.github.com_konstruktoid_1bc96c4f5030f37bd5f5142cc2718b35&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=1_8P0BZtOaS0LjGyPOVPmqqvL3_FZ9lTmgb0m6A30mA&s=spaOkHykoZJ1JKRn8vFyAlEwb0AjJHchUSBeCpCURWY&e=> https://gist.github.com/konstruktoid/1bc96c4f5030f37bd5f5142cc2718b35 Strange. I am running Jenkins on several Debian and Ubuntu machines and have never seen such behaviour. BTW: You should not modify the service file provided by the package. It's better to create an overlay file (/etc/systemd/system/jenkins.service.d/local.conf) which contains your modifications to avoid having them removed when the package is updated. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f9268a75c46bf68615dc69f7cf734ce895986a49.camel%40opentext.com.
Re: Securely Obtaining the Jenkins Agent Secret
Am Freitag, den 06.12.2019, 08:27 -0800 schrieb Matt Riley: I need to deploy the Jenkins agent to a number of Windows virtual machines. I've been able to programmatically create multiple Jenkins agents using the Jenkins CLI jar but is there a programmatic way to obtain the agent secret or a secure way to download the agent jnlp file (curl/wget)? This would be used to script the install of the agent for each Windows VM. Don't know much this, but I'd like to propose some different approaches: * Use the "Swarm Slave" plugin. Can be wrapped into a service on Windows using Apache Commons Daemon. This way yor Windows VMs will connect to the master, using predefined credentials. * Install Microsoft OpenSSH into your VMs and use the "SSH Slave" plugin. This way the master connects to your Agent using an SSH key, whose public part can also be preinstalled into the VMs. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/02b839a5c8b768e008eeebbcc6402c9e320b814b.camel%40opentext.com.
Re: editing jenkins jobs in shell / vi / ssh
Am Mittwoch, den 11.12.2019, 05:01 -0800 schrieb Adrianm758: 1: A greeting would have been nice ;-) Is there any way Jenkins jobs can be edited / configured directly in a shell using vi or similar. I'm so sick of getting the "java.lang.Throwable: HttpInput idle timeout" error when using the GUI, especially when it's just a small one-line change I want to make. 2: Please avoid to give us any more details about your installation, like version numbers, OS or installed pluigns. We all like guessing. Full stack trace is this: A problem occurred while processing the request. Please check our bug tracker<https://urldefense.proofpoint.com/v2/url?u=https-3A__jenkins.io_redirect_issue-2Dtracker&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=-ZYT9KvhfnhJ2AmgpUjqcjX020ct6RmQxVxnJzLZkpw&s=Azre1Q_NtRo9iZlK7vF1HZHVFmIywCegTvATJBiHGWE&e=> to see if a similar problem has already been reported.our bug tracker<https://urldefense.proofpoint.com/v2/url?u=https-3A__jenkins.io_redirect_issue-2Dtracker&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=-ZYT9KvhfnhJ2AmgpUjqcjX020ct6RmQxVxnJzLZkpw&s=Azre1Q_NtRo9iZlK7vF1HZHVFmIywCegTvATJBiHGWE&e=> to see if a similar problem has already been reported. 3: Did you? Yes. You can always edit the config.xml files and reload the configuration under "Manage Jenkins". Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f1cf81b42fde2cc474c39585d624793ed721e66d.camel%40opentext.com.
Re: Jenkins with Parallel Builds?
Am Mittwoch, den 15.01.2020, 14:38 + schrieb David Aldrich: We build large C++ projects using Jenkins for Linux platforms. These build jobs currently run on a single executor. I want 'make -j' or ninja to compile concurrently on several cores to speed up the build time. How can I cause a job to utilise multiple executors on an agent in this way? These are two completely different things. The number of executers defines how man Jenkins jobs an agent can run in parallel. If you want to run your build (as executed by ONE job) as a parallel build, then you just need to specify the level of concurrency inside that single job, just like you would do if it was executed manually from within a shell (don't know whether Jenkins has a "make" plugin). This is also how we do it. All build nodes only have one Jenkins executor to ensure we only run one job at a time on any given node. But the builds executed by these jobs can then utilize all the CPU cores in that node. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f2dfe24cf54d69660e1c45a508366b6d850853c3.camel%40opentext.com.
Re: how to configure jenkins to use jenkins CLI by ssh
Am Donnerstag, den 20.02.2020, 06:06 -0800 schrieb oneslide icywater: sshd isn't running How Can I solve it ? I'm confused. Do you want to access Jenkins itself via SSH (Jenkins' internal SSH server) or the Docker container in which Jenkins runs? Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/03bf99e90973d126e5785a0809b6185e999395bf.camel%40opentext.com.
Re: "Jenkinsfile" location in a gradle project
Am Montag, den 24.02.2020, 02:13 -0800 schrieb judaondo: Should these Jenkinsfile be located inside gradle repositories, like in this example (https://github.com/jstrachan/spring-boot-web-gradle<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jstrachan_spring-2Dboot-2Dweb-2Dgradle&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=LnlvM1cK0B9NPu0R20K2ldysEK0Q0abo7xNrwsyMiLI&s=ZEhAYKq25H6jrda3pB6frLLcbgtVKxye31GIk3XlZQ0&e=>)? In this a good practice? The Jenkinsfile is what tells a "Multibranch Pipeline" job how that pipeline should look like for each branch of a given repo. No Jenkinsfile, no pipeline. So yes, it should be in the same repo. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9d2657c557401606d16f90ca4a4404fb60539cfd.camel%40opentext.com.
Re: I want to build ios project in jenkins(linux docker container)
Am Freitag, den 28.02.2020, 03:08 -0800 schrieb Steven Gao: everyone said that must run jenkins on mac I guess what they meant was: "In order to build an IOS project, you'd better run a Jenkins AGENT on a Mac, not your Jenkins itself.". Check out the various Jenkins Agent (formerly known as Slave) plugins (SSH, Swarm, ...) to find one that fits your needs an use that to connect a Mac agent tou your main Jenkins. Other than that, it MIGHT be possible to (cross-) build IOS projects on Linux, but I'm not sure since I'm not an IOS developer. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/de40278543d67bcb4f57b4f5ac54fb96d77f3c87.camel%40opentext.com.
Re: Security concern for Gitlab webhook token to Jenkins
Am Mittwoch, den 18.03.2020, 17:10 -0700 schrieb Jheison Rodriguez: I'd like to know if someone has experienced this and had managed this kind of set up in another way? We use Smee (https://smee.io/) for this. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/744da1ccb6c653f20dfb85130e1b3b062adb29b7.camel%40opentext.com.
Re: [EXTERNAL] - Unable to get login page
Am 28.08.2017 um 15:11 schrieb phanikumar: > I have developed a custom plugin and uploaded it to my Jenkins server. Now I > am unable to get the login page for Jenkins server. I even restarted my > entire physical machine. But it didn't work. Can some one help me out on > this? Errh, remove the plugin? Next time better try it in a test environment first. HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/06b9e6b3-587c-abd9-8c4a-ff36c9c85fec%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Preferred Git server for Jenkins?
Am 31.08.2017 um 11:57 schrieb David Aldrich: > We have the option of using: > · In-house command-line Git server > · In-house Gitlab server > · Github > > I believe that Blue Ocean is best supported on Github. Am I correct? > Is there any preference for declarative scripts? Doesn't matter. Just choose what YOU (or your company) prefer. HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3875fc53-fd4a-13df-47ed-8e8d5dbb9d36%40opentext.com. For more options, visit https://groups.google.com/d/optout.
job configuration change affects running jobs
Hi, just found out by accident that changing the configuration of a job while that job is running affects that current build, too. In this particular case I replaced one of the job's publishers with a different one by executing its Job-DSL seed job while the job itself was already building. I then found the output of the new publisher in the build's console log. Is this expected behaviour, or did I hit a bug? Thanks... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b28379aa-c491-9454-468a-300a8d9a4afa%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: git operations over ssh in Windows agent
Am 28.09.2017 um 16:54 schrieb Andreas Tscharner: > Hello World, > > I have the following setup: > > git Server: Debian Linux 9.1 > Jenkins master: Debian Linux 9.1 > Jenkins agent: Windows 7 > > I created a user on the git server for building, it is called "build". > I also have created a ssh key-pair for that user. The public key is in > the authorized_keys file on the git server. I have installed PuTTY on > the Windows agent, and I autostart Pageant with the key for the user > "build". git v2.14.2 is installed on Windows as well and GIT_SSH > contains the full path to PuTTY plink.exe. If I use PuTTY to log in to > the git server, it works without a problem (and without a password as > well as Pageant serves the key). > > I now wanted to use this setup with Jenkins and it always fails. If I > enter the git commands it shows on the console output on a cmd.exe it > works, but it does not work with Jenkins. > > I tried with the credentials username/password, I get: > Cloning repository ssh://git.metromec.ch/repositories/quartis.git > > git init C:\Jenkins-Jobs\workspace\Branch-origin-features-QT-7889 # > timeout=10 > Fetching upstream changes from > ssh://git.metromec.ch/repositories/quartis.git > > git --version # timeout=10 > using GIT_ASKPASS to set credentials Build user from the VMs > > git fetch --tags --progress > ssh://git.metromec.ch/repositories/quartis.git > +refs/heads/*:refs/remotes/origin/* > ERROR: Error cloning remote repo 'origin' > hudson.plugins.git.GitException: Command "git fetch --tags --progress > ssh://git.metromec.ch/repositories/quartis.git > +refs/heads/*:refs/remotes/origin/*" returned status code 128: > stdout: > stderr: fatal: protocol error: bad line length character: logi This looks to me as if you were trying to run the git commands from an "Execute Windows Batch" step in your Jenkins job. It's far easier to simply use the Git plugin to do the job together with the SSH key you provided to Jenkins via "Manage Jenkins" -> "Credentials". This can also be configured to use JGit so that you don't even need GfW installed. HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0a30b0ba-ce0e-43e1-b1ef-9492f36ebb71%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: [EXTERNAL] - Re: Getting Current Build in Groovy
Am 03.11.2017 um 15:37 schrieb Lee Meador: > I'm a little fuzzy on all the ins and outs of it but I believe that > line of groovy code above always runs on the master anyway. Where Groovy code runs depends on the type of build step. A "System Groovy Script" step always runs on the master, regardless of where the actual job runs. A normal "Groovy Script" step always runs on the node which executes the job. There's no way that a single line of one script would run on another node. Bye... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e2657063-ecb0-c34b-f679-4c3ce2bfdd18%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Getting Current Build in Groovy
Am 06.11.2017 um 17:25 schrieb Neel Desai: > I know that only "Execute System Groovy script" can run on master and > get this property but I want to get it from worker node. From worker > node I want to get current jenkins instance. I don't think you can. Only System Groovy scripts run in the exact same JVM as the master and thus have access to Jenkins internals. Normal Groovy scripts run inside their own JVM and thus don't even know they're running on Jenkins (except for some additional environment variables that Jenkins sets). HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4b163eb4-4c17-67a9-615d-26695a648770%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Jenkins wrong exit value
Am 13.11.2017 um 13:40 schrieb M: > I'm using two slaves, Windows and Linux. In the first case I have > cywing so I execute commands in both slaves through sh: > > | > ... > node(label){ > sh '''#!/bin/bash -xei > whoami > echo $? > case $- in > *i*) echo This shell is interactive ;; > *) echo This shell is not interactive ;; > esac > echo d = $?''' > } > ... > | > > > I put the $? in order to understand why, sometimes, after executing > the build Jenkins returns an error (script returned exit code -1) even > if all the exit values are 0s. It seems to be a random error. Most of > the time the build is correct, but in some cases it returns this > annoyng -1 exit value without a reason. Which slave does it fail on, Linux or Windows? -1 sounds really strange because most commands on Linux return positive numbers. Do you have the console log of above script from a failing job? Since you're using "-x" we ought to see which command is failing (and since you're also using "-e", it should be the last one the script has executed). Wonder why you're using "-i", though... Bye... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b9ce5e0d-81e3-3c30-e8ff-bd987f8448ed%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: Email When Slave Goes Offline?
Am 11.12.2017 um 14:27 schrieb John Bobinyec: > Is there some way to send an admin an email when the master notices > that a slave has gone offline? You could run a job that checks your agents periodically. However, that's what monitoring systems have been invented for. HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/033d00e0-1294-677a-9873-05d02b3adef6%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: How to Update Jenkins Plugins
Am 10.01.2018 um 14:12 schrieb ABostonGal ABostonGal: > Since I can't update Jenkins from the UI, I can't update the plugins > from there either - right? Wrong. Bye... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a3b75408-dcae-56cb-0a40-20907c3918dc%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: How to Update Jenkins Plugins
Am 11.01.2018 um 00:59 schrieb ABostonGal ABostonGal: > What part is wrong? Can you elaborate on how to update the plugins then? Errh, really? OK, go to /Manage Jenkins/ -> /Manage Plugins/ (you will be right in the /Update/ tab), select the ones you want to update, click /Download now and install after restart/, restart Jenkins when appropriate. Should also be in the docs, btw. HTH... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3b1f3f24-4ea8-6769-c83c-25fd3e66d12a%40opentext.com. For more options, visit https://groups.google.com/d/optout.
Re: How to Update Jenkins Plugins
Am 12.01.2018 um 12:08 schrieb ABostonGal ABostonGal: > Yes really! That's what I was asking: if I *could* update the plugins > from the UI Manage Plugins page. And again, what I'm concerned about > is that that they are installed on a unix machine NOT my machine. ??? They are installed on the machine your Jenkins runs on. Where else? Bye... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com <mailto:dirk.heinri...@recommind.com> *Website*: www.recommind.de <http://www.recommind.de> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed180a10-b39b-f0c9-d7c4-018ed4a18aca%40opentext.com. For more options, visit https://groups.google.com/d/optout.