Cron jobs on build agents as Jenkins Jobs

2017-12-23 Thread Ian Vernon
Hi! I want to have jobs that run at a specified cadence (say every 2 hours). I know that this is possible via cron syntax, and have this setup for a variety of jobs. However, I have somewhat specific requirements. I've looked around to try to figure out how to do this, but I've been coming up d

Re: Trigger separate jobs with two distinct Jenkinsfiles

2017-12-23 Thread Ian Vernon
Setting up two organization folders was the trick. Thanks! On Wednesday, December 13, 2017 at 2:29:19 PM UTC-8, Stephen Connolly wrote: > > Use a shared library to define the steps with a common name. > > Each branch will just have a Jenkinsfile of > > ourStandardBuild(); > > Then you define two o

Re: 404 Access denied after installation

2017-12-23 Thread Mark Waite
I think that message is suggesting that you have some other program already listening on port 8080 of that computer. I don't recall ever seeing a "Document not found" message from Jenkins. Mark Waite On Sat, Dec 23, 2017 at 4:35 PM wrote: > Hi, > > I'm just trying to set jenkins up on Windows.

Re: [multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-23 Thread Mark Waite
Thanks for detecting that. Have you considered proposing a pull request to the plugin help so that it will assist other users? Mark Waite On Fri, Dec 22, 2017 at 2:38 AM James Green wrote: > Solved! > > We had been using the "BitBucket Plugin" to receive the web hook > notifications from BitBu

Re: ssh authentication in jenkins/jenkins:lts docker image hangs during clone

2017-12-23 Thread Mark Waite
If the passphrase contains characters which are expanded by the shell, then the shell expansion may damage the passphrase and cause the ssh command to hang prompting for a passphrase. Shell expansion shouldn't be invoked on the characters of the passphrase. I consider that a bug, but a bug that is

Re: Jenkins Pipeline - build job step, ability to return build job number

2017-12-23 Thread Victor Martinez
The build job step returns a RunWrapper object, and in your case you can use the getId method def buildObj = build job: 'my-test-job', parameters: [string(name: 'enviro

ssh authentication in jenkins/jenkins:lts docker image hangs during clone

2017-12-23 Thread Ozgur Cagdas
Hi, I am running a container created off jenkins/jenkins:lts docker image on 64-bit Ubuntu 16.04.1 LTS and git poll and clone operations hang when I use ssh authentication with an ssh key with passphrase Started on Dec 22, 2017 1:47:55 PM Polling SCM changes on master Using strategy: Defaul