Re: Jenkins Pipeline Groovy Script and JSON

2016-08-10 Thread Sami Jaber
Salut Baptiste ! Nothing appears under approval page, the textarea is always empty. To bad that there is no "sandbox approved" for such task. Sami Le 10 août 2016 2:17 PM, "Baptiste Mathus" <m...@batmat.net> a écrit : > Salut Sami :) > > Cannot check it right

Jenkins Pipeline Groovy Script and JSON

2016-08-10 Thread Sami Jaber
ust want to do : def jsonStream = readFile('jsonFile') echo 'Version ' + jsonStream.version Thanks for your answers or pointing me out right articles/guides Sami -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe fr

Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2015-12-02 Thread Sami A
YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with *bank of America* and The owner of Saad Hospital and Schools in the Eastern Province in *Saudi Arabia* and the Chairman of the Board of Directors of Awal Bank in *Bahrain*

Re: Argument for removing old jobs

2015-07-16 Thread Sami Tikka
in Jenkins that cannot be run? Jenkins is a job runner. Nothing else. -- Sami 2015-07-16 17:21 GMT+03:00 VFloyd vanettafl...@gmail.com: Morning, Jumping straight to the point - we have jobs in our Jenkins instance that have not run in two years (successfully or unsuccessfully). We have jobs

Re: How to link a particular job with the promotion process without physically copying the artifacts

2013-07-12 Thread Sami Tikka
The easiest way is to copy one of the artifacts. I usually have an artifact which is a small file containing the output of git describe. Because the file is small, it is quick to copy and fingerprint and can be used to link builds. -- Sami Marcin Zajączkowski msz...@wp.pl kirjoitti 10.7.2013

Re: Execute shell withoout -xe in jenkins job

2013-07-10 Thread Sami Tikka
If you're worries about something semi-secret being visible in the console, perhaps https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin is something you could check. -- Sami VinodKumar kumarvinod...@gmail.com kirjoitti 10.7.2013 kello 15.47: Thanks for your reply Richard, my

Re: Execute shell withoout -xe in jenkins job

2013-07-07 Thread Sami Tikka
I blogged about this some time ago: http://thingsyoudidntknowaboutjenkins.tumblr.com/post/30255425955/why-does-jenkins-think-my-build-succeeded -- Sami VinodKumar kumarvinod...@gmail.com kirjoitti 1.7.2013 kello 10.36: Hi All, I am using execute shell option in jenkins. My problem

Re: shutting down an apache instance in post-build actions

2013-05-14 Thread Sami Tikka
Try https://wiki.jenkins-ci.org/display/JENKINS/PostBuildScript+Plugin -- Sami Chris Withers ch...@simplistix.co.uk kirjoitti 13.5.2013 kello 13.46: Hi All, How can I shut down an apache instance required for a job is the post-build actions? I want this to happen regardless of whether

Re: Manual deploy of the msbuild.zip plugin file into Jenkins

2013-05-14 Thread Sami Tikka
I believe Jenkins does not have any support for uploading msbuild/mstest into your Jenkins server. This is usually the case with build tools. -- Sami Matthew Wright mpw2...@gmail.com kirjoitti 14.5.2013 kello 22.24: Due to firewall restrictions, I have to download plugin packages and upload

Re: Problem with database configuration - help appreciated

2013-05-14 Thread Sami Tikka
? -- Sami ifxtechie hspar...@gmail.com kirjoitti 14.5.2013 kello 18.42: Hi, I am trying to setup database connections for DB2 in Jenkins; But, I am getting the error as below: class not found:com.ibm.db2.jcc.db2driver I have included the environment variable to include the JDBC driver

Re: Run job under different credentials

2013-05-12 Thread Sami Tikka
Use sudo or set up a dedicated slave for this job running in the same host running as the deploy user. I myself would use sudo because it allows better control on what exactly Jenkins can execute as the deploy user. -- Sami Aharon Twizer aharon.twi...@gmail.com kirjoitti 7.5.2013 kello 9.06

Re: Force configuration in matrix build to be the last step

