Re-2: Copy files from remote Jenkins workspace

2016-11-14 Thread Jovan Jevric
What about archiving artefacts. On that way all output marked as artefacts could be found on master so far, couldn't it? Original Message processed by david® Re: Copy files from remote Jenkins workspace (13-Nov-2016 15:39) From: Baptiste Mathus To:jenkinsci-users@googlegroups.com Look f

Re: Re-2: Copy files from remote Jenkins workspace

2016-11-14 Thread buddy123
I'll look into pipeline, though it seems very complicated. Regarding artifacts, I've thought about it, but I cant figure out how to delete the artifacts once I finished the job, otherwise my disk space will get empty very quickly. Is it possilble to mark files as artifacts, pull them from slave,

Re-4: Copy files from remote Jenkins workspace

2016-11-14 Thread Jovan Jevric
Do archive the artefacts elsewhere by running a post-build job, as you proposed. And simply parametrize your job that way, that elder jobs on your host are being deleted automatically. In other words - simply discard old builds, doing that is very simple. Original Message processed by davi

Re-4: Copy files from remote Jenkins workspace

2016-11-14 Thread Jovan Jevric
...post build job or post build step and executing a shell script or similar, which moves your artefacts. Original Message processed by david® Re: Re-2: Copy files from remote Jenkins workspace (14-Nov-2016 10:15) From: buddy123 To:Jenkins Users I'll look into pipeline, though it seems

Re: Re-4: Copy files from remote Jenkins workspace

2016-11-14 Thread Eran Yanay
Discarding older builds means it discards my console output of these builds as well, I wish to keep it. On Mon, Nov 14, 2016 at 11:40 AM, Jovan Jevric wrote: > Do archive the artefacts elsewhere by running a post-build job, as you > proposed. And simply parametrize your job that way, that elder

Re-6: Copy files from remote Jenkins workspace

2016-11-14 Thread Jovan Jevric
You'll have to do some housekeeping anywayOtherwise you'll run out of memory very fast. By archiving all the artefacts generated(mainly needed for release steps or similar) on your own you'll be able to keep your jenkins workspace very slim. This is an advantage and practicable. Keeping C

Re: Multibranch Pipeline trigger

2016-11-14 Thread Thomas Keller
Has anybody an idea? -- 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 htt

Re: Getting "java.io.NotSerializableException" exception in Jenkins pipeline, groovy.

2016-11-14 Thread Thomas Keller
IIRC objects used in pipelines need to be able to get serialized, because the build should be pausable and resumable at any time. Try to refactor the AntBuilder object creation and call into a groovy method and annotate this method with @NonCPS -- You received this message because you are sub

Re: pipeline groovy - can somebody please explain why variable value passing is working like this?

2016-11-14 Thread Thomas Keller
/sub -- 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.goog

Re: pipeline groovy - can somebody please explain why variable value passing is working like this?

2016-11-14 Thread Jonathan Hodgson
I'm sorry, but am I supposed to know what that means? On Monday, November 14, 2016 at 10:25:12 AM UTC, Thomas Keller wrote: > > /sub -- 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

Pipeline: Multiproject repository

2016-11-14 Thread Sverre Moe
I need some help brainstorming a solution for multiproject repositories. Pipeline building a repository that contains several delivery projects. The root of the repository contains several delivery projects. - delivery-project - delivery1 - CMakeList.txt - delivery-project-delivery1.spec

Error when publishing a Cobertura Report using cobertura plugin

2016-11-14 Thread Lucas samberg
Not sure if this is the right discussion group but I need very much help. I am having this issue, I am sure this is something related to classloader and conflicts on the jenkins dependencies. java.lang.ClassCastException

Re: Re-6: Copy files from remote Jenkins workspace

2016-11-14 Thread Eran Yanay
My workspace is already very slim, because I override it for every build. So I dont really have any housekeeping, as each build only stores information like console output, and since all my work is done inside the workspace, I never go out of space. If I now make artifacts of my workspace for every

