Re: Build and jump to console in one click?

2017-02-09 Thread Taro Fukunaga
Not aware of a plugin to do this, even in Jenkins 2.x. You might want to try the Jenkins CLI. https://jenkins.io/doc/book/managing/cli/ You can redirect the output to a log too. 2017年2月9日木曜日 6時33分07秒 UTC-8 maciej: > > Hi. > > Is it possible to build and jump to console in one click? Most of

Re: slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Jifeng ZHANG
Thank you Mark and Daniel, for the ideas. I was able to go through every job, since it is a new jenkins setup with not that many jobs. _None_ of the jobs uses custom workspace at all. I did find out in one of the jobs, when defining git advanced behaviour for cloning in to a sub directory of

Re: slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Daniel Beck
> On 09.02.2017, at 16:01, Jifeng Zhang wrote: > > We have went through the jobs and couldn't find any job with custom workspace > /. Maybe a custom workspace like "${whatever}/" that is effectively / when "$whatever" doesn't exist? (Does custom workspace resolve build

Re: slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Mark Waite
The source code at that location is trying to clear a workspace before it clones into it. I like Daniel's suggestion to check for a job which has defined a

pipeline - copy file from s3 bucket example

2017-02-09 Thread ncvga . net
Hi, I've installed s3copyartifact and S3BucketPublisher, i am trying to use s3copyartifact but i can't find any example any where. Lets say, on a earlier build (lets say build #23), i published an artifact to a s3 bucket, using this: step([$class: 'S3BucketPublisher', entries: [[ sourceFile:

Re: Expired Certificate

2017-02-09 Thread Daniel Beck
> On 09.02.2017, at 18:00, vrai...@redowl.com wrote: > > Please be informed updates.jenkins-ci.org certificate has expired Known issue tracked as https://issues.jenkins-ci.org/browse/INFRA-1060 > we are not able to download latest plugin securely. You might want to read

Plugin search for locking resources

2017-02-09 Thread Ðavid Avrami
Hi, I have been looking for some time now for a plugin that manage resources. The closest plugin I have found to meet my requirements is the "Lockable Resources plugin " it's great but it only provides a lock on 1

Expired Certificate

2017-02-09 Thread vraikar
Please be informed updates.jenkins-ci.org certificate has expired and we are not able to download latest plugin securely. -- *Important Notice:* The information contained in or attached to this email message is confidential and proprietary information of RedOwl Analytics, Inc., and by

Re: Issue with pipeline

2017-02-09 Thread jerome
the {workspace}@script is done during the initial fetch for the Jenkinsfile. Normally the pipeline checkout config. This first checkout is not transfer to the real workspace when you start the script 1. the jenkinsfile checkout inside {workspace}@script. I strongly suggest you get a

Jenkins LTS and Docker 1.13

2017-02-09 Thread Omeka
Previously the current LTS of jenkins would not work with docker 1.12 because of this issue https://github.com/maxfields2000/dockerjenkins_tutorial/issues/20 Has anyway here tested jenkins LTS with the Docker 1.13? Is there a way to get around the issue with another docker plugin? On my setup

Re: slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Jifeng Zhang
On Thursday, February 9, 2017 at 3:27:44 PM UTC+1, Daniel Beck wrote: > > > > On 09.02.2017, at 10:34, Jifeng Zhang > wrote: > > > > Any jenkins expert out there knows why this could happen and how to > prevent it happening again? Right now it seems to happen every two

Build and jump to console in one click?

2017-02-09 Thread 'Maciej Jaros' via Jenkins Users
Hi. Is it possible to build and jump to console in one click?Most of the time when I build jobs I want to see what is going on (observe log). So is there some plugin that provides "Build and View Log" action. That would be very handy. Or maybe something similar is available on Jenkins 2.x?

Re: Issue with pipeline

2017-02-09 Thread Daniel Beck
> On 09.02.2017, at 03:17, Sharan Basappa wrote: > > But I would like to understand the reason behind having files in > {workspace}@script rather than {workspace} ... The Jenkinsfile is checked out to @script so it's not in the actual workspace (duh), and you can

Re: slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Daniel Beck
> On 09.02.2017, at 10:34, Jifeng Zhang wrote: > > Any jenkins expert out there knows why this could happen and how to prevent > it happening again? Right now it seems to happen every two days, removing > everything it can under /. Is there a job with a custom workspace

Re: Force result change in Groovy

2017-02-09 Thread 'Maciej Jaros' via Jenkins Users
Daniel Beck (2017-02-08 16:01): On 08.02.2017, at 15:48, 'Maciej Jaros' via Jenkins Users wrote: But that throws `cannot change build result while in COMPLETED`. So can I somehow force the result? While there's probably a way to accomplish that, it's likely

Re: Pipeline Plugin: Multiple steps for ArtifactArchiver and JUnitResultArchiver in one pipeline possible?

2017-02-09 Thread ferruccio bongianni
Hello, I'm having problems with collecting results from jobs run in parallel (as in pipeline 'parallel') as not all the test results gets collected; Can you explain what can go wrong and how to fix it? Thanks Ferruccio On Friday, 20 May 2016 08:12:38 UTC+1, Lars Meynberg wrote: > > Ok it is

Re: Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread Roi Aldaag
Thanks Tyler for your prompt response! Just to make it clear - the "when" clause is NOT supported in the Scripted Pipeline syntax and is only supported in the Declarative Pipeline Jenkinsfile? Is that explained anywhere in the documentation? Aren't those scripts interpreted eventually by the

Problem with docker agent (declarative syntax)

2017-02-09 Thread Bartłomiej Kruczyk
Hi, I have problem with setting docker agent type for my pipeline. Although something like this works: agent { docker 'myimage' } This does not: agent { docker { image: 'myimage' registry: 'localhost:5000' } } As I'm getting error:

Heat Orchestration Template (Hot) Player in Jenkins is empty due to a problem

2017-02-09 Thread kvimal0123
Hi, I have jenkins configured on my windows box and I wanted to launch an openstack windows instance from Jenkins. Can anyone please help me to configure Heat Orchestration loader settings correctly , so that I will get correct output from "Heat Orchestration Template (Hot) Player".

Re: Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread R. Tyler Croy
(replies inline) On Thu, 09 Feb 2017, Roi Aldaag wrote: > for a very simple pipeline in the inline pipeline editor (not in an > external Jenkinsfile): > > *node {* > * stage('1') { // for display purposes* > > * }* > * stage('2') {* > *when {* > *//return false* > *

Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread Roi Aldaag
After updating the last pipeline plugin 2.5 and dependent plugins on latest Jenkins 2.45 we are unable to use the "when" closure: we get the following error: *java.lang.NoSuchMethodError: No such DSL method 'when' found among steps [...] at

Re: pipeline steps

2017-02-09 Thread Sekhar Kari
Yes, that's right. If any step fails the build is marked failed and would suspend. On Thursday, February 9, 2017 at 7:49:34 AM UTC+5:30, Sharan Basappa wrote: > > > I would like to know if I have multiple steps in my pipeline script and if > any one of the steps fails then subsequent steps

Re: Pipeline - merge and push

2017-02-09 Thread Sekhar Kari
See if this helps http://blogs.atlassian.com/2013/05/git-automatic-merges-with-server-side-hooks-for-the-win/ u may not be doing server side hooks, but u can write the similar script and invoke from pipeline. On Thursday, February 9, 2017 at 11:31:48 AM UTC+5:30, Sharan Basappa wrote: > > The

slave tries to delete / after upgrading to LTS 2.32.2

2017-02-09 Thread Jifeng Zhang
Hi, We got a lot of following error msg from slave log after upgrading our Jenkins to 2.32.2, git-client to 2.2.1, git plugin to 3.0.1, scm api plugin to 2.0 Feb 09, 2017 7:19:42 AM hudson.Util makeWritable INFO: Failed to chmod / No directory specified for FileSet. at

Re: Jenkins updates site https certificate expired

2017-02-09 Thread 'Björn Pedersen' via Jenkins Users
Hi, Already reported as: https://issues.jenkins-ci.org/browse/INFRA-1060 Björn Am Donnerstag, 9. Februar 2017 09:18:55 UTC+1 schrieb Mark Theunissen: > > Hi all, > > The site https://updates.jenkins-ci.org/ is serving an expired > certificate (as of yesterday), anyone know who to contact to

Jenkins updates site https certificate expired

2017-02-09 Thread Mark Theunissen
Hi all, The site https://updates.jenkins-ci.org/ is serving an expired certificate (as of yesterday), anyone know who to contact to get this remedied? Thanks Mark -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Not able to generate coverage report from jenkins

2017-02-09 Thread Victor Martinez
Since it's a CloudBees Jenkins Enterprise version, have you tried to contact CloudBees support? They might help you to drive/solve this issue. Cheers On Thursday, 9 February 2017 04:24:16 UTC, Sukumar Reddy wrote: > > Hello All I am using > > 1. Jenkins >Jenkins ver. 1.625.18.3

Any plugin can help display the status of multi jobs on multi nodes as matrix or table?

2017-02-09 Thread Reed Xia
Hi all, My project is using Jenkins 1.568, we set up a few jobs, and each job run on 4~8 nodes, I want to have a table/matrix to show the real-time status of all status. Something like following: