Re: Declarative pipeline with loop and input timeout

2017-08-15 Thread Victor Martinez
I did a kind of similar but not equally implementation. The important bit is to try/catch and ensure the last true/false command is in the right logic, please read the below: My use case was to run a certain Integration Test, then if it failed for whatever reason, prompt to the user whether to

Re: Jenkins 2.60.2 - testlink plugin: iterative build steps - addCustomFieldEnvironmentVariableName failed

2017-08-15 Thread Oleg Nenashev
Please create a ticket in Jenkins JIRA to the TestLink Plugin. Added Bruno Kinoshita (one of the maintainers) to Cc. среда, 9 августа 2017 г., 21:59:32 UTC+2 пользователь W Jiang написал: > > Windows 10/Jenkins 2.60.2/Testlink 1.9 > > Testlink is able to found test cases from testlink with a few

Re: Declarative pipeline with loop and input timeout

2017-08-15 Thread Guy Knights
Does anyone have any suggestions for how I can make this work? Thanks, Guy On Tuesday, August 1, 2017 at 12:17:42 PM UTC-7, Guy Knights wrote: > > I have an input step in a declarative pipeline and I want to add some > logic so that if the input step waits too long for someone to proceed, it >

Re: Release Button or best practice

2017-08-15 Thread Simon Richter
Hi, On 15.08.2017 18:25, Steven Foster wrote: > Does anyone know of any techniques or plugins for triggering a release > after a build? You are looking for the "Promoted Builds" plugin. Simon -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: How to group and sort tests and run in parallel without Parallel Test Executor Plugin

2017-08-15 Thread Viacheslav Dubrovskyi
Hi 15.08.2017 03:11, Michael Pailloncy пишет: Hi, thanks for the full explanation of your use case :-) How do you keep the Groovy file containing your previous builds result ? inside an agent's workspace ? No, as artifact: def stat_file = "suite_statics.groovy" for (t2 in behatList) {

Re: Jenkins restrict what nodes a Job can run on

2017-08-15 Thread Matt Wilson
Thanks guys, I'll take a look at the ownership/Job restrictions plugins. That might be something that could work. I'll have to shy away from the Authorize plugin for now as it doesn't play nice with some other plugins and breaks some major credential pugins functionality (or at least it did,

Release Button or best practice

2017-08-15 Thread Steven Foster
Hello, Does anyone know of any techniques or plugins for triggering a release after a build? I'd like to be able to decide to release any previous build and have that process traceable. Input steps don't suit because it holds back the build feedback. Sometimes it will be a few days after a

Re: Jenkins restrict what nodes a Job can run on

2017-08-15 Thread Oleg Nenashev
There are few more simple ways if you just need this feature: - Use Authorize Project plugin to assign authentication to your builds. Then Just set Computer/Build permissions for you nodes (Can be done in Role

Re: Does anyone know if the MSTest plugin supports pipelines and how to use it in a pipeline (jenkinsfile)?

2017-08-15 Thread Slide
No, you can't really use the plugin via a bat file, you'd need to just run mstest directly. You can't use the plugin in pipeline if it doesn't support it. The issue is that the pipeline calls the "perform" method that matches a specific signature, there is no "perform" method in the mstest plugin

Re: Does anyone know if the MSTest plugin supports pipelines and how to use it in a pipeline (jenkinsfile)?

2017-08-15 Thread red 888
Is there a way I could refer to the plugin directly via a bat command? Is there any way to call it directly even if it doesn't implement the pipeline methods? aren't plugin just groovy scripts? On Tuesday, August 15, 2017 at 11:24:18 AM UTC-4, slide wrote: > > From looking at the source, it

Re: Does anyone know if the MSTest plugin supports pipelines and how to use it in a pipeline (jenkinsfile)?

2017-08-15 Thread Slide
>From looking at the source, it doesn't look like you can use mstest in pipeline right now. It doesn't implement SimpleBuildStep, so it relies on AbstractBuild, which is not what pipeline jobs use as a base class for a build. On Tue, Aug 15, 2017 at 8:12 AM red 888

Does anyone know if the MSTest plugin supports pipelines and how to use it in a pipeline (jenkinsfile)?

2017-08-15 Thread red 888
I have my test runner configured and its generating a trx file, now I want to use the MSTest plugin to read it: https://wiki.jenkins.io/display/JENKINS/MSTest+Plugin But I don't know how to refer to it in a pipeline (Jenkinsfile). Does this plugin support jenkinsfile? Is there a way to use

Re: Q: what stage/branch failed when using failfast with declarative pipelines?

2017-08-15 Thread Richard Ginga
I do not use declarative pipelines, i use scripted pipelines, but I think you can get the result and some other information from the objects afs_release and afs_format like this: afs_release.getResult On Mon, Aug 14, 2017 at 11:48 AM, Victor Martinez < victormartinezru...@gmail.com> wrote: >

Re: Jenkins restrict what nodes a Job can run on

2017-08-15 Thread Victor Martinez
https://wiki.jenkins.io/display/JENKINS/Ownership+Plugin might help you to define who owns those nodes/jobs and so on. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an

Jenkins restrict what nodes a Job can run on

2017-08-15 Thread Matt Wilson
Is there a way to restrict or lockout the "restrict where this project can be run" selection box for users with config access? I've got certain users where it would be nice to give them some configuration control of their job, but I really need to keep them off certain slaves. i.e. I would

RE: How to setup multibranch project with external triggers

2017-08-15 Thread Daniel Butler
I’ve got triggering of Multibranches working using a user API token (from the users config page) and curl. You can’t set job specific tokens on multibranch. e.g. Curl -x POST http://jenkins:8080/test-multibranch/job/master/build -u user:0123456789abcedf0123456789abcdef From: Rainer Hörbe Sent:

Re: Stop the slave.jar process in slave machine

2017-08-15 Thread Victor Martinez
How did you configure it? There are different connectors: ssh, jnlp, swarm, ... - SSH one is master based, so if you remove the jenkins agent from the Jenkins UI then it should be gone. - JNLP is client side, so, if you installed as a service then you need to remove that particular service.

Re: Need Jenkins build info in a html file

2017-08-15 Thread Victor Martinez
All those details are assigned to specific environment variables: - https://wiki.jenkins.io/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-belowJenkinsSetEnvironmentVariables You can generate that particular html page on the fly while running that particular job, or you