jenkins gitlab plugin - credentials problems

2017-01-03 Thread john
Hi, I set up various Jenkins jobs using the gitlab plugin several months ago and it worked. It was using previous versions. Both gitlab and Jenkins running on Mint 17.3 and both have been updated over the months. So that I now have *Gitlab plugin version*: 1.4.3 - *Gitlab version*: 8.15.2 - *Jen

Any PowerShell people can help with DSC in Jenkins?

2017-01-03 Thread Mark Allison
I have a Windows Server 2016 Jenkins build box. I want to run some powershell in a Jenkins job. As a test I have set the job to do this in a `Execute Windows batch command` build step: powershell -command Get-DscResource -module xhyper-v I get this output: D:\Jenkins\workspace\build-wind

Re: jenkins gitlab plugin - credentials problems

2017-01-03 Thread Mark Waite
There may be an additional location where you need to configure the gitlab api token. Look at the system configuration page to see if you can find an api token setting. If that search doesn't find it, then you might try a recursive search through your Jenkins home directory looking for that creden

Re: Urgent Help Required On Jenkins LDAP Plugin

2017-01-03 Thread Mukul Garg
Hi All, The error that we were getting at the starting of this thread got resolved after setting the User Search Filter to sAMAccountName and we were successfully able to authenticate our LDAP users from Jenkins CLI using a Java program provided by http://celoxis.atlassian.net/wiki/display/DO

Jobs stuck in a queue for a long time - loggers list needed?

2017-01-03 Thread Jakov Sosic
Hi guys, I've been dealing with this problem for some time now. Jobs seem to get stuck in the jenkins queue, although there are free executors on slaves. Master connects to slaves via SSH. I run 3 static slaves with 3 x 100 executors. So far, only thing that really helps is restart of the j

Jobs stuck in a queue for a long time - loggers list needed?

2017-01-03 Thread Jakov Sosic
Hi guys, I've been dealing with this problem for some time now. Jobs seem to get stuck in the jenkins queue, although there are free executors on slaves. Master connects to slaves via SSH. I run 3 static slaves with 3 x 100 executors. So far, only thing that really helps is restart of the j

Securely insert ssh keys into Jenkins Docker image

2017-01-03 Thread Barry Laffoy
Hi I'm trying to set-up our Jenkins master in a reproducible way using the Docker image here: https://github.com/jenkinsci/docker One problem I am having is how to make ssh private keys (e.g. for polling git repos) available within the container in a secure manner. Ideally, I would like to be

Re: Jenkins pipeline build failing even though all steps/stages pass

2017-01-03 Thread jerome
Take care a ill formated script part make the build as failing. use some print line to make sure you reach the end of the script. Many script error are way too silent into JenkinsFile. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubs

Re: jenkins gitlab plugin - credentials problems

2017-01-03 Thread john
> > Hi Mark, >> > I searched through /var/lib/Jenkins on the server. The credentialsID is in com.dabsquared.gitlabjenkins.connection.GitLabConnectionConfig.xml so I have no idea where that might correspond to something in Jenkins. The thing that most concerns me here is that it did work and was

Re: Any PowerShell people can help with DSC in Jenkins?

2017-01-03 Thread Mark Allison
Running Jenkins as a 64-bit process solved the issue. See http://stackoverflow.com/a/34030153/38211 On Tuesday, 3 January 2017 11:54:23 UTC, Mark Allison wrote: > > I have a Windows Server 2016 Jenkins build box. I want to run some > powershell in a Jenkins job. > > As a test I have set the job

Re: windows python virtualenv

2017-01-03 Thread Richard Ginga
Dennis, when a batch file is called from a Windows Batch command build step, it must be called via "start xxx.bat" of Jenkins returns out of the shell as the conclusion of the batch file On Fri, Dec 30, 2016 at 12:30 PM, Dennis Marwood wrote: > Hi, > > I would like to create and use a python vi

Jenkins Pipeline - fail a stage but continue the build

2017-01-03 Thread 'Stefan Golas' via Jenkins Users
Hello, I would like to fail a stage in a pipeline job without aborting the build (pipeline). Is there a way? regards Stefan -- 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

How To Send An Administrative Email

