Cannot get Multi-branch pipeline jobs to build on new commit to source repository

2016-09-15 Thread Qazwart
I must be missing something obvious here, but how can I get my build to be triggered whenever a new revision is committed to my source repository. In the older style Jenkins jobs, this was something I configured in the webform, I don’t see this in the multi-branch pipeline itself. I assumed this

Multi-branch pipeline questions.

2016-08-23 Thread Qazwart
nkins server itself: $ git clone ssh://qazwart@localhost:16022/jenkins/workflowLibs.git Is this correct? Will proxies cause an issue? I haven’t been able to access the repo either remotely or locally. Thanks, David Weintraub qazw...@gmail.com -- You received this message because you are s

Re: cURL and API

2016-08-19 Thread Qazwart
Are you using a PC and editing the file on Linux? You could be messing up your End of Lines. It shouldn’t matter with XML files. The end of lines don’t matter. However, you can always reformat the files using xmllint and the -format option. > On Aug 19, 2016, at 1:34 PM, Jedimaster_att wrote:

Using a Master Jenkinsfile for Multi-branch Pipelines

2016-08-19 Thread Qazwart
I have just started looking at using Pipelines. One of the reasons I liked about Jenkins over CruiseControl was that Jenkins allowed you to quickly setup a build using a web form rather than attempting to setup up an entire process using an XML file. Pipelines feels a bit of a step back. Howeve

Bug in deleting old projects.

2012-11-14 Thread Qazwart
I am doing some experimenting with Ivy, so I create an ivy branch in my Subversion repo. I also create a Jenkins job for testing. I will create and delete these jobs as needed. I hadn't had problems with this before. Deleting a job deleted the entire job directory structuring. That meant I cou

Memory issues with Jenkins

2012-11-08 Thread Qazwart
At first, I was getting Out of Heap errors and increased the server's memory requirements to 1024m. Now I have a FATAL: GC overhead limit exceeded error. I'm running Jenkins 1.476 on a Redhat server running on Tomcat 7.0.27. I have the following options set: -Xmx1024m -Xx:PrintGCTimeStamp -v

Re: Fingerprinting

2012-11-08 Thread Qazwart
tReference class > From javadoc: > * Soft reference objects, which are cleared at the discretion of the garbage > * collector in response to memory demand. Soft references are most often > used > * to implement memory-sensitive caches. > > > On Thursday, November

Re: Fingerprinting

2012-11-08 Thread Qazwart
ing process based on md5 checksum calculation using > java.security.DigestInputStream on each file targeted for fingerprinting. > You can read some information about md5 algorithm performance here - [Secure > hash functions in Java]. > > On Wednesday, November 7, 2012 3:44:11 PM UT

Re: Count lines of code in commits

2012-08-29 Thread Qazwart
On Aug 29, 2012, at 4:48 AM, fried noodle wrote: > Are there any plugins for Jenkins to show a report about the lines of code > commited by each developer in a particular period (days, weeks, months)? My > manager wants that data to keep track of team's productivity. This makes David sad. In

Re: List successful builds | dynamic parameter plugin

2012-08-28 Thread Qazwart
The copy artifacts plugin allows you to configure what to copy, either the last stable build or the last successful build. If you need more control than that. I recommend moving over to ivy or maven and using the Promote Build plugin to copy (deploy) the artifacts you want other projects to us

Re: ant global environmental variable setup

2012-08-27 Thread Qazwart
Sorry it got away… Don't hard code paths in your build.xml file. Either put the selenium jar in your project (and your repository, so it's checked out with the rest of your project. Then use the relative path to your jar. -- David Weintraub da...@weintraub.name On Aug 27, 2012, at 2:20 PM, p

Re: ant global environmental variable setup

2012-08-27 Thread Qazwart
DO NOT HARD CODE PATHS IN YOUR BUILDXM FILE! I'm sorry for shouting, but your selenium jar is hardcoded in Your build.xml -- David Weintraub da...@weintraub.name On Aug 27, 2012, at 2:20 PM, praneeth wrote: > Hi David.. > > I have tried leaving the build file filed empty..it worked ,but i got

Re: ant global environmental variable setup

2012-08-27 Thread Qazwart
The build should be exactly the same as if you're running it from the command line of another machine. I tell the developers that builds should be simple: I define a small needed set of tools, Subversion, JDK 1.6, and Ant 1.8. I should be able to checkout and build by just typing "ant". If y

Re: ant global environmental variable setup

2012-08-27 Thread Qazwart
Why is there a "https:" in your directory? When you specify where you build.xml file is located, you specify where it is checked out in relationship to the working directory, and not the URL in your repository. Normally, you don't have to even specify where the build file is located as long as it

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-27 Thread Qazwart
Jenkins can store subversion credentials per job, or under the $HOME.subversion/auth directory. If you need a different credential for a specific job, go to that job's configuration. Click on the help button by where you enter the Subversion URL. Read the help. There's a link that will allow y

Re: ant global environmental variable setup

2012-08-27 Thread Qazwart
On Aug 27, 2012, at 7:37 AM, praneeth wrote: > Can you please let me know how can i set ant as a global environment variable > in jenkins configuration..? What do you mean? If you're using ant, you can auto-install it. Jenkins knows where it is and runs it without you doing anything. There a

Re: Relative path running a windows batch

2012-08-20 Thread Qazwart
Are you using parentheses or curly braces? Depending where your specifying this, the environment variable need curly braces or even surrounded by percent signs. Where are you specifying this copy command? -- David Weintraub da...@weintraub.name On Aug 20, 2012, at 10:27 AM, nietzsche44 wrote

Re: change password LDAP-user in Jenkins

2012-08-20 Thread Qazwart
When you use LDAP, it is assumed that the user would change there password with the LDAP provider service. For example, you can use Windows Active Directory as an LDAP service. In this case the user would change their password through Windows. LDAP services have differing passwords setup and r

Re: cannot install msbuild plugin...

2012-08-19 Thread Qazwart
Click on Advance Button and see if you need to configure a proxy. Also try it with another browser like Chrome. IE can cause some unusual issues in Jenkins - especially older versions of IE. -- David Weintraub da...@weintraub.name On Aug 18, 2012, at 1:55 PM, waysys wrote: > I am having a s

Re: Building C# project with msbuild

2012-08-19 Thread Qazwart
Jenkins basically integrates with your version control system to do checkouts, and runs commands. In theory, you can just use batch or shell scripts to do your builds. Jenkins is program language neutral. As long as the correct .Net framework is installed, Jenkins can just run the "msbuild.exe

Re: Build Promotion and Copy Artifact: current build is overwritten

2012-08-17 Thread Qazwart
On Aug 17, 2012, at 5:12 PM, bl0ck3r wrote: > Well, I think what I am trying to achieve is simple: promote a build while > another build is running on the same project Wait a second. Is the problem your copying in files to a project while a build is running or copying files out of a build whi

Re: Deployment failure. Jenkins is unable to connect to repo.maven.apache.org

2012-08-16 Thread Qazwart
That's what I ended up doing. I set the proxy in my Maven settings.xml. That worked. I was hoping there was some universal proxy setting for Jenkins. I can't update the Jenkins war file directly. I have to download it to my system and then do a double sco. The Jenkins update center has a wa

Re: Return value of a command in shell script != 0 stops build

2012-08-14 Thread Qazwart
Add in a test to see if the director exists before doing the copy: for P in /usr/contrib/bin /usr/local/bin do [ -d $P ] || continue cd $P > /dev/null 2>&1 if [ $? -eq 0 ] then // XYZ echo $P fi done This will skip the iteration an

Re: pre condition for ant build

2012-08-14 Thread Qazwart
You can use the in Ant to check for the URL and have Ant fail the build if it's not available. In fact this can be placed in a fail task. -- David Weintraub da...@weintraub.name On Aug 14, 2012, at 10:39 AM, Kamal Ahmed wrote: > Hi, > Does someon

Re: How to use different SVN workspace version on a slave?

2012-08-03 Thread Qazwart
I'm a bit confused by this. All Subversion 1.1 to 1.7 clients should work with all Subversion servers from 1.1 and up. Besides Jenkins doesn't use the command line clients. It uses SvnKit. Why is the version of the Subversion client so important? Are you shipping or sharing working directories

Re: Question about working copy format used by Jenkins Subversion plugin 1.42

2012-07-20 Thread Qazwart
I just want to clarify: There is never any guarantee that one Subversion client will be working directory compatible with another client. For example, AnknSVN uses _svn directories instead of .svn directories which means that the standard command line client won't work. Until Subversion 1.7,

Re: Tagging with CVS

2012-05-29 Thread Qazwart
You could add a build step to use the command line to tag a build that way. I don't recommend tagging each build in CVS since it takes so long. You can use the checkout time stamp Jenkins provides to tag a build that gets promoted out of development. -- David Weintraub da...@weintraub.name Se

Re: How can i trigger a build by tag?

2012-02-05 Thread Qazwart
I'm not 100% sure how git does tagging, but you could use branches to do something similar. After all, the difference between a branch and a tag in Subversion is that one is written to a directory called "tags" and one is written to a directory called "branches". Just create a release branch and