Re: is Jenkins using the latest version from msysgit

2013-09-06 Thread Lee Ho Yeung
version 1.529,
now i got problem at this post
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/d4373df2-e9fd-4896-913c-f626e2cf03ed/got-many-errors-after-import-database-to-database-project-in-vs2012


On Wed, Sep 4, 2013 at 10:42 PM, dhrutiben.pa...@wellsfargo.com wrote:

  What version are you using? I remember , I had difficulty using 1.528
 with Copy Artifact plugin.

 ** **

 You might want to check open issue related to Jenkins latest version.

 ** **

 Let us know whether this helped or not.

 ** **

 *From:* jenkinsci-users@googlegroups.com [mailto:
 jenkinsci-users@googlegroups.com] *On Behalf Of *nicolas de loof
 *Sent:* Wednesday, September 04, 2013 2:01 AM
 *To:* jenkinsci-users@googlegroups.com
 *Subject:* Re: is Jenkins using the latest version from msysgit

 ** **

 right, and what's you issue then ?

 ** **

 2013/9/4 Ho Yeung Lee jobmatt...@gmail.com

 i set the command like this without environment variables such as
 %WORKSPACE%,

 ** **

 the path is using 

 ** **

 ** **

 ** **

 C:\Users\LAB-User2\Documents\GitHub\testing005

 C:\Users\LAB-User2\Documents\GitHub\testing005\.git

 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3

 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3.sln

 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\sp_insert_rpt_criteria.sql

  ** **

 1. Execute window batch

 ** **

 echo 'Copying Adventure Works Solution to Jenkins workspace...'

 xcopy /s /E /H /Y /R
 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3
 C:\Program Files (x86)\Jenkins\jobs\testing003\workspace 

  

 echo 'Deleting artifacts from previous builds...'

 del
 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\*_publish.zip
 /F /Q

 ** **

 ** **

 2. MSBUILD

 ** **

 C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

 ** **

 C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.sqlproj
 /p:Configuration=Database3 /p:Platform=AnyCPU /t:Build;Publish
 /p:SqlPublishProfilePath='C:\Users\LAB-User2\Documents\GitHub\testing005\Database3\Database3\Database3.publish.xml'
 /p:UpdateDatabase=False

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.

 ** **

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Jenkins Users group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/jenkinsci-users/ejGpa1EMHtk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Prevent incrementing build number on failures

2013-09-06 Thread Jes Struck
if the goal is to convience them i think you should go an explain them why
this is better, both this single difference but also why they should love
Jenkins and be glad that they had CruiseControl up until now


2013/9/5 Edwin Castro 0ptikgh...@gmx.us

  On 9/5/13 7:25 AM, Volodymyr Kostyrko wrote:

 If you need to count good build maybe you need to look at Version Number
 Plug-In? (
 https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin) It can
 create your own $VERSION based on how many successful builds were in total,
 today or this month.


 +1 And it gives you the ability to not increment that version when failed
 builds occur too.

 --
 Edwin G. Castro

   --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 

[image: 
]http://www.praqma.net/
*Jes Struck, *
Consultant
j...@praqma.net
+45 31 42 09 00
Skype:jes.struck *Praqma A/S*
www.praqma.net
Allerød Stationsvej 4
DK-3450 Allerød
+45 36 77 27 62
http://www.praqma.net/jciusrcph12http://www.praqma.net/jcicodecamp12

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


How to find out WHY a job was executed on a specific slave?

2013-09-06 Thread Dirk Heinrichs
Hi,

yesterday Jenkins executed two subsequent builds of the same job on
different slaves, although the slave which ran the first build was idle
when the second build started. Doesn't Jenkins try to execute the next
build on the same slave if possible? If yes: How do I find out why this
happend? Does Jenkins log this somewhere?

Thanks...

Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Infrastructure
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 159 1149
*Email*: d...@recommind.com mailto:d...@recommind.com
*Skype*: dirk.heinrichs.recommind
www.recommind.com http://www.recommind.com


http://www.recommind.com

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


How to publish to database with Jenkins

2013-09-06 Thread Ho Yeung Lee
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/d4373df2-e9fd-4896-913c-f626e2cf03ed/got-many-errors-after-import-database-to-database-project-in-vs2012

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Choosing the slave to run the project