2017-01-03 Thread John Bobinyec
We want to take Jenkins down for maintenance and give several days notice to the users. Is there an easy way to send an administrative email to that effect? Thanks, John Bobinyec -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

Re: Urgent Help Required On Jenkins LDAP Plugin

2017-01-03 Thread Audrey Azra
Hey there,.,,, you should validate the manager DN value. Seems this may be wrong. You can do that using the ldapsearch command...example: ldapsearch -vvv -LLL -H ldaps::3269 -x -D "@" -W -b "dc=company,dc=com" "CN=" Extract dn information from output from above command. Hope this helps On S

RE: How To Send An Administrative Email

2017-01-03 Thread Matthew.Webber
>> We want to take Jenkins down for maintenance and give several days notice to >> the users.  Is there an easy way to send an administrative email to that >> effect? There’s no email option that I am aware of, but you can have a message displayed on every web page. This is set via "Manage Jenki

Re: jenkins gitlab plugin - credentials problems

2017-01-03 Thread john
So this is what I did. I had created credentials but let Jenkins create the ID. What I should have done is to use 1909e700-c4e3-4cac-a2ff-987b8990bb6c as the ID. This is the value in the console log. It is also in com.dabsquared.gitlabjenkins.connection.GitLabConnectionConfig.xml. Then run buil

Re: Urgent Help Required On Jenkins LDAP Plugin

2017-01-03 Thread Mukul Garg
Since ldap-utils was not present on our Jenkins CLI Server we took a Java Program with which we are successfully able to authenticate LDAP users from CLI. However, when we put same configuration on Jenkins it is giving this new error this time. Earlier, when I started this thread we were unable

Removal of Developer in Jenkin's github team.

