Re: Building Jenkins-plugins failed in maven enforcer plugins

2023-01-30 Thread Thomas Markus
Hi Am 30.01.23 um 08:46 schrieb Ullrich Hafner: Which maven version are you using? The error message says that you need to use at least Maven 3.8.1. Am 30.01.2023 um 07:37 schrieb Ahmed Rafiq : Hello, trying to update our inhouse Jenkins plugins. But it gets failed from maven-enforcer-plugi

Re: Building Jenkins-plugins failed in maven enforcer plugins

2023-01-29 Thread Ullrich Hafner
Which maven version are you using? The error message says that you need to use at least Maven 3.8.1. > Am 30.01.2023 um 07:37 schrieb Ahmed Rafiq : > > Hello, > trying to update our inhouse Jenkins plugins. But it gets failed from > maven-enforcer-plugin at > > [ERROR] Rule 1: org.apache.maven

Re: Building docker images with declarative pipeline

2019-06-04 Thread 'Toby Hersey' via Jenkins Users
Thanks very much for this :) On Tuesday, September 12, 2017 at 5:42:03 PM UTC+1, Joshua Noble wrote: > > With declarative pipelines this is pretty straight forward, just build the > Docker image like you would on your local machine using `sh` commands. > > For example, in our cluster all build ag

Re: Building Jenkins in Eclipse

2019-01-04 Thread Gerry Storm
I finally managed to run Jenkins with a remote debugger using intellij. cd war; mvnDebug jenkins-dev:run However I am a little puzzled. I used (remote) debuggers in the past and usually the debugger presents the source and offers the user an opportunity to set breakpoints, watch-points and so on

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
That is definitely abnormal. This is an Eclipse bug then, because that configuration is already inherited by the cli module (you can check yourself using mvn help:effective-pom). Le jeu. 3 janv. 2019 à 14:17, Steffen Elste a écrit : > Hi, > after i modified the pom.xml of the *cli* project to in

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
Thank you Ullrich and all. I was able to import and build jenkins as follows: 1) git clone https://github.com/jenkinsci/jenkins.git 2) cd jenkins; mvn install -DskipTests 3) Started inlellij, imported and built the projects, no errors just tons of warnings. I now want to debug the jenkins.war. I

Re: Building Jenkins in Eclipse

2019-01-03 Thread Ullrich Hafner
Building is quite easy:-) Just importing it into an IDE is complex since Jenkins uses a lot of hacks around the maven infrastructure so it does not work out of the box. E.g., the compile error in IntelliJ is due to missing generated resource files. These generated sources are not picked up aut

Re: Building Jenkins in Eclipse

2019-01-03 Thread Bassam Khouri
I had an issue trying to create a plugin one. I has a settings.xml in my ~/.m2 folder. If you've got a settings.xml file, I wonder if it can be causing the issue you are encountering. Back it up, remove it, and see if you can build. --- "What we can or cannot do, what we consider possible or im

Re: Building Jenkins in Eclipse

2019-01-03 Thread Slide
It could be your bad luck, I have never had the same issues you are having. I just imported the top level directory into IntelliJ IDEA as a Maven project and it worked flawlessly for me. On Thu, Jan 3, 2019 at 1:19 PM Gerry Storm wrote: > I'm a bit surprised. jenkins is widely used and it looks

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
I'm a bit surprised. jenkins is widely used and it looks looks like there are tons of contributors. I assumed it would be a breeze to build it from the source. I wonder if this is just my bad luck? On Thu, Jan 3, 2019 at 12:08 PM Gerry Storm wrote: > I have tried inlelliji and still got one erro

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
I have tried inlelliji and still got one error when building projects: Error:(26, 25) java: package hudson.cli.client does not exist in cli/src/main/java/hudson/cli/CLI.java at "import hudson.cli.client.Messages;" On Thu, Jan 3, 2019 at 8:56 AM Jan Monterrubio wrote: > I personally use intell

Re: Building Jenkins in Eclipse