2013-09-06 Thread Mateusz Polański
Is there a possibility to choose the slave on which a build can be run using
an environmental variable?



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Choosing the slave to run the project

2013-09-06 Thread Vivekanand S V
When you use multi-configuration job you can select the slave by adding
Slaves under the Configuration Matrix section. Once you do that, you
can select the slave(s) on which this job needs to be run.


On Fri, Sep 6, 2013 at 2:21 PM, Mateusz Polański 
mp.mateusz.polan...@gmail.com wrote:

 Is there a possibility to choose the slave on which a build can be run
 using
 an environmental variable?



 --
 View this message in context:
 http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458.html
 Sent from the Jenkins users mailing list archive at Nabble.com.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


RE: Choosing the slave to run the project

2013-09-06 Thread Matthew.Webber
I don't think an environment variable can be used, but in the job configuration 
you can specify Restrict where this project can be run. Do you want to change 
the slave from run to run? If you tell the group what you are trying to 
achieve, you are more likely to get a useful suggestion.

 -Original Message-
 From: jenkinsci-users@googlegroups.com 
 [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mateusz
 Polanski
 Sent: 06 September 2013 09:51
 To: jenkinsci-users@googlegroups.com
 Subject: Choosing the slave to run the project
 
 Is there a possibility to choose the slave on which a build can be run using
 an environmental variable?

-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Choosing the slave to run the project

2013-09-06 Thread Tan Yeong Sheng
Use the label to push builds onto a certain group labelled set of slaves
On 6 Sep 2013 16:52, Mateusz Polański mp.mateusz.polan...@gmail.com
wrote:

 Is there a possibility to choose the slave on which a build can be run
 using
 an environmental variable?



 --
 View this message in context:
 http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458.html
 Sent from the Jenkins users mailing list archive at Nabble.com.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


RE: Choosing the slave to run the project

2013-09-06 Thread Mateusz Polański
I want to have an upstream build, in which you choose other builds that have
to be run, and the slaves on which they need to be performed.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458p4677463.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Git push back changes

2013-09-06 Thread David Karlsen
Yes - native git works like a charm - thanks!
Any idea if the jgit imp. will be fixed to address this?


2013/9/5 David Karlsen davidkarl...@gmail.com

 Yeah - I'm left with some BOFH operating Jenkins - and it's installed on
 an ancient RHEL5 box which have no git binaries.
 We can compile it by hand (in fact I have) - but that results in having to
 configure the path for the native git differently on the different boxes
 (we have a fair amount of slaves).
 I'll do some hacks on the PATH so git shows up in path and see how that
 goes.

 Even though if I get this to work, we also have some more exotic slaves
 running AIX, where it's not straightforward to get git in place (again
 dependent on corporate BOFH).


 2013/9/5 Mark Waite markwa...@yahoo.com

 I believe my testing of the Git plugin 2.0 beta confirmed that it was
 able to push back.  However, I think it will be better for you if you stay
 with the released plugin and use command line Git rather than JGit as your
 executable.  Is there a compelling reason you must use jgit?

 I recommend against Git plugin 2.0 beta for production work because it
 has other serious problems.  For example:

 https://issues.jenkins-ci.org/browse/JENKINS-19043 - hangs Updating
 references with large repos
 https://issues.jenkins-ci.org/browse/JENKINS-18988 - exception fails
 checkout sometimes
 https://issues.jenkins-ci.org/browse/JENKINS-18960 - cloning large repo
 is dramatically slower
 https://issues.jenkins-ci.org/browse/JENKINS-19108 - fails to checkout
 specific branch
 https://issues.jenkins-ci.org/browse/JENKINS-19305 - shallow clone
 doesn't work
 https://issues.jenkins-ci.org/browse/JENKINS-19037 - error dialog in
 preference edits
 https://issues.jenkins-ci.org/browse/JENKINS-19036 - serialization
 errors on slaves
 https://issues.jenkins-ci.org/browse/JENKINS-18957 - null pointer
 exception

 The git plugin 2.0 beta jgit implementation is a significant improvement
 over the jgit implementation in git plugin 1.5.0, but I don't think it is
 ready for production yet.

 Mark Waite

   --
  *From:* David Karlsen davidkarl...@gmail.com
 *To:* jenkinsci-users@googlegroups.com
 *Sent:* Thursday, September 5, 2013 1:37 AM

 *Subject:* Re: Git push back changes

 Thanks! Would pushing work if I went for git-plugin 2.0 beta?


 2013/9/5 Mark Waite markwa...@yahoo.com

 I think the key problem in that list is using jgit executable.  The
 jgit implementation in the current released Git plugin is not able to push
 to a central repository, along with many other limitations.

 You'll need to use the command line git implementation if you want to
 push back to a central repository.

 There are several other bugs related to the jgit implementation, if
 you're interested in them.  Even the Git plugin beta 2.0 still seems to
 have a number of rough spots with the jgit implementation.

 Mark Waite

   --
  *From:* David Karlsen davidkarl...@gmail.com
 *To:* jenkinsci-users@googlegroups.com
 *Sent:* Wednesday, September 4, 2013 8:24 AM
 *Subject:* Re: Git push back changes

 My config:
 Repository url:
 http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git
 name: stash
 branches to build:
 stash/topic/**
 stash/dev

 under 2nd advanced I have:
   Checkout/merge to local branch (optional): master (tried with and w/o
 value here)
 Config user.name Value: the userid
 Config user.email Value: the mail adr

 Merge options:
 merge before build is checked,
 name of repository: stash
 branch to merge to: master

 using jgit executable

 then under post build actions, I have, for the git publisher:
 Push Only If Build Succeed: checked
 merge results: checked
 branches:
 branch to push: master
 target remote name: stash

 from console log:

 Building on master in workspace /var/lib/jenkins/jobs/tac-jfr-srv/workspace
 Checkout:workspace / /var/lib/jenkins/jobs/tac-jfr-srv/workspace - 
 hudson.remoting.LocalChannel@1b8223f2
 Using strategy: Default
 Last Built Revision: Revision a8ea258e0efe1d514f31c2c4b5cc60ea6ed6b3c6 
 (stash/dev)
 Fetching changes from 1 remote Git repository
 Commencing build of Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 
 (stash/dev)
 Merging Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 (stash/dev) onto 
 master

 . ok building

 Skipping Sonar analysis
 Pushing HEAD to branch master of stash repository
 Opening connection
 Counting objects
 Finding sources
 Writing objects
 Pushing HEAD to branch master at repo stash
 Opening connection
 Counting objects
 Finding sources
 Writing objects
 No emails were triggered.




 2013/9/2 Mark Waite markwa...@yahoo.com

 The bug you referenced is fixed in the current versions of the git client
 plugin and the git plugin.  I can confirm that Git plugin versions 1.4.0
 and 1.5.0 are able to publish changes when used with git client plugin
 1.1.2.

 Unfortunately, that probably doesn't help you, since there is still some
 reason 

Redirect stdout to surefire reports

2013-09-06 Thread Gaurang shah
Hi Guys, 

In the surefire reports on jenkins when a test case fails it shows both 
stacktrace and stdout. Is there any way it shows stdout even when test case 
passes. 


Gaurang Shah

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins Log4j warning

2013-09-06 Thread Gaurang shah
Hi Guy, 

I have configured log4j in my project, however the problem is when i run 
that in jenkins i get following log4j jenkins. have i missed something in 
log4j.properties file or have i misplaced it ??

I am using maven project. 
*Error Messages*

log4j:WARN No appenders could be found for logger 
(org.apache.commons.beanutils.converters.BooleanConverter).

log4j:WARN Please initialize the log4j system properly.

*Location of the log4j.properties -  *src\test\java

*log4j.properties:*
# Root logger option
log4j.rootLogger=INFO, stdout
 
# Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} %-5p 
%c{1}:%L - %m%n

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Password for unknown user

2013-09-06 Thread lance . e . mead . ctr
 

While attempting to set up Active Directory security was turned on. Now 
Jenkins requires a User and Password and does not accept the current user's 
information. Uninstalling and reinstalling Jenkins does not remove the 
required login. Uninstalling and wiping the registry of Jenkins entries 
also does not remove the login requirement. How does someone return to the 
non-login state? If anyone has information about how to have Jenkins use 
Active Directory that information would also be helpful.
 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


build flow job artifacts

2013-09-06 Thread Les Mikesell
I'd like to use the build flow plugin as an alternative to a matrix
build to run approximately the same job on different platforms but
with a bit more control.  But, is there any way to (a) ensure that the
jobs it triggers all build from the same (subversion) revision that
triggered the parent, and (b) to collate all of the artifacts under
the parent job?

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Continuous Merge between Branches in Jenkins

2013-09-06 Thread Mark Waite
The git plugin can merge after pulling the latest source code and before
compiling.  At the end of the job, it can push the merge results back.
 I've used it with good success for quite a while.

I believe the Subversion plugin has similar capabilities, though I have no
experience doing it.

Mark Waite


On Fri, Sep 6, 2013 at 11:25 AM, Kamal Ahmed kamalah...@yahoo.comwrote:

 Hi,
 Is there a tried and working way of automatically merging between two
 branches using Jenkins ?
 Has someone a working system and what plugin are you using?
 Thanks,
 -Kamal.

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


RE: build flow job artifacts

2013-09-06 Thread James Nord (jnord)
Hi Les,

I don't think there is a way to get the svn to checkout the same revision 
(however I may be wrong.)
But you can have one build checkout the code - and then archive that builds 
workspace as an SCM, and then get your other jobs to checkout from that build.
(ie have a job that only does a checkout)
https://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin 

As for collating the artifacts - you could probably do that as a build flow 
extenstion if you feel like writing some code.

/James

 -Original Message-
 From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
 us...@googlegroups.com] On Behalf Of Les Mikesell
 Sent: 06 September 2013 17:21
 To: jenkinsci-users
 Subject: build flow job artifacts
 
 I'd like to use the build flow plugin as an alternative to a matrix build to 
 run
 approximately the same job on different platforms but with a bit more
 control.  But, is there any way to (a) ensure that the jobs it triggers all 
 build
 from the same (subversion) revision that triggered the parent, and (b) to
 collate all of the artifacts under the parent job?
 
 --
Les Mikesell
  lesmikes...@gmail.com
 
 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error 404 Html Publisher Plugin

2013-09-06 Thread Karthik Kumar Bachu
Downgrade jenkins from 1.529 to 1.527, it worked for me after downgrading. 

On Friday, August 30, 2013 9:56:17 AM UTC-4, Sascha wrote:

 Hi everyone,

 I have a very simple MSBuild project in Jenkins that produces code 
 coverage information.
 When trying to use the link provided by Html Publisher Plugin in the 
 project view I get an 404 error:

 Status Code: 404Exception: 
 Stacktrace: 

 (none)


 --
 *Generated by Winstone Servlet Engine v0.9.10 at Fri Aug 30 17:36:41 CEST 
 2013*


 The coverage files are generated in the workspace and are copied to the 
 htmlreports folder by Html Publisher too.
 But somehow they can not be accessed by the link?

 I already tried:
 -reinstalling the Html Publisher Plugin
 -changing the ports
 -reinstalling Jenkins

 and before this checked my configuration on a VM. Everything there works 
 like it should.

 any ideas to solve this are welcome



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Password for unknown user

2013-09-06 Thread k . thieling


You should be able to edit the main Jenkins config.xml file.  With Active 
Directory on it should look something like this: 



  useSecuritytrue/useSecurity 
  authorizationStrategy 
class=hudson.security.FullControlOnceLoggedInAuthorizationStrategy/ 
  securityRealm 
class=hudson.plugins.active_directory.ActiveDirectorySecurityRealm plugin= 
active-directory@1.33  
    domainsomedomain.com/domain 
    bindPasswordBunchOfLettersAndNumbers=/bindPassword 
  /securityRealm 



Update it to look something like this (make a backup first : ) ): 

useSecuritytrue/useSecurity 
  authorizationStrategy 
class=hudson.security.AuthorizationStrategy$Unsecured/ 
  securityRealm class=hudson.security.SecurityRealm$None/ 





Then restart Jenkins 



- Original Message -


From: lance e mead ctr lance.e.mead@mail.mil 
To: jenkinsci-users@googlegroups.com 
Sent: Friday, September 6, 2013 8:41:46 AM 
Subject: Password for unknown user 




While attempting to set up Active Directory security was turned on. Now Jenkins 
requires a User and Password and does not accept the current user's 
information. Uninstalling and reinstalling Jenkins does not remove the required 
login. Uninstalling and wiping the registry of Jenkins entries also does not 
remove the login requirement. How does someone return to the non-login state? 
If anyone has information about how to have Jenkins use Active Directory that 
information would also be helpful. 

  

-- 
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. 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Choosing the slave to run the project

2013-09-06 Thread Eric Pyle
I think the NodeLabel Parameter Plugin 
https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin 
would do this.


Eric

On 9/6/2013 5:49 AM, Mateusz Polan'ski wrote:

I want to have an upstream build, in which you choose other builds that have
to be run, and the slaves on which they need to be performed.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Choosing-the-slave-to-run-the-project-tp4677458p4677463.html
Sent from the Jenkins users mailing list archive at Nabble.com.



--
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: build flow job artifacts

2013-09-06 Thread Les Mikesell
On Fri, Sep 6, 2013 at 12:32 PM, James Nord (jnord) jn...@cisco.com wrote:
 Hi Les,

 I don't think there is a way to get the svn to checkout the same revision 
 (however I may be wrong.)
 But you can have one build checkout the code - and then archive that builds 
 workspace as an SCM, and then get your other jobs to checkout from that 
 build.

The parent job is polling svn - if there is a way to get the revision
number that triggered the build, it should be possible to paramaterize
the child jobs to expand @rev_number at the end of the svn repository
path.   I'd think this part would be a common problem for any
multi-step job.

 (ie have a job that only does a checkout)
 https://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin

 As for collating the artifacts - you could probably do that as a build flow 
 extenstion if you feel like writing some code.

I was hoping to use one of the existing plugins for that - maybe 'Copy
To Slave' if I can get the parent to save the child build numbers so
it can get the right ones.

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


SetLabelString()

2013-09-06 Thread Eric Pyle
I'm trying to change the (manually assigned) labels for a node in 
Groovy. I found I could get the labels with getLabelString(). So it 
seemed logical that I could use hudson.model.Node.setLabelString(String 
string) to assign a new set of labels, just as if I had gone into the 
configure page for the node and altered the labels. But it doesn't seem 
that easy. When I try to execute setLabelString(myNewLabelString) I get 
an error:


groovy.lang.MissingMethodException: No signature of method: 
hudson.slaves.DumbSlave.setLabelString() is applicable for argument types: 
(java.lang.String) values: [installanywhere]
Possible solutions: getLabelString(), getLabelString()


The error message doesn't make sense to me because the method 
hudson.slaves.DumbSlave.setLabelString() does take an argument of type 
java.lang.String. But I'm also getting the feeling that I'm going down 
the wrong path, at least according to this posting 
http://stackoverflow.com/questions/8823443/jenkins-hudson-cli-api-to-modify-the-node-labels-using-groovy 
on stackoverflow. If we had a more recent version of Jenkins (we're 
still on 1.466.2) I guess I could edit the config.xml and post the 
modified xml (see https://issues.jenkins-ci.org/browse/JENKINS-3265) 
https://issues.jenkins-ci.org/browse/JENKINS-3265. Any other ideas out 
there?


Thanks,
Eric
https://issues.jenkins-ci.org/browse/JENKINS-3265

--
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error 404 Html Publisher Plugin

2013-09-06 Thread Vivekanand S V
Fix is rolled in 1.530, you can wait for it. I'll be out soon I hope


On Fri, Sep 6, 2013 at 11:56 PM, Karthik Kumar Bachu 
karthik.ba...@gmail.com wrote:

 Downgrade jenkins from 1.529 to 1.527, it worked for me after downgrading.

 On Friday, August 30, 2013 9:56:17 AM UTC-4, Sascha wrote:

 Hi everyone,

 I have a very simple MSBuild project in Jenkins that produces code
 coverage information.
 When trying to use the link provided by Html Publisher Plugin in the
 project view I get an 404 error:

 Status Code: 404Exception:
 Stacktrace:

 (none)


 --
 *Generated by Winstone Servlet Engine v0.9.10 at Fri Aug 30 17:36:41
 CEST 2013*


 The coverage files are generated in the workspace and are copied to the
 htmlreports folder by Html Publisher too.
 But somehow they can not be accessed by the link?

 I already tried:
 -reinstalling the Html Publisher Plugin
 -changing the ports
 -reinstalling Jenkins

 and before this checked my configuration on a VM. Everything there works
 like it should.

 any ideas to solve this are welcome

  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.