Re: Retain kubernetes jenkins slave for whole pipeline

2017-01-30 Thread Carlos Sanchez
then just create one pipeline that does everything, or pass as a parameter the commit id (GIT_COMMIT) of what you are building, so it's always the same On Tue, Jan 31, 2017 at 8:36 AM, Prashant Sharma wrote: > Hi Carlos, > > Thanks for answer! > > I dont want to

Re: Retain kubernetes jenkins slave for whole pipeline

2017-01-30 Thread Carlos Sanchez
On Tue, Jan 31, 2017 at 7:59 AM, Prashant Sharma wrote: > Hi team, > > In my scenario, I am running a ci pipeline of java project whose > jenkinsfile look like below: > > node ('slave_java') { > > stage "checkout code" > build "fetch-code" > > stage "compile code" >

Retain kubernetes jenkins slave for whole pipeline

2017-01-30 Thread Prashant Sharma
Hi team, In my scenario, I am running a ci pipeline of java project whose jenkinsfile look like below: node ('slave_java') { stage "checkout code" build "fetch-code" stage "compile code" build "code-stability" stage "code-quality" parallel "code-quality": { build "code-quality" },

[Declarative Pipeline] Running all stages under a sub directory

2017-01-30 Thread Dan Tran
Hi My DP runs under the same workspace, and would like all stages to run under a specified directory globally? attempt to use dir("xxx) { } and put all stages inside does not work out Thought? Thanks -Dan -- You received this message because you are subscribed to the Google Groups

Howto integrate OWASP dependency check plugin in Jenkins Pipeline ?

2017-01-30 Thread Ramanathan Muthaiah
Hi , After reading thru' OWASP dependency check plugin wiki and JIRA issues, I could not find examples of simple usage of this plugin in Jenkins Pipeline with the exception of this code snippet (sourced from one of the PR conversations in this plugin's GH page): step([$class:

Re: POSTing zip file using httpRequest in Jenkinsfile

2017-01-30 Thread Indra Gunawan (ingunawa)
Stackoverflow is your friend : http://stackoverflow.com/questions/37945370/how-to-post-json-data-in-body-with-jenkins-http-request-plugin-and-pipeline You have http-request-plugin installed on your Jenkins? From: on behalf of Christopher Burke

POSTing zip file using httpRequest in Jenkinsfile

2017-01-30 Thread Christopher Burke
Hey everyone Part of my build pipeline requires that I publish a zip file to a server, so I'm trying the following: response = httpRequest httpMode: 'POST', contentType: 'APPLICATION_OCTETSTREAM', body:"...", url: "${urlForPublish}" I'm not sure how to specify the body correctly,

Re: folder computation takes too long for bitbucket team configuration

2017-01-30 Thread Stephen Connolly
There are improvements planned. We need to get the 2.0.x releases back in the UC first On Sat 28 Jan 2017 at 00:45, Ruchir Brahmbhatt wrote: > Hi, > > I have configured bitbucket team project with jenkinsfile pipeline as > code. We have obviously many repositories

Re: how to setup pipeline {agent} from the private Docker hub repo?

2017-01-30 Thread Natalia Serebryakova
Thank you, this is exactly what i was looking for. Natalie On Friday, January 27, 2017 at 4:17:15 PM UTC-8, Andrew Bayer wrote: > > We recently added registry support to Declarative - register the > credentials needed for the private registry in Jenkins' UI and then you can > do: > > agent {

Re: How can integrate Type script with sonarQube using Jenkis

2017-01-30 Thread Indra Gunawan (ingunawa)
You are asking the wrong group for TypeScript support by SonarQube. I would suggest that you search the internet on SonarQube plugin for TypeScript file or ask the question in SonarQube group. Once you have built the TypeScript plugin and install it on your SonarQube, the configuration of

setting authorizationMatrixProperty properies in Jenkinsfile for pipeline job

2017-01-30 Thread simon
Hi, I am trying to configure Project-Based Matrix Authorization using the matrix-auth plugin on a per project basis using the corresponding Jenkinsfile for the project. I am using the GitHub Origanization plugin to pull in jobs from a repository. The plugin scans the repository branches for

How to get workspace of jenkins pipeline job (WorkflowRun object java API )

2017-01-30 Thread Ayellet
In the java API, I can access to the workspace path from the Run.java object: (Until today, all objects were instance of hudson.model.AbstractBuild) 1. hudson.model.AbstractBuild#getWorkspace() 2. hudson.model.Run#getExecutor().getCurrentWorkspace() In Pipeline plugin I don’t have an

Re: Jenknis job taking to much time to load

2017-01-30 Thread Daniel Beck
> On 30.01.2017, at 09:27, Nitzan Yemal wrote: > > at > com.seitenbau.jenkins.plugins.dynamicparameter.ChoiceParameterDefinition.getChoices(ChoiceParameterDefinition.java:86) > at >

Re: QUESTION: Jenkins initialization has not reached the COMPLETED

2017-01-30 Thread Daniel Beck
> On 30.01.2017, at 09:39, Victor Martinez > wrote: > > Current state is "Loaded all jobs" and I don't see much exceptions or errors > in the jenkins.log file, so I wonder, whether the above message is a genuine > issue and if so, how I can debug further. >

Pipeline scripts in IDE

2017-01-30 Thread Tobias Koenig
Hello, I'm in the process of putting my pipeline scripts in version control and creating a Maven project in IntelliJ IDEA. I already included the output of " IntelliJ IDEA GDSL" (Pipeline Syntax) in my project and I am able to use DSL keywords (stage, node, ...) no problem. I'd like for the

Is there a GUI pipeline plugin?

2017-01-30 Thread ze
Hi all, Can anyone recommend a GUI pipeline plugin? Which pipeline plugins are recommended when working with SVN? 10X -- 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

Checkout different code bases - build with identical commands

2017-01-30 Thread Михаил Максимов
Hi, We use jenkins for continuous testing of software. We have perforce repository with different versions of our software, and it looks like this: //perforce/ 1701/... 1702/... 1703/... The testing process is exactly the same for every project version. Now I have 1701 project

Re: Jenknis job taking to much time to load

2017-01-30 Thread Nitzan Yemal
By the way - when I collapse the build history list it's work fast as it supposed to be. On Monday, January 30, 2017 at 10:27:24 AM UTC+2, Nitzan Yemal wrote: > > Hello, > > One of my job which use the promote build plugin, dynamic parameter and > some shell executed script takes to much time

Re: [Config File Provider Plugin] how to use plugin in pipeline

2017-01-30 Thread 'Björn Pedersen' via Jenkins Users
Hi, this is a groovy feature: The plugin sets propertiesFile in the (implicitly generated) script class, so it is not visible from your class. See http://stackoverflow.com/questions/15619216/groovy-scope-how-to-access-script-variable-in-a-method for details. Björn Am Samstag, 28. Januar

QUESTION: Jenkins initialization has not reached the COMPLETED

2017-01-30 Thread Victor Martinez
Hi guys, I've been upgrading some Jenkins instances from 1.651.1 to 2.19.4, I did upgrade all those plugins dependencies and missing ones to be sure all of them would be loaded accordingly, but for some reason I'm seeing the below message: *Warning!* Jenkins initialization has not reached the

How can integrate Type script with sonarQube using Jenkis

2017-01-30 Thread Sivakrishna Yarra
Hi, I am using SonarQube for code quality metrics by uisng Jenkins. Similarly i wat to integrate TypeScript ( for angular 2) using SonarQube with Jenkins. Please help on this. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Jenknis job taking to much time to load

2017-01-30 Thread Nitzan Yemal
Hello, One of my job which use the promote build plugin, dynamic parameter and some shell executed script takes to much time to load - between 1-2 minutes and it's getting worse! This is what i'm getting from the thread dump (Hide my ip with x.x.x.x): "Handling GET