removing or disabling specific buttons while running build

2016-11-14 Thread gyanendra ojha
Hi, while running build my jenkins UI looks like shown in image attached while running the build now, i want whenever i select dev in the first button,i want 3rd button tag_version to be either disabled or disappear likewise when i select tag from first control box , i want 2nd button dev_fea

Importing .csv file alternatives

2016-11-14 Thread Max Skuse
Hello, Currently I have a jmeter complete with phantomjs plugin to receive both front and back end response times of my web applications, I wish to plot these results on jenkins. My current solution is to export jmeter results as a .csv file and then import this file to jenkins and plot specifi

Re: Start up Jenkins from another Windows User Account

2016-11-14 Thread jerome
Hi, Make sure you have the Jenkins workspace and root folder outside the user account where every user can access the Jenkins folder. Inside the Manage Jenkins you can set those path. You copy back you stuff from account A into the new folder and restart Jenkins and it should be able to see them

Re: Suspicious sources placed by Jenkins to /tmp

2016-11-14 Thread Jozef Babjak
The mystery is solved. Jenkins is not guilty at all. It was nodejs/npm who tried to install that library from sources, because it was not available in the system. I'm not sure why, I'm not sure if it succeed or not and I do not know why it does not clean up afterwards, but for now it sufficien

Re: Pipeline: Multiproject repository

2016-11-14 Thread jerome
I try to keep 1 Jenkins file per folder into the delevery system and it was a pain in the end. I simplify things by moving the Jenkinsfile into a sub repos (we are using Mercurial). So I keep my Jenkinsfile revision outside the main branch and our repos only point to the proper Jenkinsfile sub

Re: Start up Jenkins from another Windows User Account

2016-11-14 Thread Andreas Hetz
Hi Jerome, the jenkins-Home-directory is already set to a second disk without any touch into windows or user directory. Starting up jenkins i am just calling "C:\Program Files\Java\jre1.8.0_102\bin\java" -Xmx3048m -mx1024m -jar jenkins.war so Any new idea? Best, Andreas 2016-11-14 15:44 G

Changing the default concurrent workspace identifier "@X" in pipeline job

2016-11-14 Thread Pierre Lerouge
Hi, I'm having an issue with pipeline jobs, basically there's a maven job that call sqlplus, my problem is when we have concurrent builds, we launch scripts from sqlplus, and it really doens't support file path with "@" inside. when there is no concurrent builds, it works great but as soon as

Re: Changing the default concurrent workspace identifier "@X" in pipeline job

2016-11-14 Thread Daniel Beck
> On 14.11.2016, at 16:22, Pierre Lerouge wrote: > > Is there any way to define another separator than "@" ? > https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties java -Dhudson.slaves.WorkspaceList=_ -jar jenkins.war -- You received this message because you

Launching Build from webpage stops working after upgrade from 1.9 to 2.3

2016-11-14 Thread Robert Conde
Our builds generate a webpage which allows the end-user to more easily launch a new build based on the original build. Here's an example: Build Links function runNewBuild() { xmlhttp= new XMLHttpRequest(); xmlhttp.open("POST", "/view/MyView/job/MyJob/buildWit

Slave Jenkins on an RHEL box

2016-11-14 Thread Peter Berghold
I have Jenkins running merrily on an Ubuntu box and want to set up a slave on an RHEL box. Created a script on the RHEL box that essentially launches a script that in turn launches the slave.jar. Trying to invoke it over SSH and there's where things take a turn for the worse. I'm getting this:

Re: Changing the default concurrent workspace identifier "@X" in pipeline job

2016-11-14 Thread Pierre Lerouge
Thank you very much sir ! That's all I needed ! Le lundi 14 novembre 2016 16:38:16 UTC+1, Daniel Beck a écrit : > > > > On 14.11.2016, at 16:22, Pierre Lerouge > wrote: > > > > Is there any way to define another separator than "@" ? > > > > > https://wiki.jenkins-ci.org/display/JENKINS/Featu

