Re: Pipeline: Transfer files via SSH

2016-06-06 Thread Sverre Moe
Using the following with ssh I can disable host key verification ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@server. company.com also scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no *.rpm r...@server.company.com:/tmp Warning: Permanently added 'server.co

Re: Sharing git repos amongst multibranch workspaces?

2016-06-06 Thread Jonathan del Strother
I can't figure out how I might use Jenkinsfile to specify options on the initial clone operation - AFAICT, the clone occurs before any steps in my Jenkinsfile pipeline take place, right? With the multibranch plugin, I can only seem to control options on the checkout. Am I missing something?

Re: Pipeline: Building downstream dependencies

2016-06-06 Thread Sverre Moe
Apparently there are Flyweight and Heavyweight Executors. Flyweight runs on the master, while the node step runs on the slave matching the label. > When you run a node step: > >- > >A regular heavyweight executor is allocated on a node (usually a >slave) matching the label expre

Re: Does the Jenkins Manage Plugins page display a warning if a plugin has a missing dependency?

2016-06-06 Thread Stephen Connolly
Manual upload completely bypasses the dependency handling. On Sunday 5 June 2016, wrote: > Please note that if you have installed plugins manually by downloading the > .jpi file into the $JENKINS_HOME/plugins folder before starting jenkins, > then dependency resolution is not automatically perfo

ERROR: Processing failed due to a bug in the code

2016-06-06 Thread Niveditha Murali
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-us...@googlegroups.comjava.lang.RuntimeException : java.io.IOException: Failed to create a temp file on /apps/dftjenkins/jenkins_node/wo

Jenkins release build without new release

2016-06-06 Thread Christa Reitsamer
I'm configuring Jenkins (2.6) with Subversion (TortoiseSVN 1.9.4), Maven (3.3.9), JDK 1.8.0_91 and Artifactory (4.7.6). Till yesterday we used an older version of Artifactory on an other, separated server. Yesterday I installed the new Artifactory and imported the whole system information from

Need help Jenkins not working after OS X upgrade

2016-06-06 Thread Vivek Patil
Hi, I am using my jenkins on mac and I have upgraded my Mac from Yosemite to El Captain, and it causes http://localhost:8080 This site can’t be reached It was working fine before upgrade. Please help me out on very high priority. -- Thanks and Regards, Vivek Patil Senior IT Engineer --

Re: Pipeline: Transfer files via SSH

2016-06-06 Thread Sverre Moe
I could perhaps circumvent this problem by adding the build users public key from each slave node to authorized_keys on the server. Then I would not need to use the credentials on Jenkins. However I see that only as a fallback option. Best approach would be to use authentication from Jenkins Cr

jenkins sequential job

2016-06-06 Thread crltzn07
Hi, I have this scenario: Job A=checkout the code and build (with a parameters of the svn branch) Job B=will stop the java of the application server (with a parameters application server name) Job C=deploy the ear that job A build Job D=start the application server I already create each

Re: jenkins sequential job

2016-06-06 Thread Sverre Moe
The Build Flow Plugin could build all those jobs in sequence. However it is now deprecated in favor of Jenkins Pipeline. https://github.com/jenkinsci/pipeline-plugin You could create a pipeline/workflow that will build each your jobs in sequence. Or you could use the Promoted Builds Plugin http

Re: Moving a job to a Folder

2016-06-06 Thread kumar naresh
Hi Daniel, could you please let me know exactly how to create a jenkins folder job using groovy script. Regards, Naresh. On Friday, August 21, 2015 at 12:42:40 AM UTC+5:30, Daniel Serodio wrote: > > We use this Groovy script to move jobs to folders, maybe you can use it as > a starting point f

Re: Moving a job to a Folder

2016-06-06 Thread Sverre Moe
import com.cloudbees.hudson.plugins.folder.Folder def jenkinsInstance = jenkins.model.Jenkins.getInstance() def newProject = jenkinsInstance.createProject(Folder.class, "my-folder-project") mandag 6. juni 2016 15.17.13 UTC+2 skrev kumar naresh følgende: > > Hi Daniel, > > could you please let m

How to fix exception 'Could not create rootDir ' ?

2016-06-06 Thread David Aldrich
Hi I see exceptions similar to the following in our Jenkins system log. We are running Jenkins 1.656. I could add this to the issue tracker but wanted to check here first, as I am not sure which component is at fault. Best regards David java.lang.RuntimeException: Could not create rootDir

Re: Does the Jenkins Manage Plugins page display a warning if a plugin has a missing dependency?

