Re: [Declarative Pipeline] default params not working after checkout

2017-01-02 Thread Andrew Bayer
This is using param.xyz? That should be getting the default value - if it's not, definitely open a JIRA. On Jan 2, 2017 18:21, "Dan Tran" wrote: > Hi > > My Jenkinsfile has a few parameters with default values and are fed into > maven step via -Dxxx=${param.yyy} > > the Maven job bails right a

Re: Need pipeline script help

2017-01-02 Thread Venkat S
I have pipeline script like below *My question is when i am build this job. If some thing change in scm in Stage "B". I need to build this one only other two stages need to skip. How can skip this stage A & C.* stage 'a' node ('master'){ git branch: "${git_branch}", credentialsId: "${credential

[Declarative Pipeline] default params not working after checkout

2017-01-02 Thread Dan Tran
Hi My Jenkinsfile has a few parameters with default values and are fed into maven step via -Dxxx=${param.yyy} the Maven job bails right after the first invocation after checkout from git but work on subsequent 'build with parameters' here is the error: [Pipeline] End of Pipelinegroovy.lang

Re: declarative pipeline with File Data Provider

2017-01-02 Thread Dan Tran
here you go https://issues.jenkins-ci.org/browse/JENKINS-40756 Thanks -Dan On Monday, January 2, 2017 at 2:54:14 PM UTC-8, Andrew Bayer wrote: > > Could you open a JIRA regarding configFileProvider support in Declarative? > Feels like this is something we should make more elegant. > -- You

Re: declarative pipeline with File Data Provider

2017-01-02 Thread Andrew Bayer
Could you open a JIRA regarding configFileProvider support in Declarative? Feels like this is something we should make more elegant. A. On Jan 1, 2017 01:16, "Dan Tran" wrote: Hi, I am experimenting with declarative pipeline and try to port this configFileProvider([configFile(fileId: 'mav

Re: Resolution time of the 'mavenLocalRepo'

2017-01-02 Thread 'posthumecaver' via Jenkins Users
It is a property in MavenProject object (http://grepcode.com/file/repo1.maven.org/maven2/org.apache.maven/maven-core/3.3.3/org/apache/maven/project/MavenProject.java#MavenProject) It is filled during the initialisation via Maven either from settings.xml -> localRepository element or by '-Dma

Jenkinsfile Stage Logs

2017-01-02 Thread Vitaly S
Hello, Could anyone tell me, if it's possible to change in Stage logs: "Shell Script" name ? I'd like to see: Product name start - shell script is doing it. -- You

Re: Resolution time of the 'mavenLocalRepo'

2017-01-02 Thread Dan Tran
why want to try ${env.WORKSPACE} Just curious, where do you set ' ${project.projectBuildingRequest.localRepository.url}' ?? I just never see this settings before Thanks On Monday, January 2, 2017 at 2:37:10 AM UTC-8, posthumecaver wrote: > > Hi everybody, > > in a Maven Project, I am using th

Resolution time of the 'mavenLocalRepo'

2017-01-02 Thread 'posthumecaver' via Jenkins Users
Hi everybody, in a Maven Project, I am using the property ' ${project.projectBuildingRequest.localRepository.url}' which should contain the location of the local repository. In a local Maven build or in simple Maven build Jenkins, everything works fine and it delivers the value I expected (nam

Re: variable field in jelly files in jenkins-office 365 conecter plugins

2017-01-02 Thread Ramanathan Muthaiah
I have no experience with this plugin but can't you pass parameter via the job configuration ? In office 365 connecter plugin,the url only get the given value.I want to > set the field is variable field.How Can i set that? > /Ram -- You received this message because you are subscribed to the

Re: Urgent Help Required On Jenkins LDAP Plugin

2017-01-02 Thread Christoph Nenning
Hi, > However, on the 5th step as per this blog we couldn't find the file > as /etc/sysconfig/Jenkins Whether that file is present depends on your linux disto and on how you installed jenkins. It is present under RedHat like distros and when you installed jenkins from rpm. Under debian like

variable field in jelly files in jenkins-office 365 conecter plugins

2017-01-02 Thread KaliRajan G
Hai all, In office 365 connecter plugin,the url only get the given value.I want to set the field is variable field.How Can i set that? Thanks, Kalirajan G -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and sto