Reset password on accounts.jenkins.io , but password not recognised on issues.jenkins-ci.org

2016-11-14 Thread Asfand Yar Qazi
Hello, I have an old account on jenkins-ci.org . I tried resetting the password, was redirected to jenkins.io , where I successfully changed my password. However, when I now try to log in at issues.jenkins-ci.org , I get a password incorrect error. Can someone help me with this? Thanks -- Y

Re: How to remove plugins that do not appear in plugin management "Installed" tab

2016-11-14 Thread Michael Giroux
We no longer use Cloudbees. We do not want to re-install them. We want to get ride of them. Since they do not appear on the installed tab, it seems the only option is to manually delete the plugins. Just confirming this is the best approach. On Friday, November 11, 2016 at 8:54:03 AM UTC-7,

Re: How to remove plugins that do not appear in plugin management "Installed" tab

2016-11-14 Thread Daniel Beck
> On 11.11.2016, at 16:54, Michael Giroux wrote: > > Is it safe to delete the plugins from the $JENKINS_HOME/plugins directory? Yes. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fr

Re: "more SCM polling activities scheduled than handled..."

2016-11-14 Thread Josh Santangelo
I’d love to stop polling, but with Jenkins behind our firewall and git outside of it, the conversation is only one way. Here’s what I’m seeing in the git polling log on those processes. I would accept that if it timed out it would just try again later, but once it gets in this state, the projec

Re: removing or disabling specific buttons while running build

2016-11-14 Thread Victor Martinez
I guess you can create some dynamic rendering with https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin On Monday, 14 November 2016 13:05:46 UTC, gyanendra ojha wrote: > > Hi, > > while running build my jenkins UI looks like shown in image attached while > running the build > > now,

Re: Getting "java.io.NotSerializableException" exception in Jenkins pipeline, groovy.

2016-11-14 Thread Donald Morton
Here are some references for you: https://support.cloudbees.com/hc/en-us/articles/230612967-Pipeline-The-pipeline-even-if-successful-ends-with-java-io-NotSerializableException https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#serializing-local-variables https://issues.jenkins

Re: "more SCM polling activities scheduled than handled..."

2016-11-14 Thread Donald Morton
Maybe try setting it at 100 threads? That is the max it will do. Not sure if setting it blank does the same thing or not. On Monday, November 14, 2016 at 3:11:27 PM UTC-6, Josh Santangelo wrote: > > I’d love to stop polling, but with Jenkins behind our firewall and git > outside of it, the co

Bitbucket webhook triggering 2 builds at once

