Re: Restart from stage

2021-03-23 Thread Gianluca Massera
Hi, I use the following code to walk through all stages of the pipeline for a different reason but it could be an hint for you to achieve your goal: WorkflowRun run = prevBuild.getRawBuild() NodeGraphBuilder graphBuilder = NodeGraphBuilder.NodeGraphBuilderFactory.getInstance(run);  def flowN

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

2021-03-23 Thread Sverre Moe
Shame. I like Configuration by Code. We use mainly only Multibranch Pipeline. It is the one of the major things I think Jenkins is lacking. It has Configuration by Code for Jenkins Configuration, but limited for Job Configuration, supported by this plugin. mandag 22. mars 2021 kl. 22:29:26 UTC+

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

2021-03-23 Thread Sverre Moe
I will check out the Job DSL Documentation and try my luck to write the configuration my self. I had hope this XML Job to Job DSL would help me save some time. multibranchPipelineJob("my_awesome_job") { } tirsdag 23. mars 2021 kl. 11:11:30 UTC+1 skrev Sverre Moe: > Shame. I

Re: XML Job to DSL Job Plugin for Multibranch Pipeline

2021-03-23 Thread kuisathaverat
I have an example of Multibranch pipeline job with jobDSL https://github.com/elastic/apm-pipeline-library/blob/master/.ci/jobDSL/jobs/apm-ci/apm-shared/oblt-test-env/test_mbp.groovy it could help you to save some time. El mar, 23 mar 2021 a las 11:15, Sverre Moe () escribió: > I will check out th

Re: Just installed git 2.31.0 - Unable to fetch

2021-03-23 Thread the.n...@gmail.com
Mark, We've moved to HTTPS for the builds. It looks like an issue with the platform's SSH version. Seems to be working well now. We've seen this happen with repos get large and complex. Thanks, Randall On Monday, March 22, 2021 at 11:53:49 p.m. UTC-4 Mark Waite wrote: > I see a mention of SEN

Repository Depth

2021-03-23 Thread webde...@gmail.com
I can't find any good documentation regarding the Repository Depth and its infinity setting. Can anybody connect me with the documentation they read to more fully understand this item in Jenkins? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group

Missed Github webhook events

2021-03-23 Thread Bruce Becker
Hello! I would like to ask for some advice in debugging a strange issue we have in our Jenkins : *pipeline events are often not triggered.* The setup is as follows: 1. Several (O(100)) multibranch pipeline jobs configured with Github source plugin, with Jenkinsfile in the repository

keep the docker container alive even on job failure and re use it for replay

2021-03-23 Thread Mallarapu Ananth
Hi all , I am looking for a feature where i need to docker container to be alive even the job failed . to give the context , i am trying to develop do build which take long time and whenever it build fails at some point i need to do all the steps again . to avoid this i need to docker containe

Random delete failures after upgrading Jenkins

2021-03-23 Thread Randy Beckwith
We recently upgrade to Jenkins 2.284 and Perforce plugin version 1.11.3. Since then our jobs are experiencing frequent P4: Task Exception: java.io.IOException: Unable to delete file: c:\j\esi-par\dev During the 'rm -rf c:\j\esi-par\dev' of the P4 sync, just prior to the actual s

Moving from Google Auth to SAML

2021-03-23 Thread 'Devang Sheth' via Jenkins Users
We were using Google Auth previously and have recently migrated to SAML auth with Okta but even after removing the google login plugin we're still being prompted to select a google account before it forwards to Okta then authenticates there. Any suggestions on what we need to change/remove to e

Re: keep the docker container alive even on job failure and re use it for replay

2021-03-23 Thread 'Martin Schmude' via Jenkins Users
Don't start the container by the long-running job. Setup a second job that starts the container, so that the first job may fail without affecting the container. ananthm...@gmail.com schrieb am Dienstag, 23. März 2021 um 15:23:29 UTC+1: > Hi all , > > I am looking for a feature where i need to

delete work space config not working

2021-03-23 Thread Doug Whitfield
I have a customer that when she tries to enable the setting ‘Delete work space before build starts’ and hit save the setting is not set properly when going back to the config. Neither of us see an error or indication as to why so far. There is nothing in the logs that would indicate some went w

Re: delete work space config not working

2021-03-23 Thread Mark Waite
If they are using Jenkins 2.277.1 then they will need to remove the TFS plugin. It has a known security vulnerability and a known issue with the Jenkins 2.277.1 configuration form modernization. On Tue, Mar 23, 2021 at 6:03 PM Doug Whitfield wrote: > I have a customer that when she tries to ena

Re: keep the docker container alive even on job failure and re use it for replay

2021-03-23 Thread Mallarapu Ananth
hi martin , i am using docker cloud plugin . how can i specify to the long running job to use the exact docker container started by the second job . On Wednesday, March 24, 2021 at 1:00:14 AM UTC+5:30 Martin Schmude wrote: > Don't start the container by the long-running job. Setup a second jo