2013-04-04 Thread Sami Tikka
to do and maybe we can suggest a better way to do it. -- Sami Adam Daughterson adam.daughter...@gmail.com kirjoitti 3.4.2013 kello 17.22: I have a matrix build with touchstone builds, multiple configurations, etc. I have a step which should be the last step in the matrix (not a triggered

Re: Jenkins fail to run any commands related to Tortoise

2013-04-02 Thread Sami Tikka
://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins under heading Desktop access -- Sami weirpenguin weirpeng...@gmail.com kirjoitti 1.4.2013 kello 20.35: I was using the batch command %SVN%\TortoiseProc.exe /command:update /path:%SOURCE% /closeonend:1

Re: Workspaces and slave nodes

2013-04-02 Thread Sami Tikka
/JENKINS/Clone+Workspace+SCM+Plugin. This will be slow and might use a lot of disk space. -- Sami Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpflem...@bloomberg.net kirjoitti 26.3.2013 kello 22.25: This is my use case as well (slaves on EC2), and you are correct. I wouldn't want to copy the entire

Re: Copy Artifact from slave to master (ssh plugin) seems to take forever

2013-04-02 Thread Sami Tikka
I had a similar problem. I believe it was caused by Jenkins being unable to load and use some native code for file permissions or symlink creation. I solved it by upgrading Java to 1.7 in both master and slave. -- Sami David Mata dma...@gmail.com kirjoitti 26.3.2013 kello 9.57: I have had

Re: Xcode Plugin: Unit test output stops

2013-04-02 Thread Sami Tikka
Do you mean the unit test output is lost but the tests complete? Do they anyway succeed? Or did you mean the tests hang and never complete? How did you install Jenkins? What is the environment? -- Sami Greg Cooksey cook...@telerik.com kirjoitti 20.3.2013 kello 16.54: Hi, I'm having

Re: Newbie question: How to configure Jenkins to use bash with rcfile?

2013-04-01 Thread Sami Tikka
not include i or l, the bash Jenkins runs for me is neither interactive nor login shell. -- Sami Hua tommy...@gmail.com kirjoitti 31.3.2013 kello 18.24: Hi Sami, Thank you very much for your reply. I have read the man page of bash and it helped me understanding the context much better. At the same

Re: Looking for good Linux bash script examples

2013-03-31 Thread Sami Tikka
command. If you use the scripts also interactively, it is good to have code to clean up background processes. If the scripts are for Jenkins, you do not need to care. Jenkins will find the background processes and kill them. -- Sami bl0ck3r martin.danjo...@gmail.com kirjoitti 31.3.2013 kello 5.42

Re: Newbie question: How to configure Jenkins to use bash with rcfile?

2013-03-31 Thread Sami Tikka
If you run man bash or check the bash man page online, you will see in the section FILES where the initialization files are and when they are read. Also check the section INVOCATION for more information. -- Sami Hua Ai tommy...@gmail.com kirjoitti 30.3.2013 kello 18.32: The bash shell

Re: SVN 1.4 and SVN 1.7.5

2013-03-02 Thread Sami Tikka
was not working as advertised? Maybe you could tell us a bit more why you need 2 different versions of SVN? -- Sami Rahul k a rahulkanan...@gmail.com kirjoitti 28.2.2013 kello 22.11: Hi, How to use 2 different versions of SVN (1.4 1.7.5) for 2 different projects.? Thanks, Rahul

Re: build test failed while using selenium in jenkins

2013-03-02 Thread Sami Tikka
Just a guess, but check https://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins under the title Desktop access -- Sami Aqy nurzatulaqi...@gmail.com kirjoitti 27.2.2013 kello 10.10: hi, im using selenium in jenkins..i have done configure build.xml

Re: Run Jenkins under different Linux user

2013-02-27 Thread Sami Tikka
It depends on how you installed Jenkins. If you used the Jenkins Debian package, you probably want to check /etc/default/jenkins. -- Sami mwpowellhtx mwpowell...@gmail.com kirjoitti 27.2.2013 kello 13.33: Hello, I've installed under Ubuntu Linux and have the service running as anonymous

Re: Multi-configuration job

2013-02-27 Thread Sami Tikka
The subdirectory default is not created if you do not use a multiconfiguration project. This reply is probably not useful for you. Could you explain why you need to get rid of the default directory? I myself have never needed to customize the directory layout of JENKINS_HOME -- Sami Aswini

Re: Configuration error

2013-02-25 Thread Sami Tikka
Or the use running Jenkins is not allowed to see that file. Those pesky file permissions... -- Sami alok kumar alok.kuma...@gmail.com kirjoitti 25.2.2013 kello 16.23: Hi, Try giving the ip address of the machine on which you have that srcsafe.ini and see if it works. I guess

Re: Guidance: setting up to build linux distribution

2013-02-24 Thread Sami Tikka
be a gargantuan effort. You can probably still use Jenkins to run the build scripts, distribute the work and collect the results. But how exactly to do that depends heavily on the details of the distro's build process. -- Sami mwpowellhtx mwpowell...@gmail.com kirjoitti 23.2.2013 kello 21.02

Re: ActiveDirectory plugin is unable to detect group membership of one particular user

2013-02-22 Thread Sami Tikka
not log enough, you could fork the plugin and add more logging yourself. -- Sami Markus KARG mar...@headcrashing.eu kirjoitti 20.2.2013 kello 12.26: We're using the current ActiveDirectory plugin to authenticate and role-based-authorize our AD users in Jenkins 1.502. It is working well

Re: git on jenkins

2013-02-19 Thread Sami Tikka
the same commands from the command line where you are able to log in. Compare results with the output from Jenkins. -- Sami Kamal Ahmed kamalah...@yahoo.com kirjoitti 19.2.2013 kello 19.25: Username = kahmed which is the same user which can do a git successfully on a command line

Re: SCM polling after build failure question...

2013-02-19 Thread Sami Tikka
The Jenkins SVN plugin has some dependency on time. To achieve best results you should have both Jenkins and SVN server clocks synchronized using NTP or similar. -- Sami Jeff predato...@gmail.com kirjoitti 19.2.2013 kello 18.44: We are using SVN (SVNBridge to TFS) for most of our projects

Re: Locked pack files on windows slave

2013-02-19 Thread Sami Tikka
actually make thing slightly faster because Jenkins does not have to clone the workspace from scratch. If you have a good-sized git repo, even the cloning might take a couple of minutes. -- Sami William Soula william.so...@drillinginfo.com kirjoitti 19.2.2013 kello 15.52: I am trying to build

Re: Unable to add new node (Windows slave) after upgrade to 1.500

2013-02-19 Thread Sami Tikka
about a couple of windows slaves he had to do this. -- Sami Manjunath D G dgmanjunat...@yahoo.com kirjoitti 19.2.2013 kello 10.54: Hi All, I'm Able to connect Jenkins Windows Slave by using Launch Method as : Launch slave agent via Java web Start. But not working with when i'm trying

Re: Where to place test dependent files

2013-02-19 Thread Sami Tikka
into version control. But I'm sure someone else will tell you something different. -- Sami Jonas Geiregat jo...@geiregat.org kirjoitti 19.2.2013 kello 0.15: Hello

Re: Cannot load Maven 3 on slave

2013-02-11 Thread Sami Tikka
No, but you can configure Jenkins to automatically install then when needed -- Sami Markus KARG mar...@headcrashing.eu kirjoitti 9.2.2013 kello 20.52: C:\.jenkins\maven3-interceptor.jar 2988 Error: Main class org.jvnet.hudson.maven3.agent.Maven3Main could not get found or loaded ERROR

Re: How to publish artifact to a SMB / CIFS share?

2013-02-09 Thread Sami Tikka
I myself would use (and have used) smbclient to copy artifacts after the build has produced them. It doesn't have to a post-build step. But Mac OS no longer has smbclient, so I hope you're using Linux. I suppose Windows can just do net use... -- Sami Markus KARG mar...@headcrashing.eu

Re: Detect command failure?

2013-02-09 Thread Sami Tikka
If you do not need the cross-platform properties of ant build step, I would recommend using a shell build step. It is much more flexible and is well suited to running processes and checking their exit codes, as well as capturing and filtering their output in various ways. -- Sami Adam Tong

Re: Jenkins 1.500 is totally running crazy, build totally weird chains...

2013-02-09 Thread Sami Tikka
? - Running inside a servlet container? - Plugins and their versions? - What did you do recently? Did you upgrade Jenkins? Or upgrade one or more plugins? Or upgrade something in the operating system? - Pastebin/gist where Jenkins stdout+stderr can be found. -- Sami Markus KARG mar

Re: Detect command failure?

2013-02-08 Thread Sami Tikka
I'm guessing you are using ant to execute phpunit. Maybe you could tell ant to fail on error. Currently you have told ant to ignore the phpunit exit code. -- Sami Adam Tong adam.to...@gmail.com kirjoitti 9.2.2013 kello 0.17: Hi, Here is the section of build.xml that configures the way

Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500

2013-02-08 Thread Sami Tikka
a particular release. Click on the Community ratings on the changelog page. Another place for sharing experiences is this mailing list. - Sami Thanks, -Kamal. From: Kamal Ahmed kamalah...@yahoo.com To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Sent: Friday

Re: Building on 8 Operating Systems with 2 Systems

2013-02-08 Thread Sami Tikka
My Jenkins runs in VMware virtual machine and slaves in libvirt/KVM vms. No problems so far. -- Sami Raghavendra Achar achar...@gmail.com kirjoitti 8.2.2013 kello 7.37: Thanks a lot Andrew for the quick reply, Will Jenkins work on the virtual configurations??Has it been tested by many

Re: shell redirection

2013-02-07 Thread Sami Tikka
Since you chose not to share the console log, I'm only speculating, but I think you need to consider the possibility it is the python command that fails. Maybe it does not really fail, but anyway exits with nonzero code to indicate a problem in the pep8 analysis? -- Sami jonas jo

Re: expect on Windows - quick question

2013-02-07 Thread Sami Tikka
You would get better help from Cygwin mailing list. I believe the problem is that after you start the Cygwin bash, you must stop using windows-style pathnames. I.e. you must use /cygdrive/c/install to run the installer. -- Sami Z W mpc8...@gmail.com kirjoitti 8.2.2013 kello 1.46: Hi All

Re: Error while building maven2 project.

2013-02-07 Thread Sami Tikka
Jenkins is running as different user and that user's cache dir does not have the same files as yours has, maybe. -- Sami Роман Бесолов delphist...@gmail.com kirjoitti 7.2.2013 kello 14.24: I'm trying to build javamail1.4.5 (http://kenai.com/projects/javamail/downloads). I can build

Re: Building jenkins: XStream2Test$Foo2 cannot be cast to XStreamTest$Foo

2013-02-07 Thread Sami Tikka
Did you try with jdk 1.7? -- Sami Viktor Tarasov viktor.tara...@gmail.com kirjoitti 7.2.2013 kello 11.26: Hello, When trying to build jenkins from the current GH master branch I'm getting following error: $ mvn -Plight-test install .. Running hudson.util.XStreamTest Tests run: 1

Re: How does Jenkins checkout sources from svn to the slaves?

2013-02-06 Thread Sami Tikka
What does it mean when you say SSL is disabled? How can you disable SSL? You have blocked access to SVN server port 443? -- Sami Mehdi Hayani Soujaa hayani.mehdi...@gmail.com kirjoitti 6.2.2013 kello 13.25: Hi, Thank you Nicolas for your answer, But, in my case, wouldn't the sources

Re: Server usage pegged at 99%

2013-02-06 Thread Sami Tikka
Are there any errors/exceptions in Jenkins log files or stdout/stderr? -- Sami Andrew Melo andrew.m...@gmail.com kirjoitti 6.2.2013 kello 22.13: Hey everyone, Sorry for resurrecting that thread, but are there any solutions for this problem? It's basically killing our instance often

Re: Detect command failure?

2013-02-06 Thread Sami Tikka
We need more details to help you. What type of job have you created? How exactly are you executing phpunit? What is the build step you use? Shell, CMD, something else? Can you show us the exact command or configuration? More information is better than less. -- Sami Adam Tong adam.to

Re: jenkins clustering

2013-02-06 Thread Sami Tikka
a failed build. There is no way to prevent that in Jenkins. You could install the Naginator plugin to reschedule failed builds immediately. And talk to your manager to convince him it is not really an end of the world... :) -- Sami -- You received this message because you are subscribed

Re: jenkins clustering

2013-02-04 Thread Sami Tikka
Oh you really meant you want your slaves to HA! Usually people just have so many slaves it doesn't matter if some go down. -- Sami Matteo Centonza mat...@metatype.it kirjoitti 4.2.2013 kello 16.37: Hello Sami, Rob, thanks for your replies. We are currently using redhat cluster

Re: Jenkins/Slave connection via TelNet

2013-02-03 Thread Sami Tikka
that up? You can use a browser to authenticate and download the slave-agent.jnlp and save file on the slave local disk. Then start the slave and profile a file://localhost/path/to/slave-agent.jnlp as URL on the slave command line. -- Sami Mehdi Hayani Soujaa hayani.mehdi...@gmail.com kirjoitti

Re: jenkins clustering

2013-02-03 Thread Sami Tikka
There is no such way. If this is critical to you, maybe you could check if you can turn your builds into external jobs like described in https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs -- Sami Matteo mat...@metatype.it kirjoitti 22.1.2013 kello 21.23: Hello, first i'd

Re: I did not spawn a child process to build my project, why am I getting this: Process leaked file descriptors. See wiki.jenkins-ci.org/display/JENKINS/… for more information ERROR: Failed to clean t

2013-02-03 Thread Sami Tikka
Well, everything is more difficult on Windows. I do not use Windows but I work in an organization where people have to do battle with the same issues you are fighting with. I think your issues might be caused by the git command not being a .exe but a .bat. -- Sami hong...@steward.org

Re: don't keep this build forever button does nothing

2013-02-03 Thread Sami Tikka
Jenkins only deletes builds when it runs the job. If you need the disk space vacated immediately, you can script it like described here: http://jenkins.361315.n4.nabble.com/Is-there-a-way-to-make-quot-discard-old-builds-quot-happen-right-now-td3879634.html -- Sami Chris Withers ch

Re: All my added build descriptions and keep build forever annotations gone!

2013-02-02 Thread Sami Tikka
Did you upgrade or downgrade Jenkins? Has it restarted? What is in the log file? Did you have job config history plugin installed? And if not, why? Is your Jenkins configured to require login allowing changes? -- Sami Steve K steve.kerxha...@carestream.com kirjoitti 2.2.2013 kello 0.13: Has

Re: Why are my build slaves being used to sync files when all executor threads are busy

2013-02-02 Thread Sami Tikka
use a combination of some of the above. -- Sami -- 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

Re: Jenkins/Slave connection via TelNet

2013-02-02 Thread Sami Tikka
that up? You can use a browser to authenticate and download the slave-agent.jnlp and save file on the slave local disk. Then start the slave and profile a file://localhost/path/to/slave-agent.jnlp as URL on the slave command line. -- Sami Mehdi Hayani Soujaa hayani.mehdi...@gmail.com kirjoitti

Re: How to lauch tomcat6 into /etc/init.d

2013-02-02 Thread Sami Tikka
to have root privileges? I'm sure there are better ways to do what you need to do without running Jenkins as root. -- Sami adrien ruffie adriennolar...@hotmail.fr kirjoitti 29.1.2013 kello 18.40: Hello all I have a problem, My tomcat is launch on the server with /etc/init.d/tomcat6 start/stop

Re: copy artifact fail

2013-02-02 Thread Sami Tikka
It looks like the artifact was being copied to a slave and the connection broke. The reason is not clear from the stacktrace. Is there anything in the logs on the slave side? -- Sami Chris Withers ch...@simplistix.co.uk kirjoitti 29.1.2013 kello 14.21: Hi All, I've seen stack traces

Re: Which branch is build if there are multiple branches in a job and job has been configured for all jobs?

2013-02-02 Thread Sami Tikka
don't need. Jenkins git plugin consider a branch built when it has started building a branch. It does not matter if you cancel the build in mid-flight. -- Sami Ahmed Mubbashir Khan mubbashi...@gmail.com kirjoitti 28.1.2013 kello 10.36: Hi All, Which branch is build if there are multiple

Re: git: Can I change a barnach in 'Branches to build' in configuration after building a project in a specific branch

2013-02-02 Thread Sami Tikka
? And do not care about the (no branch) in the Jenkins workspace. The git plugin does not clone or checkout the same way you normally do. That's the reason why the workspace looks like it isn't on any branch, but that's just an illusion. -- Sami Ahmed Mubbashir Khan mubbashi...@gmail.com

Re: a lot of jobs

2012-11-20 Thread Sami Tikka
I type some Groovy commands into the Script Console you can find under the Manage Jenkins link in the sidebar. -- Sami Marcin Biegan marcin.bie...@gmail.com kirjoitti 15.11.2012 kello 2.39: Hi, I wanted to ask how do you handle configuring multiple jobs. We have about 10 maven projects

Re: Github Webhook

2012-10-06 Thread Sami Tikka
You could install the Github plugin. It provides an entry point that Github web hook can trigger without authentication. -- Sami William Soula william.so...@drillinginfo.com kirjoitti 5.10.2012 kello 15.53: Our Jenkins currently builds both github enterprise projects and svn projects. I

Re: Will reducing the Max # of builds to keep automatically delete old builds?

2012-09-24 Thread Sami Tikka
on one of my jobs that produces 1 GB of artifacts for every build. Of course it won't help if you need to keep more artifacts.. You can write a script that deletes the artifacts you do not need from the disk. Jenkins won't mind if they disappear. -- Sami Ed Young e...@summitbid.com

Re: retry build upon failure?

2012-09-16 Thread Sami Tikka
Could you post exactly what you see in the console log of the failed build? Also, it might help if you could post your job config.xml or put in pastebin/gist so we could take a look. -- Sami Ed Young e...@summitbid.com kirjoitti 14.9.2012 kello 22.38: I installed the Naginator Plugin (v1.8

Re: Mac OSX slave timeouts

2012-08-27 Thread Sami Tikka
server or pool.ntp.org. If that does not help, go to http://YOURJENKINS/threadDump, save it to pastebin/gits and ask someone on the list to take a look. -- Sami Chuck Doucette cdouce...@everyscape.com kirjoitti 27.8.2012 kello 18.36: I rebooted the machine and reran every job destined

Re: Multi-project pushes to Bitbucket not triggering all relevant Jenkins jobs

2012-08-25 Thread Sami Tikka
long, e.g. once a week. -- Sami Paul Hoadley phoad...@gmail.com kirjoitti 25.8.2012 kello 14.37: Hello, I'm using Jenkins 1.464. I have a Bitbucket repository that contains several top-level directories, each of which represent a single Jenkins job. I'm using the Git plugin and its

Re: Mac OSX slave timeouts

2012-08-24 Thread Sami Tikka
though Macs are great machines, even they can get messed up and become slow. -- Sami Chuck Doucette cdouce...@everyscape.com kirjoitti 24.8.2012 kello 20.19: We are running Jenkins 1.478. The master node is running on Windows 2003 (xp). It has 3 slaves - 2 other Windos machines and 1 Mac. The mac

Re: Build help!

2012-08-24 Thread Sami Tikka
at the beginning of the page. -- Sami Dennis Planting dennistr...@gmail.com kirjoitti 24.8.2012 kello 12.31: Den fredagen den 24:e augusti 2012 kl. 09:58:40 UTC+2 skrev Richard Bywater: Looks like the user that is being used to run Jenkins doesn't have permission to that directory (looks like lack

Re: kill all jobs/empty the queue?

2012-08-23 Thread Sami Tikka
See http://scriptlerweb.appspot.com/script/show/59001 -- Sami phil swenson phil.swen...@gmail.com kirjoitti 23.8.2012 kello 20.02: works great. can't find anything for killing all the current jobs though. But this helps, thanks! On Wed, Aug 22, 2012 at 5:26 PM, Jesse Farinacci jie

Could not initialize class com.sun.jna.Native

2012-08-22 Thread Sami Tikka
) at hudson.model.Executor.run(Executor.java:236) This problem occurs only on builds that execute on slaves. Builds that run on the master locally have no problem. The build on the slave does run but hangs forever when it starts archiving artifacts. Anyone have any ideas? -- Sami

Re: auto install of ANT on slave nodes fails

2012-08-22 Thread Sami Tikka
In the Invoke Ant build step, choose something else than Default for the Ant Version field. -- Sami Thomas Diligent thomas.dilig...@gmail.com kirjoitti 22.8.2012 kello 12.21: Hello, I have a jenkins install with two slave nodes (windows and macos). I try to use the same ant script on both

Re: Combining coverage reports

2012-08-22 Thread Sami Tikka
. I'm pretty sure the help includes instructions how to pick up all artifacts from a matrix job. -- Sami Andrew Melo andrew.m...@gmail.com kirjoitti 22.8.2012 kello 0.21: Hello all, We have a large unittesting suite split into a matrix job. I'd like to combine the coverage reports from

Re: Selenium crashes Chrome when running from Jenkins

2012-08-20 Thread Sami Tikka
I think the story goes there is a bug in OS X that allows some access to windowserver but not to all the services that would make a fully functional application. -- Sami Liron Yahdav li...@handl.it kirjoitti 20.8.2012 kello 21.30: Thanks Sami, that fixed the issue! We configured Jenkins

Re: Git plugin trigger of downstream is not building same branch

2012-08-20 Thread Sami Tikka
I think the git plugin sets GIT_BRANCH environment variable, so you could e.g. write it to a .properties file and use parameterized trigger to pass it to another build. -- Sami Allen Bierbaum abierb...@gmail.com kirjoitti 20.8.2012 kello 18.16: On Sun, Aug 19, 2012 at 1:11 PM, Sami Tikka

Re: Archiving artifacts takes 9 hours

2012-08-20 Thread Sami Tikka
My Jenkins was archiving very slowly when I was using OpenJDK 1.6. When I changed to Sun JDK 1.6, the archiving sped up a lot. -- Sami David Hreczany dhrecz...@inrule.com kirjoitti 20.8.2012 kello 16.57: Hi Jenkins users, I am experiencing a problem with my Jenkins in that the archiving

Re: Git plugin trigger of downstream is not building same branch

2012-08-18 Thread Sami Tikka
confused about which changes it has already seen and often it starts building the wrong branch. -- Sami Allen Bierbaum abierb...@gmail.com kirjoitti 18.8.2012 kello 14.42: Our jenkins build process has been stable and working with no problems for the last 6 months or so. We have a build

Re: Confusion over build triggers

2012-08-17 Thread Sami Tikka
specific with your description? -- Sami mwpowellhtx mwpowell...@gmail.com kirjoitti 17.8.2012 kello 13.00: Hello, In test and measurement verbiage, I think of a trigger as just that: see an event, respond to that event. Say we have two jobs: A and B. A runs when it sees SCM change

Re: Build Promotion and Copy Artifact: current build is overwritten

2012-08-17 Thread Sami Tikka
, which means it would have its own workspace and it would be safe to use it. -- Sami Martin d'Anjou martin.danjo...@gmail.com kirjoitti 16.8.2012 kello 17.45: Hi, When I promote an archived build while a build is running, the Copy Artifact plugin overwrites the running build artifacts

Re: Need help getting a sample scriptler groovy script to run on a slave.

2012-08-17 Thread Sami Tikka
do many of the same things as a plugin can. If you want to run a Groovy script on the slave, you need to use the Execute Groovy Script build step and then, if the job is set to execute on a slave, Jenkins will really spawn the Groovy process in the slave. -- Sami Damon G damon.gabrie

Re: Build with for loop like finesse

2012-08-14 Thread Sami Tikka
All the builds will enter the queue at the same time, but how many will actually run in parallel depends on how many executors you have or if you have used other means of concurrency control like Throttle Concurrent Builds plugin. -- Sami rusty rustystotallyfakeemailaddr...@gmail.com

Re: Return value of a command in shell script != 0 stops build

2012-08-14 Thread Sami Tikka
place #!/bin/sh -x on the first line (without the quotes). But remember to watch for errors yourself, then. -- Sami natalie_pub...@gmx.net kirjoitti 14.8.2012 kello 18.49: Hi there, I'm using Jenkins to build a C++ project on Solaris 10. To set up the environment I'm calling various shell

Re: Windows installation - cannot be configured - jobs page loading shown

2012-08-14 Thread Sami Tikka
Which version of Jenkins you are running? -- Sami Kenneth kenneth.f.niel...@gmail.com kirjoitti 14.8.2012 kello 15.36: Hi Guru's I'v jeg trying to konfigure my jenkins to have a job monitoring three of several projects checked into subversion. and build it with ms build. (using .net 2.0 c

Re: Issue getting RVM working

2012-08-13 Thread Sami Tikka
Is this a Jenkins issue at all? Does it work when you try it as Jenkins user with the same environment? Note, Jenkins might not have the same environment vars as a logged in user, depending on your platform and where the vars are set. -- Sami de Herdt Arne arne.de.he

Re: Mail Watcher Plugin not showing in available plugins (was: email notification when node falls offline?)

2012-08-13 Thread Sami Tikka
The plugin requires a newer Jenkins than you are running? -- Sami Chris Withers ch...@simplistix.co.uk kirjoitti 13.8.2012 kello 12.34: On 13/08/2012 09:24, oliver gondža wrote: How can I get Jenkins to email me when any node falls offline? (as it blocks a whole load of builds, but I don't

Re: While running UI tests on Jenkins slave, session gets disconnected.

2012-08-13 Thread Sami Tikka
With the limited details you provide all I can advice is: try not to close the slave agent or kill its network connection. If you want better advice, you need to provide more details. In general, the slave agent does not lose connection in the middle of builds. -- Sami Manoj Attal manojat

Re: Build step 'Execute Windows batch command' marked build as failure

2012-08-09 Thread Sami Tikka
This is just a wild guess because I do not use windows: Could it be Jenkins aborts the build when it sees the exit 2 ? For Linux and Mac versions of Jenkins it is a sign of failure when a build script exits with non-zero exit code. -- Sami bearrito j.barrett.straus...@gmail.com kirjoitti

Re: Selenium crashes Chrome when running from Jenkins

2012-08-09 Thread Sami Tikka
-app -- Sami Liron Yahdav li...@handl.it kirjoitti 8.8.2012 kello 3.15: I installed it using the Mac OS X native package link from the http://jenkins-ci.org/ homepage. On Tuesday, August 7, 2012 2:01:02 PM UTC-7, sti wrote: And how did you install Jenkins? -- Sami Liron Yahdav li

Re: Selenium crashes Chrome when running from Jenkins

2012-08-07 Thread Sami Tikka
And how did you install Jenkins? -- Sami Liron Yahdav li...@handl.it kirjoitti 6.8.2012 kello 20.31: TLDR: Running ruby scripts from Jenkins on OS X that use the selenium-webdriver gem with chromedriver causes the Aw snap page to come up in Chrome. Running those same scripts from outside

Re: Copy files from slave post-build step failing to run when a build step fails?

2012-08-05 Thread Sami Tikka
just use the archive artifacts setting to copy build outputs. Jenkins always archives the matching files regardless if the build fails or succeeds. That's what I do. -- Sami Tony Spataro t...@rightscale.com kirjoitti 5.8.2012 kello 7.38: I'm running Jenkins with several slave nodes and I need

Re: Bazaar Source Code Management

2012-08-04 Thread Sami Tikka
the plugin and bzr tool are installed, you configure jobs by choosing Bazaar under Source Code Management and enter the repository URL. It seems fairly simple. Maybe you could just try it and ask if you have problems. -- Sami Pankaj Pankaj pan...@hispindia.org kirjoitti 4.8.2012 kello 10.38: Hi i

Re: Jenkins EC2 plugin: Use Instance-ID of slave instead if AMI-ID

2012-08-04 Thread Sami Tikka
You could mount a disk which contains a fairly uptodate clone of your repo, and when you clone, pass this local disk as --reference repo. Works with git, I don't know about other version control tools. -- Sami Stefan Dänzer stefan.daen...@gmail.com kirjoitti 4.8.2012 kello 15.28: Thanks

Re: build error

2012-08-01 Thread Sami Tikka
environment, like operating system, how you installed jenkins and which version of jenkins. -- Sami Pankaj Pankaj pan...@hispindia.org kirjoitti 1.8.2012 kello 10.31: Hi I am working on an open-source project dhis2, the source code is reside on launchpad. before building the new version's war

Re: slave agent fail to connect to master using jnlp

2012-08-01 Thread Sami Tikka
, it sounds like you would be best served by having someone helping you on-site. -- Sami

Re: failure setting up slave...

2012-07-31 Thread Sami Tikka
If you feel strongly about it, you can open a bug report and even contribute the improvement to the protocol. I'm sure the Jenkins committers will welcome the contribution. And if java coding isn't your cup of tea, you can also help others by adding a page to Jenkins wiki about this. -- Sami

Re: failure setting up slave...

2012-07-30 Thread Sami Tikka
Doh! Of course! I don't really think it is Jenkins' fault the earlier ssh clients ate the first protocol messages. -- Sami Rich Pixley rich.pix...@palm.com kirjoitti 30.7.2012 kello 21.40: I've gotten this working. The clue for me was here: http://jenkins.361315.n4.nabble.com/Doing

Re: Is there a way to automatically put working directories elsewhere?

2012-07-30 Thread Sami Tikka
Did you try going to global configuration and clicking on the first Advanced button? It reveals two new settings that should do what you want. -- Sami David Weintraub qazw...@gmail.com kirjoitti 30.7.2012 kello 20.58: I am planning on setting up a new Jenkins server at our company. I want

Re: Guidelines/best practices building embedded linux

2012-07-30 Thread Sami Tikka
Rich Pixley rich.pix...@palm.com kirjoitti 30.7.2012 kello 20.13: On 7/29/12 09:03 , Sami Tikka wrote: Rich Pixley rich.pix...@palm.com kirjoitti 28.7.2012 kello 0.28: You just have to understand that jenkins doesn't really do much in the way of work space management so hosed builds mean

Re: Jenkins Server Time

2012-07-30 Thread Sami Tikka
I couldn't find it in the REST API, but maybe something like: echo 'println new Date()' | java -jar jenkins-cli.jar -s $JENKINS_URL groovy = jenkins-cli.jar is available from your $JENKINS_URL/cli. The equals sign at the end is not a typo. -- Sami Tom Denley t.den...@gmail.com kirjoitti

Re: Problems with JVM Parameters in Freestyle Jobs with Maven Builder

2012-07-30 Thread Sami Tikka
extra icons into the dock without the headless option. I'm definitely of the opinion Jenkins will launch a new JVM where it executes maven. -- Sami Kanstantsin Shautsou gentoo.inte...@gmail.com kirjoitti 30.7.2012 kello 0.40: Does it work for maven based jobs? Looks like you can't set more

Re: Problems with JVM Parameters in Freestyle Jobs with Maven Builder

2012-07-30 Thread Sami Tikka
How exactly are you setting these parameters to your freestyle job? Could you copy-paste your entire build step here? -- Sami Markward Schubert markward.schub...@gmail.com kirjoitti 26.7.2012 kello 14.09: Hi Group! Is there some known issue with JVM Parameters being ignored for Maven build

Re: Guidelines/best practices building embedded linux

2012-07-29 Thread Sami Tikka
it because it runs too long. -- Sami

Re: job build directory is changed in jenkins

2012-07-28 Thread Sami Tikka
Yes there is a good guide: check in the build script into the version control system together with the source code. And if you are not using a version control system, you might want to start using one. -- Sami ZHANG Xinchun A xinchun.a.zh...@alcatel-lucent.com kirjoitti 29.7.2012 kello 7.32

  1   2   3   >