2019-01-03 Thread Jan Monterrubio
I personally use intellij idea, since it lets you import a project ( and if it is maven it will wire things up on its own). https://blog.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/ On Thu, Jan 3, 2019 at 10:55 AM Gerry Storm wrote: > Thank you all very much. I am not parti

Re: Building Jenkins in Eclipse

2019-01-03 Thread Gerry Storm
Thank you all very much. I am not particularly fond of Eclipse per se. I have used it in the past and it was my first choice. If you think Apache NetBeans or IntelliJ IDEA are better I will switch to one of those. Which one would you recommend and are there instructions available I could follow? O

Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi, after i modified the pom.xml of the *cli* project to include org.codehaus.mojo build-helper-maven-plugin 3.0.0 add-source generate-sources add-source

Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi Baptiste, i did a quick check - removed the projects from the workspace, deleted all Eclipse-related files and folders, then bumped the version of the plugin up to 3.0.0 - but i still get the compile error, the build path is not set. Can You give me a hint on how to go about updating the wiki

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
@Steffen and James, can you pretty please update the wiki page for Eclipse? I'd do it myself, but I don't use Eclipse anymore, so my experience is ~3 years outdated now. IMO, do not hesitate to remove many things, and make it very short, so that it does not become stale too quickly. For the `targ

Re: Building Jenkins in Eclipse

2019-01-03 Thread Steffen Elste
Hi, gave it at try this morning. I downloaded the current 'Eclipse IDE for Enterprise Java Developers' (the smaller 'Eclipse IDE for Java Developers' should do as well). Cloned the repository - without importing any projects in the first place - then imported 'Existing Maven Projects' into the w

Re: Building Jenkins in Eclipse

2019-01-02 Thread Gerry Storm
I tried it again. I cloned the repository from scratch, ran mvn install -DskipTests, then imported four projects: cli jenkins jenkins-core jenkins-war The eclipse found tons of warnings and 13 errors. The errors included: 1. XML with invalid characters 2. Maven error failure to run task g

Re: Building Jenkins in Eclipse

2019-01-02 Thread Jan Monterrubio
For newer versions of eclipse (2018.12, or after Photon, since they got rid of names)), there should be integration with maven out of the box. If that doesn't work, you can install a plugin, following these instructions: http://www.eclipse.org/m2e/ You mostly go to the About -> Install New Softwar

Re: Building Jenkins in Eclipse

2019-01-02 Thread Gerry Storm
Thank you James. It is no picnic for a newbie especially with broken instructions. I wonder how people join under these circumstances. Maybe there is a different place/document/tutorial? Anyway, how do I make sure that the distribution I get with cloning contains m2eclipse and if it does not ho

Re: Building Jenkins in Eclipse

2019-01-01 Thread James Nord
Alas that page is complete bunkum... if you are using eclipse make sure you use a distribution with m2eclipse (or add it) then after building Jenkins at the command line (mvn install -DskipTests) import the projects in the normal eclipse way as a "Maven" project. /James On Tue, 1 Jan 2019 at 15:5

Re: Building Jenkins in Eclipse

2019-01-01 Thread Ullrich Hafner
I’m not sure if one of the developers is still using Eclipse. Did you try in IntelliJ (or is that not an option)? BTW: I think your questing is better suited for the dev list, see Jenkins Developers . > Am 31.12.2018 um 18:52 schrieb Gerry Storm : > > I have tried to follow instructions in >

Re: Building a specific commit with Gerrit

2018-09-10 Thread ferruccio bongianni
Hello Michael, I found this post and I am having the same problem; I was wondering if you have solved it, and how? Thanks Ferruccio On Tuesday, 23 September 2014 00:51:35 UTC+1, Michael Vincent wrote: > > I need to build every commit that gets submitted into a Gerrit repo > (preferably in order)

Re: Building docker images with declarative pipeline

2018-01-11 Thread Mayur Nagekar
Hello all, Do we have any update here ? i have been trying to use dockerfile as the agent to build a docker image from the Dockerfile in my source repo and then be able to run some unit tests within the container. I browsed all possible sources of documentation(see below) but still no luck. H

Re: Building docker images with declarative pipeline

2017-09-12 Thread Ari Pringle
Hi Alex, I had some trouble figuring out how to do this as well. The docs here show what is possible for docker.image using scripted pipeline (and thus inside of a script{} block): https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#docker-workflow I ended up with s

Re: Building docker images with declarative pipeline

2017-09-12 Thread Joshua Noble
With declarative pipelines this is pretty straight forward, just build the Docker image like you would on your local machine using `sh` commands. For example, in our cluster all build agents are actually the same, but most builds run inside of a container on one of these nodes, which you've not

Re: Building docker images with declarative pipeline

2017-09-11 Thread Alex B
Hi Drew, Could you post where you found the example using script{} block? I'm looking into building Docker images in ephemeral jenkins agents but having difficulty finding proper documentation for the syntax. -Alex On Thursday, June 1, 2017 at 1:23:11 AM UTC-5, drew@computecanada.ca wrote

Re: Building docker images with declarative pipeline

2017-05-31 Thread drew . leske
Hello Andrew and Thomas, I ran in this exact problem and used a script{} block, but I am wondering if there are updates to this issue. All of the documentation/examples I have seen use scripted syntax, but sometimes the documentation is behind the code. :) Cheers, Drew. On Tuesday, February

Re: Building docker images with declarative pipeline

2017-04-26 Thread Max Schindler
I would also be very interested in this. @Thomas: How are you proceeding with your topic? Maybe we can share our experience and help each other on this topic? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: building multi module projects in jenkins

2017-03-12 Thread paul b
Thanks Stephen for your reply. So, to answer your questions. 1. The parent can be released independently. I still want the projects to have their own repo and can be built independently . 2. I intend to have SNAPSHOTs across repos which some of them are dependent on others! I agree that the p

Re: building multi module projects in jenkins

2017-03-11 Thread Stephen Connolly
The question you need to ask when splitting among repositories is about what the release cycle is. If things *always* _have to_ be released together, then they should be in the same repo. If things *sometimes* (at least twice) _just might_ be released independently (i.e. Where one gets an additio

Re: building multi module projects in jenkins

2017-03-11 Thread paul b
Thanks David for your response. I appreciate your comments. So, I would like to build the project from the parent so could do the following. Doing this gives me the ability to build all projects from the parent and to build indivdual projects too! Which is what I want to achieve from jenkin

Re: building multi module projects in jenkins

2017-03-10 Thread David Karr
On Fri, Mar 10, 2017 at 8:53 AM, paul b wrote: > I have several projects that are multi module projects that are like the > following > > Project1 > +-module1 > +-pom.xml > +-module2 > +-pom.xml > > Each project is configuration controlled in git as their own project > > Now, I have created a

Re: Building docker images with declarative pipeline

2017-02-14 Thread Thomas Fjellstrom
That would explain the complete lack of examples. I'm kindof surprised there wasnt some kind of mapping from plugin dsl to the new declarative syntax, to at least allow some use of the existing apis. The script blocks are good enough for now however. Thanks :) On Tuesday, February 14, 2017 at

Re: Building docker images with declarative pipeline

2017-02-14 Thread Andrew Bayer
Right now, we don't have a great answer for this other than to use Scripted Pipeline docker.build(...) within a script { } block - we don't allow "foo.bar()" or "foo = bar()" syntax in steps blocks in Declarative unless they're within a script block. Anything within a script block doesn't go throug

Re: Building RPMS from Jenkins job

2016-09-07 Thread jerome
Check if rpmbuild return value is 0 when failing (echo the command return value to see), if so this is normal and rpmbuild is to blame for this else it's Jenkins fault. If it fail and still return 0 you will have to parse the console output and check for the failures strings using Console Log

Re: Building multiple maven projects without a parent pom?

2016-08-24 Thread Jesse McCormick
1) If this isn't available in pure git, you can just multi SCM plugin to retrieve from multiple git locations. Maybe helpful: http://stackoverflow.com/questions/9767919/in-jenkins-how-to-checkout-a-project-into-a-specific-directory-using-git 2. Just add multiple build steps in the order desir

Re: Building multiple maven projects without a parent pom?

2016-08-22 Thread Kristian Rink
Am Dienstag, den 23.08.2016, 01:43 +0200 schrieb Baptiste Mathus: > Not sure I get what you're trying to do, but using pipeline it'd > probably be easy to write that logic you're expressing. >  I'll have a look at pipelines then - thanks for your hint. Well, to maybe explain a bit clearer what we'

Re: Building multiple maven projects without a parent pom?

2016-08-22 Thread Baptiste Mathus
Not sure I get what you're trying to do, but using pipeline it'd probably be easy to write that logic you're expressing. Cheers Le 22 août 2016 4:22 PM, "Kristian Rink" a écrit : > Folks; > > for my use case, I'd like to configure a setup / jenkins project that > should work more or less like t

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Thomas Zoratto
Hi Baptiste, Not sure you can easily mount the docker client binary (you could, back in the day but now there are some required dependencies). > Le 2 juil. 2016 à 22:00, Baptiste Mathus a écrit : > > Worth a read probably: > https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-dock

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Baptiste Mathus
Worth a read probably: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ from a Docker team member. For your case, might be even simpler to also bind mount the docker client binary in your container. That way you can keep your Dockerfile independent of that. Also, beware t

Re: Building jenkins RPMs

2016-05-12 Thread Daniel Beck
> On 12.05.2016, at 16:19, Ian Duffy wrote: > > I'm struggling to find the rpm spec file that is used to generate the RPMs > supplied on the jenkins website. > > Can anyone point me to where I can find these? > https://github.com/jenkinsci/packaging/tree/master/rpm/build -- You received t

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread Nayan Jyoti Gogoi
Hi, As per your query it is seen that you are not using any build tool,first you have install a build tool and accordingly have to set the environment path to that machine,and then you have define required targets there,for example you want to compile your .java program and put class files in

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread Victor Martinez
Hi there, As far as I see your use case won't work without adding some further build steps. BuildNow button doesn't mean it will compile your java code unless you add your javac command. Build Now button means it will execute the job and will run whatever you define within your Jenkins job.

Re: Building a sample HelloWorld.java using Jenkins

2015-09-30 Thread ajith . kumsi
Any help regarding this post? On Tuesday, September 29, 2015 at 3:55:24 PM UTC+5:30, ajith...@gmail.com wrote: > > Hi, > > I am using Jenkins Software for building my HelloWorld.java code. > > I can see that it shows Build success, but no .class files got generated. > > I have followed the below

Re: Building Projects with older JDK - Unsupported major.minor version 51.0

2015-06-03 Thread Constantin J
Yes it was a Maven job. I've changed it to a freestyle job, looks promising. Thanks :) Am Mittwoch, 3. Juni 2015 13:01:46 UTC+2 schrieb Daniel Beck: > > What kind of job is this? If this is a Maven job, it will not work with > JDK 6 due to the integration with Jenkins. Use a freestyle job instea

Re: Building Projects with older JDK - Unsupported major.minor version 51.0

2015-06-03 Thread Daniel Beck
What kind of job is this? If this is a Maven job, it will not work with JDK 6 due to the integration with Jenkins. Use a freestyle job instead. On 03.06.2015, at 12:42, Constantin J wrote: > Hi, I'm trying to build a Project with an older version of the JDK. > > I have configured Jenkins to ru

Re: Building a better catch-up system

2015-03-26 Thread Jo Shields
https://github.com/directhex/jenkins-git-catch-up /micdrop When I'm done, it'll optionally allow for merges to be squashed (i.e. if someone merges a large branch, that merge commit will be regarded as one commit, not as potentially dozens) -- You received this message because you are subscrib

Re: Building NetBeans project with Jenkins

2014-12-12 Thread Daoud Abdelmonem Faleh
Checkout this blog entry http://www.adam-bien.com/roller/abien/entry/how_to_fix_the_libs On Dec 11, 2014 4:55 PM, "Scott Genevish" wrote: > I’m trying to build a NetBeans project in Jenkins. I have added these > lines to the Properties of the “Invoke Ant” build step: > > j2ee.server.home=/u

Re: Building a specific commit with Gerrit

2014-09-24 Thread Chanda Unmack
On Mon, Sep 22, 2014 at 4:51 PM, Michael Vincent wrote: > I need to build every commit that gets submitted into a Gerrit repo > (preferably in order). > > I have all the latest git/Gerrit plugins on the latest Jenkins 1.565.2 > LTS. Jenkins master is running on Linux and slave nodes are running o

Re: Building jenkins...Where is the parent POM?

2014-06-18 Thread Jeff
Oops... org.jenkins-ci jenkins 1.33 I did find out I need to add the Jenkins Maven repository to my Nexus Repo Group, despite having the Jenkins repository defined in the Jenkins main module POM. We mirror everything through our internal company Nexus repository, but I would ha

Re: Building jenkins...Where is the parent POM?

2014-06-18 Thread Slide
There is nothing below... On Wed, Jun 18, 2014 at 9:42 AM, Jeff wrote: > I cloned the Jenkins source tree from GitHub and tried to build but it is > referencing a parent pom (see below) that isn't in the project. > > Where do I get it? I can't find a reference anywhere. > > -- > Jeff Vincent >

Re: Building Maven project in Jenkins

2013-08-15 Thread Baptiste Mathus
Hi, Read the message: "Unable to auto-install JDK until the license is accepted." You have to go in the jenkins admin and check the corresponding checkbox near JDK. Cheers Le 16 août 2013 02:20, "inbaraj" a écrit : > Hello, > > I created a simple Maven webapp by issuing this command. > *mvn arc

Re: Building on slaves either fails build or generates a warning

2013-08-13 Thread Stevo Slavić
After deleting Jenkins jar cache on slaves - problem disappeared. Remoting needs a fix, to better handle corrupt files in cache. On Thu, Aug 8, 2013 at 3:02 PM, Stevo Slavić wrote: > Hello Jenkins community, > > Multiple different jobs when run on slaves either fail or generate a strange > wa

Re: Building jenkins: XStream2Test$Foo2 cannot be cast to XStreamTest$Foo

2013-02-10 Thread Viktor Tarasov
Le 08/02/2013 06:16, Sami Tikka a écrit : > Did you try with jdk 1.7? Thanks. The jenkins.war in 1.502-snapshot (jenkins-1.500-89-g9bb9d44) was successfully packaged with jdk 1.6 and 1.7. Some jenkins harness tests fails with jdk 1.6, I suppose it's not dramatic. Do not tried with jdk 1.7 -- it

Re: Building on 8 Operating Systems with 2 Systems

2013-02-08 Thread Sami Tikka
My Jenkins runs in VMware virtual machine and slaves in libvirt/KVM vms. No problems so far. -- Sami Raghavendra Achar kirjoitti 8.2.2013 kello 7.37: > Thanks a lot Andrew for the quick reply, Will Jenkins work on the virtual > configurations??Has it been tested by many?? > Can i make First s

Re: Building on 8 Operating Systems with 2 Systems

2013-02-08 Thread Les Mikesell
On Thu, Feb 7, 2013 at 11:37 PM, Raghavendra Achar wrote: > Thanks a lot Andrew for the quick reply, Will Jenkins work on the virtual > configurations??Has it been tested by many?? > Can i make First system as Jenkins master and other 7 OS configurations as > virtual Jenkins Slaves in other system

Re: Building on 8 Operating Systems with 2 Systems

2013-02-07 Thread Raghavendra Achar
Thanks a lot Andrew for the quick reply, Will Jenkins work on the virtual configurations??Has it been tested by many?? Can i make First system as Jenkins master and other 7 OS configurations as virtual Jenkins Slaves in other system. Will this be the best approach??Please suggest regards Raghave

Re: Building jenkins: XStream2Test$Foo2 cannot be cast to XStreamTest$Foo

2013-02-07 Thread Sami Tikka
Did you try with jdk 1.7? -- Sami Viktor Tarasov kirjoitti 7.2.2013 kello 11.26: > Hello, > > When trying to build jenkins from the current GH master branch > I'm getting following error: > > $ mvn -Plight-test install > .. > Running hudson.util.XStreamTest > Tests run: 1, Failures: 0, E

Re: Building on 8 Operating Systems with 2 Systems

2013-02-07 Thread Andrew Melo
I would just roll 8 virtual machines Andrew Melo Sent from my secret fortress. On Feb 7, 2013, at 22:57, Raghavendra Achar wrote: > Hello, > I need to build my visual studio applications on 8 OS > configurations using Jenkins.But i have a constraint on the System resource. > I

Re: building SCM triggered dependent jobs serially

2013-01-13 Thread Brian Westrich
Faisal, Thanks for your post. The problem you face is a very common one. When I tried to implement a fix for this a few year ago using Hudson, I was unable to do so using a purely Hudson approach. I tried various approaches, such as using build quiet times (as documented in the above posts).

Re: building SCM triggered dependent jobs serially

2013-01-12 Thread Faisal Faizan
Hi Brian, I have exactly the same situation and am trying to understand if we yet have a solution to solve this issue - My situation is - Project 1 is dependent on artifacts from Project 2 & Project 3. Project 2 is dependent on artifacts from Project 3. Project 3 is independent. 1) When a com

Re: building certain git revision

2012-12-07 Thread Evgeny Goldin
Hi Roman, I'm facing exactly the same issue and so far solved it by adding a "commit" String parameter with default value "origin/master" and then running this shell step: TeamCity allows one to choose a commit to build in its Run Custom Build dialog. Then I face an issue of adding this to al

Re: building certain git revision

2012-12-07 Thread Evgeny Goldin
Hi Roman, I'm facing exactly the same issue and so far solved it by adding a "commit" String parameter with default value "origin/master" and then running this shell step: echo "Updating to commit [$commit]" git checkout $commit git log --format=format:[%h]-[%cn]-[%cr]-[%s] -10 TeamCity all

Re: Building C# project with msbuild

2012-08-19 Thread bearrito
In a Job you might call COMPILE I'd use the Msbuild plugin to do the compilation. You will just need to point the Msbuild plugin at the .SLN file. In another job you might call UNITTEST I'd use the NUNIT plugin to run the test. You will need to point the NUNIT runner at the assembly containing

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: Building C# project with msbuild

2012-08-17 Thread Slide
Check out the msbuild plugin [1], it does a nice job of wrapping things up for you. There is also an NUnit plugin [2] slide 1 - https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin 2 - https://wiki.jenkins-ci.org/display/JENKINS/NUnit+Plugin On Fri, Aug 17, 2012 at 3:42 PM, Kenneth wrote

Re: Building the same branch in different repositories/jobs

2012-07-08 Thread Thomas Ferris Nicolaisen
> > Otherwise, I think I'm left with extending the Jenkins Git Plugin with the > option of overriding configured Branch Specifier with some environment > variable (OVERRIDE_GIT_BRANCH_SPECIFIER) that I can pass from upstream. > Closely related issue btw: https://issues.jenkins-ci.org/browse/JE

Re: Building the same branch in different repositories/jobs

2012-07-08 Thread Thomas Ferris Nicolaisen
Thanks for the suggestions, Sami. I'll reply in-line: On Friday, July 6, 2012 7:10:36 PM UTC+2, sti wrote: > > a) Instead of having the 3 jobs with git branch as parameter, make several > sets of 3 jobs. Each set has a fixed branch they build from. If creating > the jobs is too much manual work,

Re: Building the same branch in different repositories/jobs

2012-07-06 Thread Sami Tikka
A pretty pickle you've gotten yourself into. These are the options that come to mind (in no particular order): a) Instead of having the 3 jobs with git branch as parameter, make several sets of 3 jobs. Each set has a fixed branch they build from. If creating the jobs is too much manual work, yo

Re: Building

2012-06-15 Thread Aaron Ten Clay
ct B on a >>> schedule to run three times a day. For extra credit, I’d check the SCM to >>> see if anything has changed since the previous build and skip the build if >>> that’s the case. >>> >>> ** ** >>> >>> --Rob**** >>&g

Re: Building

2012-06-15 Thread Lewis
oups.com] *On Behalf Of *Lewis >> *Sent:* Thursday, June 14, 2012 4:11 PM >> *To:* jenkinsci-users@googlegroups.com >> *Subject:* Re: Building >> >> ** ** >> >> Rob, >> I have two different types of builds. One uses some prebuilt packages >> ("

Re: Building

2012-06-14 Thread Aaron Ten Clay
; jenkinsci-users@googlegroups.com] *On Behalf Of *Lewis > *Sent:* Thursday, June 14, 2012 4:11 PM > *To:* jenkinsci-users@googlegroups.com > *Subject:* Re: Building > > ** ** > > Rob, > I have two different types of builds. One uses some prebuilt packages > ("Pr

RE: Building

2012-06-14 Thread Mandeville, Rob
-users@googlegroups.com] On Behalf Of Lewis Sent: Thursday, June 14, 2012 4:11 PM To: jenkinsci-users@googlegroups.com Subject: Re: Building Rob, I have two different types of builds. One uses some prebuilt packages ("Project A") and the other builds everything including those package

Re: Building

2012-06-14 Thread Lewis
Rob, I have two different types of builds. One uses some prebuilt packages ("Project A") and the other builds everything including those packages that are prebuilt ("Project B"). Since Project B takes more time to build I don't want to run it very often. I have Project A polling the SCM and bu

RE: Building

2012-06-14 Thread Mandeville, Rob
Could you have step 1 of project B be ‘Sleep for eight hours’? If project A builds again, that will put one more B job on the queue, but only one more (you can’t have more than one job of a project with the same parameters in the queue at the same time). Maybe if you explained your goals more

Re: Building Jenkins

2012-06-12 Thread Esben Rugbjerg
Hi, I have the same problems. Did anyone manege to solve them ? Regards Esben On Tuesday, January 24, 2012 10:47:06 PM UTC+1, Etienne, Stephane wrote: > > This may not be the most appropriate list for these but here it goes > anyway. In an effort to debug and better understand some issues we a

Re: Building but there is no change in repository

2012-05-16 Thread Sami Tikka
I see you have multiple branches in the repo. When you set the branches to build to a wildcard, Jenkins will build once every matching branch and then sit and wait for any branch to receive new commits. -- Sami Pete Long kirjoitti 13.5.2012 kello 23.22: > Hi Sami > > Basically I followed th

Re: Building but there is no change in repository

2012-05-13 Thread Pete Long
Hi Sami Basically I followed the instructions as per the book Repository URL=> git://github.com/PeteLong/game-of-life.git Branch Specifier (blank for default):=> ** I trust this is the info you wanted. Pete On May 13, 7:15 pm, Sami Tikka wrote: > Wh

Re: Building but there is no change in repository

2012-05-13 Thread Sami Tikka
Which branch did you configure in your job? -- Sami Pete Long kirjoitti 13.5.2012 kello 19.11: > Hi > > I going through the “Jenkins – The Definitive Guide” to basically > learn about this tool. I am finally able to configure a new maven job > to build the project, > > git://github.com/PeteLo

Re: Building but there is no change in repository

2012-05-13 Thread Pete Long
Build is now being triggered by detection of changes in the repositiry BUT I can't explain why it is working now and not before as I have no changes. Maybe small gremlins at work that will surface sometime later .. but for now all is good, Pete On May 13, 5:11 pm, Pete Long wrote: > Hi > > I goi

Re: Building a JAR File

2012-02-26 Thread Didier Durand
Agreed with David Just reuse your usual tools in your jenkins script: for example, if you use Ant, there is a very simple Ant task to build jar Look it up at : http://ant.apache.org/manual/Tasks/jar.html regards didier On Feb 26, 9:24 pm, David Weintraub wrote: > On Sun, Feb 26, 2012 at 8:09

Re: Building a JAR File

2012-02-26 Thread David Weintraub
On Sun, Feb 26, 2012 at 8:09 AM, Ted Jansen wrote: > Hello, > > This may be a noob question. > How can i build a jar file from jenkins from the workspace folder of a > project? How do you build jars without Jenkins? For example, are you using Ant or Maven for your build process? If you are, all y

Re: Building a JAR File

2012-02-26 Thread Mark Streit
I should have clarifed that by the term "workspace"I am referring to the workspace that Jenkins creates UPON running the job and checking out the source code from whatever source code repository you are using Based on how the build job is definedthis might be an Ant build.xml that runs

Re: Building a JAR File

2012-02-26 Thread Les Mikesell
On Sun, Feb 26, 2012 at 7:09 AM, Ted Jansen wrote: > > This may be a noob question. > How can i build a jar file from jenkins from the workspace folder of a > project? > Jenkins doesn't build something in 'your' workspace folder. You commit to a version control system, and jekins automates check

Re: Building a JAR File

2012-02-26 Thread Ted Jansen
Bukkit haves an automatic builder. 2012/2/26 Sami Tikka > Then Jenkins is not the tool for you. Jenkins does not have any jar > file building features. If you have a script or command that builds a > jar file, you can make Jenkins execute it but building-jar-files is > not a built-in feature of

Re: Building a JAR File

2012-02-26 Thread Sami Tikka
Then Jenkins is not the tool for you. Jenkins does not have any jar file building features. If you have a script or command that builds a jar file, you can make Jenkins execute it but building-jar-files is not a built-in feature of Jenkins. I suggest you study the tools called "jar" or "ant". I my

Re: Building a JAR File

2012-02-26 Thread Ted Jansen
i just wanna build from some files automatic a jar file 2012/2/26 Sami Tikka > Hmm... The obvious answer is: "Exactly the same way you would build a > jar file without Jenkins. Jenkins does not affect building jar file > any way." > > Because of that, you must mean something else. Maybe you coul

Re: Building a JAR File

2012-02-26 Thread Sami Tikka
Hmm... The obvious answer is: "Exactly the same way you would build a jar file without Jenkins. Jenkins does not affect building jar file any way." Because of that, you must mean something else. Maybe you could tell us more about what you are doing and what seems to be going wrong? Exact error mes

RE: Building multiple jobs

2012-02-10 Thread Kuntz, Scott
Hi Sami, We are using TFS 2008. Thanks, Scott From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sami Tikka Sent: Friday, February 10, 2012 10:55 AM To: jenkinsci-users@googlegroups.com Subject: Re: Building multiple jobs You did not say which SCM

Re: Building multiple jobs

2012-02-10 Thread Sami Tikka
You did not say which SCM you use, but some of the SCM plugins allow you to configure excluded areas that should be ignored when considering what has changed. -- Sami "Kuntz, Scott" kirjoitti 10.2.2012 kello 17.15: > I should also say, this is for .net. > > From: Kuntz, Scott > Sent: Fri

RE: Building multiple jobs

2012-02-10 Thread Kuntz, Scott
I should also say, this is for .net. From: Kuntz, Scott Sent: Friday, February 10, 2012 10:03 AM To: 'jenkinsci-users@googlegroups.com' Subject: Building multiple jobs In our current structure, we have a project folder and in that project folder, we have multiple applications. Many of these appl