2017-01-03 Thread Ken Dang
Hi, I was wondering if it was possible to remove a member from this github team (https://github.com/orgs/jenkinsci/teams/coverity-plugin-developers) Frossi no longer works with Coverity/Synopsys and we would like him to be removed from this group. There doesn't seem to be a way for me (coverity

Want to run only the newest job of a project from the build queue and cancel other:

2017-01-03 Thread hari prasad
let’s assume a pullrequests triggered a build on a builder, before completing this build if we have some 5 to 6 pullrequests on the same branch all PR’s will be queud for individual builds. I found a solution for running only new job and cancle others def q = Jenkins.instance.queue //Find i

Unable to see the jenkins job

2017-01-03 Thread Atul Sharma
Hello i am using since last restart all the jobs were display , But once Jenkins server boot up and found one of job is not showing and i also check server console and found same jobs is exist inside the $JENKINS_HOME/jobs/microservice, But same job is not displaying in Jenkins Dashboard, Pleas

Re: Jenkins Pipeline - fail a stage but continue the build

2017-01-03 Thread Andrew Bayer
There's no *easy* way to do this - in Declarative + Blue Ocean, we now have this capability, but it relies on adding some additional metadata to the "failed" stage that Blue Ocean reads. That said, if you don't care about the visualization (i.e., the stage is marked as passed in Blue Ocean or the S

Re: Jenkins installed as a service on Windows running processes on Linux

2017-01-03 Thread Kofi Boateng
I am checking with my Tech Support to answer your question. For now, here is the error we are getting - Started by user ... Building in workspace L:\Jenkins\workspace\Execute DB TEST ERROR: Build step failed with exceptionjava.lang.NullPointerException

Re: Securely insert ssh keys into Jenkins Docker image

2017-01-03 Thread Stephen Connolly
there are two other options: 1. Bake the secret key used to encrypt Jenkins secrets into your image (downside, anyone with access to the image can decrypt they keys) 2. Seed the JENKINS_HOME volume with unencrypted credentials.xml and have an init.groovy.d script trigger a save (which will encryp

Re: Removal of Developer in Jenkin's github team.

2017-01-03 Thread Daniel Beck
> On 03.01.2017, at 19:05, Ken Dang wrote: > > Frossi no longer works with Coverity/Synopsys and we would like him to be > removed from this group. There doesn't seem to be a way for me > (coverity-kdang) to do so. > We don't really have a process for that, given the collaborative developme

Re: Jenkins pipeline build failing even though all steps/stages pass

2017-01-03 Thread Daniel Beland
I had a similar problem today and sadly my conclusion is it can be anything. In my case the culprit was the archiveArtifacts that failed because it couldn't find anything to archive. It silently marked the build as failed without any output in the console or the build pipeline steps page. Sinc

Re: Unable to see the jenkins job

2017-01-03 Thread Indra Gunawan (ingunawa)
You need to look carefully at Jenkins log and see if there is Java Exception Error for plugin it can’t load. It can be that job is using that plugin in its job config file. From: on behalf of Atul Sharma <1989atulsha...@gmail.com> Reply-To: "jenkinsci-users@googlegroups.com" Date: Tuesday, J

Re: Unable to see the jenkins job

2017-01-03 Thread Atul Sharma
Yeah , You are right i got where issue was persist , Inside the jobs/jobname config.xml file was missing , Now i restore it from build history and now i am able to see my jobs, Thanks for respond Indra, Thanks & Regards, Atul Sharma Noida Mob:+918447889432 On Wed, Jan 4, 2017 at 4:10 AM, Indra

[Declarative Pipeline] Non-executed stages report success

2017-01-03 Thread Chris Carson
I am trying out the Declarative Pipeline and noticed some odd behavior in reporting. In the current Scripted Pipeline behavior when a stage fails the pipeline stops and reports as failed, however, in Declarative Pipelines the sta

Re: Jenkins pipeline build failing even though all steps/stages pass

2017-01-03 Thread Raj Sahae
Hi Daniel, You were right, it was an archiveArtifacts step that was failing without any output whatsoever. Thanks, Raj On Tuesday, January 3, 2017 at 12:22:07 PM UTC-8, Daniel Beland wrote: > > > I had a similar problem today and sadly my conclusion is it can be > anything. > > In my case the

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

2017-01-03 Thread Dan Tran
false alarm, one of my -Dxxx=${params.yyy} did not use 'params.' (ie ${yyy}) The error could have been better. -- 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 email

Re: Urgent Help Required On Jenkins LDAP Plugin

2017-01-03 Thread Mukul Garg
Below are the configured values. Server: Our LDAP sever URL root DN: , dc=com User search base: , dc=com User search filter: sAMACCOUNTNAME Group search base: not applicable Group search filter: not applicable Group membership: not applicable Manager dn: cn=,ou=,dc=,dc=com Manager pass

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

2017-01-03 Thread KaliRajan G
On Monday, January 2, 2017 at 3:18:25 PM UTC+5:30, Ramanathan Muthaiah wrote: > > 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.Ho

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

2017-01-03 Thread KaliRajan G
I can't pass parameter via job configiration On Monday, January 2, 2017 at 3:18:25 PM UTC+5:30, Ramanathan Muthaiah wrote: > > 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 w

[Declarative Pipeline] params.xxx does not work for git

2017-01-03 Thread Dan Tran
I am trying to create pipe where user can enter their own git url and branch pipeline { agent any parameters { stringParam(defaultValue: 'ssh:////zzz.git', description: '', name: 'gitUrl') stringParam(defaultValue: 'master', description: '', name: 'gitBranch')

Re: [Declarative Pipeline] params.xxx does not work for git

2017-01-03 Thread Dan Tran
false alarm again, i need to double quote. Not sure if this is intended git url: "${params.gitUrl}", branch: "${params.branch}" On Tuesday, January 3, 2017 at 10:41:30 PM UTC-8, Dan Tran wrote: > > I am trying to create pipe where user can enter their own git url and > branch > > pipeline {

Re: [Declarative Pipeline] params.xxx does not work for git

2017-01-03 Thread Daniel Beck
> On 04.01.2017, at 07:46, Dan Tran wrote: > > git url: "${params.gitUrl}", branch: "${params.branch}" Or just `git url: params.gitUrl, branch: params.branch` Double quoted strings are interpolated strings, single quoted strings are not. The same in Groovy (Pipeline DSL) as in Perl, PHP, ba

Re: Securely insert ssh keys into Jenkins Docker image

2017-01-03 Thread Dirk Heinrichs
Am 03.01.2017 um 15:21 schrieb Barry Laffoy: > Mounting the key location as volume with `docker run -v > /path/to/keys:/var/jenkins_home/.ssh` does not work, as the mount > point in the container inherits the uid/gid of the host directory, > which does not match the uid/gid of the "jenkins" user wi