Re: Trigger a build from a mail?

2014-07-08 Thread Nick
Hi Thomas, (It's been a while since you originally asked the question!) I wrote the following Jenkins plugin about 3 months ago, to trigger a build, from an email - https://wiki.jenkins-ci.org/display/JENKINS/poll-mailbox-trigger-plugin . Check it out, read the documentation, let me know if

Re: Jenkins API access to Build History

2014-07-08 Thread DarrelVun
Nick: If you're using Git and Gerrit, then you can find the branch and sha1 under "actions" and "parameters" as name/value pairs, with name of "GERRIT_BRANCH" and "GERRIT_PATCHSET_REVISION". I don't know of a way to find the specific build except to walk a project's builds until you find it.

RE: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Rob Mandeville
You’re getting a permission denied failure trying to write to /home/gevj/MatLabScripts/MyTAPOutput.tap. Odds are, the user Jenkins is running as doesn’t have write permissions there. Generally, Jenkins doesn’t write to other users’ home directories. If you really want it to, you would have to

Re: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Eric Pyle
You don't say what the failure is, but I suspect the "matlab" command may not be found. Jenkins is probably running as a different user than you (likely as user "jenkins"), and this user does not have matlab on its path. You could address this by either adding the necessary elements to the Jenk

Re: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Martin Bergene Johansen
> > In the ‘Build’ section, add a build step called ‘Execute Shell’. When > this job runs, it will create a new (and temporary) directory, drop > everything you’re pulling out of BitBucket into that directory and the > appropriate subdirectories, and then run whatever you put in the execute >

Re: A build's queue timestamp via $URL/job/$job_name/$build_number/api/xml

2014-07-08 Thread DarrelVun
How can I tell when a job run was put in the queue? On Friday, June 27, 2014 5:44:28 PM UTC-4, DarrelVun wrote: > > > How can I see when each individual build was queued? I want to see it > after-the-fact via the REST API. I can see (via "timestamp") when it > started building. > > This is

RE: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Rob Mandeville
You’ll want to go through the documentation at http://jenkins-ci.org/, clearly. I’m assuming that you have BitBucket and MatLab (two technologies that I am unfamiliar with) on a Ubuntu box. I’m also assuming that you know BitBucket, MatLab, and Ubuntu. Frankly, I’m not sure what TAP is, so I c

Jenkins API access to Build History

2014-07-08 Thread sebastian.nickel
Heya, we are using jenkins in combination with capistrano to deploy the artifacts build by jenkins directly to our servers. To get the URL for an artifact we are trying to get the build number for a specific git branch/tag we build in jenkins (doing this with json API calls). We noticed that the

Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Martin Bergene Johansen
Hello I’m new to Jenkins, BitBucket, MatLab and Ubuntu, and I’m in a project group that needs to run MatLab scripts from BitBucket, using Jenkins. Some details: - Ubuntu 14.04 - MatLab r2014a - We wish to use the BitBucket Pull Request Builder Plugin - We wish to use TAP for fe