Jenkins printing every remote branch on all builds [JENKINS-22794]

2019-07-25 Thread Jordan Sokolic
We are experiencing an issue where Jenkins prints every remote branch in our repository to the console in every build. Since we have several thousand remote branches, this creates a lot of clutter in console logs. Example: 10:29:19 > git rev-parse HEAD^{commit} # timeout=10 10:29:20 Seen bra

Persistent docker build agents

2019-07-25 Thread Matej Drobnič
Hello, I'm wondering if there is a way to dynamically provision jenkins build agents via docker, but have them persist their state (e.g. reuse existing containers whenever possible instead of creating new ones)? Docker plugin appears to b

Re: Persistent docker build agents

2019-07-25 Thread Slide
Isn't that what volumes are for? On Thu, Jul 25, 2019 at 2:56 AM Matej Drobnič wrote: > Hello, > > I'm wondering if there is a way to dynamically provision jenkins build > agents via docker, but have them persist their state (e.g. reuse existing > containers whenever possible instead of creating

Re: Persistent docker build agents

2019-07-25 Thread Matej
Yes, but since container is destroyed after every build by docker plugin I cannot assign a volume to a specific container. On Thu, Jul 25, 2019 at 12:12 PM Slide wrote: > Isn't that what volumes are for? > > On Thu, Jul 25, 2019 at 2:56 AM Matej Drobnič wrote: > >> Hello, >> >> I'm wondering if

Re: Persistent docker build agents

2019-07-25 Thread Slide
Some of the comments here may help: https://github.com/gradle/gradle/issues/851 On Thu, Jul 25, 2019 at 3:49 AM Matej wrote: > Yes, but since container is destroyed after every build by docker plugin I > cannot assign a volume to a specific container. > > On Thu, Jul 25, 2019 at 12:12 PM Slide

Re: Persistent docker build agents

2019-07-25 Thread Matej
Yes, I've read through that thread. Unfortunately all workarounds to that issue are very hacky. On Thu, Jul 25, 2019 at 12:55 PM Slide wrote: > Some of the comments here may help: > > https://github.com/gradle/gradle/issues/851 > > On Thu, Jul 25, 2019 at 3:49 AM Matej wrote: > >> Yes, but sinc

Build failure in Jenkins: DependencyCheckAnalyzer

2019-07-25 Thread Jason Flowers
I am getting a build failure in Jenkins with our maven dependencycheckanalyzer. This is a piece of code we haven't changed and was working for a long time and randomly started failing our builds yesterday.. apart from commented out the code to run the dependency check, any idea on how to resolv

Re: Build failure in Jenkins: DependencyCheckAnalyzer

2019-07-25 Thread Slide
Did anything get updated on your Jenkins instance? On Thu, Jul 25, 2019, 06:27 Jason Flowers wrote: > I am getting a build failure in Jenkins with our maven > dependencycheckanalyzer. This is a piece of code we haven't changed and was > working for a long time and randomly started failing our bu

Re: Build failure in Jenkins: DependencyCheckAnalyzer

2019-07-25 Thread Jason Flowers
Nope On Thursday, July 25, 2019 at 9:48:28 AM UTC-4, slide wrote: > > Did anything get updated on your Jenkins instance? > > On Thu, Jul 25, 2019, 06:27 Jason Flowers > wrote: > >> I am getting a build failure in Jenkins with our maven >> dependencycheckanalyzer. This is a piece of code we haven

Re: Build failure in Jenkins: DependencyCheckAnalyzer

2019-07-25 Thread Mark Waite
I suspect that someone removed the OWASP dependency check plugin from your Jenkins server. That seems to be the plugin that is providing the `dependencyCheckAnalyzer` keyword for the domain specific language. Alternately, has the plugin been disabled in your installation? As another alternative,

Re: i need declarative pipeline syntax for trigger new pull request on successfully build

2019-07-25 Thread lesterp
Have you looked into the Bitbucket Branch Source Plugin ? That plugin can scan your repo for branches and PRs (that you can filter) and will build and report on them accordingly. On Wednesday, July 24, 2019 at 4:18:54 PM UTC-7, Atul Sharma wr

i need declarative pipeline syntax for trigger new pull request on successfully build

2019-07-25 Thread Ivan Fernandez Calvo
You could use a post condition and some tool to create PR on BitBucket https://jenkins.io/doc/book/pipeline/syntax/#post https://www.npmjs.com/package/cmd-bitbucket -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Re: Persistent docker build agents

2019-07-25 Thread Ivan Fernandez Calvo
You can mount a lo cal folder work in it, then when your Docker container finished you would have the results, then create a new Docker image with the results into it or push that data to a S3 bucket or similar, in that way you would have the data or in the Docker image or in a S3 bucket where y

Windows 7 Agents (slaves) via SSH

2019-07-25 Thread Steve K
Hello, Has anyone successfully implemented the use of SSH to launch Windows 7 agents (slaves)? I have been attempting to setup OpenSSH, but I'm falling short of getting it working. For one thing, the sshd never shows up as one of my Services, even though I believe I've followed the steps necess

Re: Windows 7 Agents (slaves) via SSH

2019-07-25 Thread Mark Waite
On Thu, Jul 25, 2019 at 3:55 PM Steve K wrote: > Hello, > > Has anyone successfully implemented the use of SSH to launch Windows 7 > agents (slaves)? > I have been attempting to setup OpenSSH, but I'm falling short of getting > it working. > For one thing, the sshd never shows up as one of my Ser