Jenkins Complex Pipeline gets constant: "Queued Waiting for run to start"

2020-03-27 Thread Dan zaWhite
Hi All, We have a pretty big pipeline and we are running multiple iterations of it constantly. The pipeline uses multiple executors and parallel stages for the automation. We started getting some issues that manifest as follows: - UI gets very slugish - The pipeline jobs get stuck with message:

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread wowberk
Solved by changing job type. El viernes, 27 de marzo de 2020, 14:39:56 (UTC+1), wowberk escribió: > > Sorry, but with: > > output = bat returnStdout: true, script: 'echo %PATH%' > echo output > > > return > > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > failed: > W

Get lists tool through API

2020-03-27 Thread Antonio Gomez
Hi Teams, I am fighting with the jenkins API, but I don't see the way to get the list of configured tools. Is it possible to obtain this information? In the issue talk about change defaultVisibility of ExportedToolInstallation, default is 1, a

Question on enviroment in pipeline build with Docker

2020-03-27 Thread Brett Bergquist
I have a pipeline build and steps are using a docker image. A test stage stage('Build') { agent { docker { image 'git.everest.canoga.com:5005/software-development/devops/docker-test:latest' args '-t'

Extended Workspace Manager in Declarative pipeline

2020-03-27 Thread 'Christoph Fetzer' via Jenkins Users
Hi! I have all my jobs currently realized as declarative jenkinsfiles. I recently found the Extended workspace manager which could solve my issue distributing test-jobs running on a previously built version to slave nodes. Unfortunately I was not able to find any documentation or code examples h

Job-runtime after jenkins updates (jenkins running as service on windows server)

2020-03-27 Thread 'Christoph Fetzer' via Jenkins Users
Hello, I have my jenkins running as service on a windows server 2016. Whenever there is an update on any plugin or jenkins itself some of my jobs are running severely slower (e.g. 150->340 minutes). What I can say: - it's only affecting (declarative) pipeline jobs, no freestyle-jobs - it's only a

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread wowberk
Sorry, but with: output = bat returnStdout: true, script: 'echo %PATH%' echo output return org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 15: Expected a step @ line 15, column 17. output = bat returnStdout: true, script: 'echo

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread Daniel Butler
in the code snippet it should have had a second line: echo output On Fri, Mar 27, 2020 at 1:09 PM Daniel Butler wrote: > If you want to see the bat file output, remove the returnStdOut. You only > need that if you want to assign the output to variable and use it later in > the pipeline. > if yo

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread Daniel Butler
If you want to see the bat file output, remove the returnStdOut. You only need that if you want to assign the output to variable and use it later in the pipeline. if you still want it in the logging as well as a variable: output = bat returnStdout: true, script: 'echo %PATH%' On Fri, 27 Mar 20

I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread wowberk
Hi all, I have uploaded this file.jenkinsfile in a repository pipeline { agent any options { timeout(4) } stages { stage('SmokeTest Login') { steps { sleep 15 echo 'SmokeTest Login Init..' bat returnStd