LDAP Group membership filter configuration with posixaccount and posixgroup

2015-07-12 Thread Zhang Xiangjun
I have a LDAP server with user and group in posix* class, there's no 
memberof attribute from user object,  there's no member attribute from 
group object. the only connection between the user and group is the 
gidNumber.

so how can write the Group membership filter to get group from user object? 
thanks

-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/86a49495-4552-4e66-8a8b-d89923bfb00d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail notification about conflicts during svn update

2015-07-12 Thread Jovan Jevric
If you're going to pull/update via shell script field, then job is aborted 
anyway with corresponiding message, shell exec. failed. 


 Original Message 
Subject: Mail notification about conflicts during svn update (11-Jul-2015 17:47)
From:Thorsten Schöning 
To:  j...@huber-online.com

> Hi all,
> 
> is there any easy/standard way in Jenkins to get mails if updating
> svn working copies results in unresolved conflicts? I don't want to
> wipe the Jenkins managed working copies on each commit and need to
> adopt some bits of their configuration during first setup, which may
> change for some reason. Additionally, the build may succeed even with
> the unresolved conflicts for various reasons...
> 
> So is there any plugin or setting I have missed or would I need to
> implement a conflict checker on my own, configure that for each
> project and just let the build fail in case of any unresolved
> conflicts?
> 
> Thanks!
> 
> Mit freundlichen Grüßen,
> 
> Thorsten Schöning
> 
> -- 
> Thorsten Schöning   E-Mail: thorsten.schoen...@am-soft.de
> AM-SoFT IT-Systeme  http://www.AM-SoFT.de/
> 
> Telefon...05151-  9468- 55
> Fax...05151-  9468- 88
> Mobil..0178-8 9468- 04
> 
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
> 
> -- 
> 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 to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/
> jenkinsci-users/1645443272.20150711174752%40am-soft.de.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/DIIE.FFDF00750C53%40192.168.11.6.
For more options, visit https://groups.google.com/d/optout.


Re: javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule

2015-07-12 Thread Barun Vishwakarma
Not yet..still looking for the solution

On Mon, Jul 13, 2015 at 9:52 AM, Prabaharan Gopalan 
wrote:

> I'm stuck with the same error. Did you manage to get past this?
>
>
> On Friday, July 10, 2015 at 6:57:45 PM UTC+5:30, Barun Vishwakarma wrote:
>>
>> I am totally newbie in Jenkins and i have been trying to configure
>> Jenkins  + Bitbucket + jboss 6.2.
>>
>> I have a repository in Bitbucket. I am able to pull the code from
>> Bitbucket and Jenkins able to build it. but at the time of deploying in
>> Jboss its throwing an error
>>
>> *  javax.security.auth.login.LoginException: unable to find LoginModule
>> class: org.jboss.security.ClientLoginModule *
>>
>> I have tried with multiple solution but error could not resolve.
>>
>> *Stack-trace*
>>
>> Started by user anonymous 
>> Building in workspace /var/lib/jenkins/jobs/Spring33helloWorld/workspace
>>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse --is-inside-work-tree # 
>> timeout=10
>> Fetching changes from the remote Git repository
>>  > /usr/src/git-1.9.4/bin-wrappers/git config remote.origin.url 
>> g...@bitbucket.org:DrunkenCooder/spring33helloworld.git # timeout=10
>> Fetching upstream changes from 
>> g...@bitbucket.org:DrunkenCooder/spring33helloworld.git
>>  > /usr/src/git-1.9.4/bin-wrappers/git --version # timeout=10
>> using GIT_SSH to set credentials
>>  > /usr/src/git-1.9.4/bin-wrappers/git -c core.askpass=true fetch --tags 
>> --progress g...@bitbucket.org:DrunkenCooder/spring33helloworld.git 
>> +refs/heads/*:refs/remotes/origin/*
>>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
>> refs/remotes/origin/master^{commit} # timeout=10
>>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
>> refs/remotes/origin/origin/master^{commit} # timeout=10
>> Checking out Revision 1aea05d4f0c1934e883886197f88563e0823f153 
>> (refs/remotes/origin/master)
>>  > /usr/src/git-1.9.4/bin-wrappers/git config core.sparsecheckout # 
>> timeout=10
>>  > /usr/src/git-1.9.4/bin-wrappers/git checkout -f 
>> 1aea05d4f0c1934e883886197f88563e0823f153
>>  > /usr/src/git-1.9.4/bin-wrappers/git rev-list 
>> 1aea05d4f0c1934e883886197f88563e0823f153 # timeout=10
>> Parsing POMs
>> [workspace] $ /usr/java/jdk1.7.0_79/bin/java -cp 
>> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.6.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/conf/logging
>>  jenkins.maven3.agent.Maven32Main 
>> /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3 
>> /var/cache/jenkins/war/WEB-INF/lib/remoting-2.50.jar 
>> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.6.jar
>>  
>> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar
>>  57586
>> <===[JENKINS REMOTING CAPACITY]===>channel started
>> Executing Maven:  -B -f 
>> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/pom.xml install
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO] 
>> 
>> [INFO] Building spring3 mvc maven 1.0-SNAPSHOT
>> [INFO] 
>> 
>> [INFO]
>> [INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ 
>> spring3-mvc-maven-xml-hello-world ---
>> *[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
>> resources, i.e. build is platform dependent![INFO] skip non existing 
>> resourceDirectory 
>> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/resources
>> [INFO]
>> [INFO] *--- maven-compiler-plugin:3.3:compile (default-compile) @ 
>> spring3-mvc-maven-xml-hello-world ---
>> *[INFO] Nothing to compile - all classes are up to date
>> [INFO]
>> [INFO] *--- maven-resources-plugin:2.6:testResources (default-testResources) 
>> @ spring3-mvc-maven-xml-hello-world ---
>> *[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
>> resources, i.e. build is platform dependent![INFO] skip non existing 
>> resourceDirectory 
>> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/test/resources
>> [INFO]
>> [INFO] *--- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
>> spring3-mvc-maven-xml-hello-world ---
>> *[INFO] No sources to compile
>> [INFO]
>> [INFO] *--- maven-surefire-plugin:2.12.4:test (default-test) @ 
>> spring3-mvc-maven-xml-hello-world ---
>> *[INFO] No tests to run.
>> [JENKINS] Recording test results
>> [INFO]
>> [INFO] *--- maven-war-plugin:2.2:war (default-war) @ 
>> spring3-mvc-maven-xml-hello-world ---
>> *[INFO] Packaging webapp
>> [INFO] Assembling webapp [spring3-mvc-maven-xml-hello-world] in 
>> [/var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spring3-mvc-maven-xml-hello-world-1.0-SNAPSHOT]
>> [INFO] Processing war project
>> [INFO] Copying webapp resources 
>> [/var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/webapp]
>> [IN

Re: javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule

2015-07-12 Thread Prabaharan Gopalan
I'm stuck with the same error. Did you manage to get past this? 

On Friday, July 10, 2015 at 6:57:45 PM UTC+5:30, Barun Vishwakarma wrote:
>
> I am totally newbie in Jenkins and i have been trying to configure 
> Jenkins  + Bitbucket + jboss 6.2.
>
> I have a repository in Bitbucket. I am able to pull the code from 
> Bitbucket and Jenkins able to build it. but at the time of deploying in 
> Jboss its throwing an error 
>
> *  javax.security.auth.login.LoginException: unable to find LoginModule 
> class: org.jboss.security.ClientLoginModule *
>  
> I have tried with multiple solution but error could not resolve.
>
> *Stack-trace*
>
> Started by user anonymous 
> Building in workspace /var/lib/jenkins/jobs/Spring33helloWorld/workspace
>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse --is-inside-work-tree # 
> timeout=10
> Fetching changes from the remote Git repository
>  > /usr/src/git-1.9.4/bin-wrappers/git config remote.origin.url 
> g...@bitbucket.org:DrunkenCooder/spring33helloworld.git # timeout=10
> Fetching upstream changes from 
> g...@bitbucket.org:DrunkenCooder/spring33helloworld.git
>  > /usr/src/git-1.9.4/bin-wrappers/git --version # timeout=10
> using GIT_SSH to set credentials 
>  > /usr/src/git-1.9.4/bin-wrappers/git -c core.askpass=true fetch --tags 
> --progress g...@bitbucket.org:DrunkenCooder/spring33helloworld.git 
> +refs/heads/*:refs/remotes/origin/*
>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
> refs/remotes/origin/master^{commit} # timeout=10
>  > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
> refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision 1aea05d4f0c1934e883886197f88563e0823f153 
> (refs/remotes/origin/master)
>  > /usr/src/git-1.9.4/bin-wrappers/git config core.sparsecheckout # timeout=10
>  > /usr/src/git-1.9.4/bin-wrappers/git checkout -f 
> 1aea05d4f0c1934e883886197f88563e0823f153
>  > /usr/src/git-1.9.4/bin-wrappers/git rev-list 
> 1aea05d4f0c1934e883886197f88563e0823f153 # timeout=10
> Parsing POMs
> [workspace] $ /usr/java/jdk1.7.0_79/bin/java -cp 
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.6.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/conf/logging
>  jenkins.maven3.agent.Maven32Main 
> /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3 
> /var/cache/jenkins/war/WEB-INF/lib/remoting-2.50.jar 
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.6.jar 
> /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar
>  57586
> <===[JENKINS REMOTING CAPACITY]===>channel started
> Executing Maven:  -B -f 
> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/pom.xml install
> [INFO] Scanning for projects...
> [INFO]
>  
> [INFO] 
> 
> [INFO] Building spring3 mvc maven 1.0-SNAPSHOT
> [INFO] 
> 
> [INFO] 
> [INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ 
> spring3-mvc-maven-xml-hello-world ---
> *[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
> resources, i.e. build is platform dependent![INFO] skip non existing 
> resourceDirectory 
> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/resources
> [INFO] 
> [INFO] *--- maven-compiler-plugin:3.3:compile (default-compile) @ 
> spring3-mvc-maven-xml-hello-world ---
> *[INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] *--- maven-resources-plugin:2.6:testResources (default-testResources) 
> @ spring3-mvc-maven-xml-hello-world ---
> *[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
> resources, i.e. build is platform dependent![INFO] skip non existing 
> resourceDirectory 
> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/test/resources
> [INFO] 
> [INFO] *--- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
> spring3-mvc-maven-xml-hello-world ---
> *[INFO] No sources to compile
> [INFO] 
> [INFO] *--- maven-surefire-plugin:2.12.4:test (default-test) @ 
> spring3-mvc-maven-xml-hello-world ---
> *[INFO] No tests to run.
> [JENKINS] Recording test results
> [INFO] 
> [INFO] *--- maven-war-plugin:2.2:war (default-war) @ 
> spring3-mvc-maven-xml-hello-world ---
> *[INFO] Packaging webapp
> [INFO] Assembling webapp [spring3-mvc-maven-xml-hello-world] in 
> [/var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spring3-mvc-maven-xml-hello-world-1.0-SNAPSHOT]
> [INFO] Processing war project
> [INFO] Copying webapp resources 
> [/var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/webapp]
> [INFO] Webapp assembled in [37 msecs]
> [INFO] Building war: 
> /var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spr

Jenkins VPN Plugins

2015-07-12 Thread Can Alevli
Hello..,

How to connect* FortiClient SSL VPN or Cisco VPN *(*other vpn tools*) on 
Jenkins ? 
Do you have such a application on the jenkins?

Thanks..


-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/148319d5-5ca2-4a75-933d-5adc31d266a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker-build-and-publish failed to push private repo

2015-07-12 Thread eliran shlomo
Hi Nicolas,
Thanks for reply.
I updated all plugins to latest versions, the .dockercfg under $HOME is 
created by the execute shell command 

[NewArchAppImage] $ /bin/sh -xe /tmp/hudson589083928113628999.sh
+ docker login -u ***
WARNING: login credentials saved in /home/centos/.dockercfg.
Login Succeeded


I can't find anywhere where to put username\pass for the docker hub, not under 
Manage Jenkins  -> Manage Credentials 
 and not under Manage Jenkins 
 -> Configure System 



i also don't have ~/.docker/config.json existing in my $HOME


On Sunday, July 12, 2015 at 12:42:38 PM UTC+3, nicolas de loof wrote:
>
> Can you check your $HOME dir for .dockercfg file ? It should have private 
> registry credentials set by the plugin
> Also check for a ~/.docker/config.json, if present then docker will use 
> this one. You then need docker-commons 1.1 for this to be handled correctly.
>
> 2015-07-12 11:39 GMT+02:00 eliran shlomo  >:
>
>> Hi All,
>> After updating docker to latest CentOS version (1.6) the build and 
>> publish plugin failed to push private repository 
>>
>> Do you really want to push to public registry? [y/n]: EOF
>> Build step 'Docker Build and Publish' marked build as failure
>>
>>
>> My thoughts it's because of a user\pass problem but i can't find anywhere to 
>> put them (until now i used execute shell and used docker login -u).
>>
>>
>> any advise?
>>
>>
>> Thanks,
>>
>> Eliran
>>
>>  -- 
>> 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 to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/0bef23c5-868d-4b8d-9738-db54aaeae065%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d198304a-976f-4a9b-bdca-013db516d767%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Docker-build-and-publish failed to push private repo

2015-07-12 Thread nicolas de loof
Can you check your $HOME dir for .dockercfg file ? It should have private
registry credentials set by the plugin
Also check for a ~/.docker/config.json, if present then docker will use
this one. You then need docker-commons 1.1 for this to be handled correctly.

2015-07-12 11:39 GMT+02:00 eliran shlomo :

> Hi All,
> After updating docker to latest CentOS version (1.6) the build and publish
> plugin failed to push private repository
>
> Do you really want to push to public registry? [y/n]: EOF
> Build step 'Docker Build and Publish' marked build as failure
>
>
> My thoughts it's because of a user\pass problem but i can't find anywhere to 
> put them (until now i used execute shell and used docker login -u).
>
>
> any advise?
>
>
> Thanks,
>
> Eliran
>
>  --
> 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 to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/0bef23c5-868d-4b8d-9738-db54aaeae065%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzk4SyZBYZzU3ykqw%3Dxqn6KBp%2BtPMqpgxP3vv8V2GoEm1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Docker-build-and-publish failed to push private repo

2015-07-12 Thread eliran shlomo
Hi All,
After updating docker to latest CentOS version (1.6) the build and publish 
plugin failed to push private repository 

Do you really want to push to public registry? [y/n]: EOF
Build step 'Docker Build and Publish' marked build as failure


My thoughts it's because of a user\pass problem but i can't find anywhere to 
put them (until now i used execute shell and used docker login -u).


any advise?


Thanks,

Eliran

-- 
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 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0bef23c5-868d-4b8d-9738-db54aaeae065%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.