2016-06-06 Thread Slide
Not anymore, in very recent versions, the dependencies will be downloaded and installed see https://github.com/jenkinsci/jenkins/pull/2239 On Mon, Jun 6, 2016 at 1:59 AM Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Manual upload completely bypasses the dependency handling. > > On

Making Job from Failure to Aborted

2016-06-06 Thread Kristian
Hey guys, I have this problem. We have several projects, which have a script, which starts the build process of the project. This script is called build.sh (builds are made on Linux). Some of these build scripts need some parameter. As I do not want always write ./build.sh Paramter1 Parameter2,

Re: plugin dependencis

2016-06-06 Thread Daniel Beck
> On 01.06.2016, at 09:46, Tali Helfman-Beniamin wrote: > > Did anyone experienced such problem? Should have been fixed a few versions ago. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving e

Re: Jenkins release build without new release

2016-06-06 Thread Baptiste Mathus
Do you a maven job type, or a freestyle one. If the first, then you might want to try using a freestyle job instead as a first debugging step. My 2 cents Le 6 juin 2016 1:28 PM, "Christa Reitsamer" a écrit : > I'm configuring Jenkins (2.6) with Subversion (TortoiseSVN 1.9.4), Maven > (3.3.9), JD

Windows Command Line to get jenkins verion

2016-06-06 Thread developer . goran
How do you get the current jenkins version from command line windows when running it via "java -jar jenkins.war"? Thank you! -- 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, sen

Re: Can't post file to paramaterised build

2016-06-06 Thread Daniel Beck
> On 06.06.2016, at 08:01, Beau Henderson wrote: > > Any insight you folks might be able to shed would be appreciated! Unless the anonymous user has read access to your job, you need to do Basic authentication. -- You received this message because you are subscribed to the Google Groups "Je

Re: Windows Command Line to get jenkins verion

2016-06-06 Thread Daniel Beck
> On 06.06.2016, at 19:00, developer.go...@gmail.com wrote: > > How do you get the current jenkins version from command line windows when > running it via "java -jar jenkins.war"? See https://yourjenkins/cli/command/version -- You received this message because you are subscribed to the Google

Re: Windows Command Line to get jenkins verion

2016-06-06 Thread developer . goran
Hi Daniel, i tried that already. I have a jenkins.war, no jenkins-cli.jar When i try to do it with the .war i get a java invocation error. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving email

Re: reg:git clone using additional behaviors

2016-06-06 Thread Roksolana
Long Path Tool” is very helpful for this error ! You can use to solve this problem 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+unsubs

Re: Windows Command Line to get jenkins verion

2016-06-06 Thread Daniel Beck
> On 06.06.2016, at 19:21, developer.go...@gmail.com wrote: > > Hi Daniel, i tried that already. > > I have a jenkins.war, no jenkins-cli.jar > Oops. My bad. If you don't want to start Jenkins to see what version jenkins.war is (defining a throwaway JENKINS_HOME), you can just open the war f

One master repo for a bunch of projects

2016-06-06 Thread Sam S
The repo layout wasn't my idea and it's something I have to accept. I'm trying to figure out how to deploy code for a bunch of modules that are grouped into one Git repository. Depending on what changed, I want to deploy the modules that were changed and not have to re-deploy ones that weren't

Re: Can't post file to paramaterised build

2016-06-06 Thread Beau Henderson
Brilliant. Thanks! On Monday, June 6, 2016 at 4:01:35 PM UTC+10, Beau Henderson wrote: > > Hello, > > I'm trying to kick off a build that will process a .csv. I can manually > kick this off without issue from within the Jenkins interface but I'm > having trouble kicking it off remotely. Here's m

Re: Using Coverity plugin

2016-06-06 Thread dharavath hemanth
Can anyone please explain me setting up coverity in jenkins. Thats will really help me.thank you On Monday, 10 November 2014 00:15:52 UTC-8, Shobha Dashottar wrote: > > Awesome !! This worked. Thanks a lot > > On Friday, November 7, 2014 6:34:26 PM UTC+5:30, rginga wrote: >> >> Yup, you need to

Re: Need help Jenkins not working after OS X upgrade

2016-06-06 Thread Vivek Patil
Got Solution, thanks https://issues.jenkins-ci.org/browse/JENKINS-30999 On Monday, 6 June 2016 17:12:49 UTC+5:30, Vivek Patil wrote: > > Hi, > > I am using my jenkins on mac and I have upgraded my Mac from Yosemite to > El Captain, and it causes > http://localhost:8080 > This site can’t be reach