2016-11-14 Thread Tim Webster
Hi, For some reason, my Bitbucket webhooks are triggering 2 Jenkins builds at once in multibranch pipeline projects. One build will have a commit notification as the trigger, while the other one will have 'branch indexing' as the trigger (at least I think it's the trigger). Nothing has changed o

Re: Slave Jenkins on an RHEL box

2016-11-14 Thread Donald Morton
Sounds like the ssh command is failing. Maybe the password or private key is wrong? On Monday, November 14, 2016 at 10:28:20 AM UTC-6, Peter Berghold wrote: > > I have Jenkins running merrily on an Ubuntu box and want to set up a slave > on an RHEL box. > > Created a script on the RHEL box th

Re: publish-over-cifs in a pipeline build

2016-11-14 Thread Donald Morton
I think you can have the job run the "net use" command to tie credentials to a fileshare, and then just copy like it's a regular file. Not sure how you'd secure the credentials, though. Ansible, Puppet, or Windows DSC might be other options to pursue. On Tuesday, November 8, 2016 at 5:13:17 PM

Re: Global "disable triggers" options

2016-11-14 Thread Donald Morton
I've run a groovy script to disable all jobs before. Then, I just enable the jobs I want to run. The problem with that, though is that Pipeline jobs can't be disabled. So, I normally have to go into the test instance and manually remove the triggers on the Pipeline jobs to keep them from runnin

Re: Bitbucket webhook triggering 2 builds at once

2016-11-14 Thread Michael Kobit
Sorry for mobile link: https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-36283 That issue is for customizing what is built by the plugin. On Mon, Nov 14, 2016, 16:43 Tim Webster wrote: > Hi, > > For some reason, my Bitbucket webhooks are triggering 2 Jenkins builds at > once i

how to reliably installing plugins?

2016-11-14 Thread Rui Lopes
I'm having a hard time trying to reliably install plugins from an shell script. I'm trying this at [0]: JCLI="java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8080"; function jcli { $JCLI -noKeyAuth "$@" } jcli install-plugin git -deploy jcli install-plugin powe

Re: How to downgrade Jenkins from 2.x to 1.x version in windows

2016-11-14 Thread Donald Morton
I think you would want to restore the Jenkins home directory from a backup you made prior to the upgrade. On Thursday, November 3, 2016 at 5:15:13 AM UTC-5, MI wrote: > > How could we downgrade to earlier version in case of something went wrong > after upgraded to newer version of Jenkins? > -

Re: Bitbucket webhook triggering 2 builds at once

2016-11-14 Thread Tim Webster
Hi Michael, Thanks for your reply. I don't actually have that plugin installed (Bitbucket Branch Source Plugin). Should I? To be honest I'm not sure what plugins (on both sides) I should be using. What I had seemed to work OK for a while - until now. Thanks, Tim On Mon, Nov 14, 2016 at 11:1

Jenkins failed using Ant Copy Command

2016-11-14 Thread john rainier borden
Hi! I'm trying to create a simple freestyle project to build an executable. My build is primarily composed of ant and batch script and is ran via jenkins. It was able to build the binary but my problem is the build is failing when copying to a shared/mapped drive. see error below "Attempt t

Re: Jenkins failed using Ant Copy Command

2016-11-14 Thread niristotle okram
Does your jenkins user, have write perm on those failing servers? On Monday, November 14, 2016, john rainier borden < johnrainierbor...@gmail.com> wrote: > Hi! > > I'm trying to create a simple freestyle project to build an executable. My > build is primarily composed of ant and batch script and

Re: Jenkins failed using Ant Copy Command

2016-11-14 Thread john rainier borden
Thanks for the reply. Yes it does and it seems that the problem only occurs on our Windows 2008 servers. On Tuesday, November 15, 2016 at 10:12:33 AM UTC+8, ok999 wrote: > > Does your jenkins user, have write perm on those failing servers? > > On Monday, November 14, 2016, john rainier borden

Regarding bump up development version and release version issue

2016-11-14 Thread Koti Kiran
Hi Team, I am using git repository and trying to build with maven in jenkins but the version is not bump up. can you tell me what the reason? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving em

Parallel job execution using Jenkinsfile and slaves

2016-11-14 Thread Bryan P
I am trying to execute a parallel test run however we dont use maven, we execute our test runs using shell script. Can parallel runs work using the example below? I've tried multiple methods of allowing parallelization however most allow the execution on one slave instead queuing for another s

Re-8: Copy files from remote Jenkins workspace

2016-11-14 Thread Jovan Jevric
Workspace per definition is space you gave jenkins to store all the builds executed on master. If you run 50 Jobs from JobA all builds including artefacts will be stored on master. So you'll run out of memory defenitelly if you don't care about housekeepings. Local workspace you mean is workspac

Tmp+Cleaner+Plugin

2016-11-14 Thread Patricio Iglesias
Hi there, maybe im a bit out of the point, but can anybody tell me how to configure this plugin? The only thing i can find is: "TODO : configure it with the ui." But i am unable to find any options in jenkins user interface. Any ideas? Thank you very much in advance. -- You received this mes

Regarding bump up development version and release version issue

2016-11-14 Thread Victor Martinez
Please explain how you configured, versions,and so on. There are plenty of reasons... Cheers -- 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+