Getting error while running jenkins war in command prompt

2018-08-05 Thread sreedevivasudevan91
I have installed jdk 8 and set path in system variable. I am getting below error and might be because of that not getting user password to login to local host. my error are below: Error injecting constructor, java.lang.NoClassDefFoundError: hudson/tools/JDK Installer$FileSystem at

Re: Can i run master and slave on same machine

2018-08-05 Thread Nehal Abdelhafez
can you just tell me how i can run master and slave on the same machine i have install and run a master and i cant make the slave join it gives error "file avaliable " thanks in advance On Wednesday, June 27, 2012 at 4:26:03 PM UTC+2, Mark Waite wrote: > > The simplest answer to your "Can I

Poll Mailbox Trigger Plug-in not working

2018-08-05 Thread Kuppam Bhanuchandar
Hi , I am using Poll Mailbox Plug-in , Test connection showing error like, Please Help me to resolve this issue Connecting to the mailbox... Error : javax.mail.MessagingException: Connection reset; nested exception is: java.net.SocketException: Connection reset at

Re: Is it possible to build and test 50 similarly named Github repos with a singe job?

2018-08-05 Thread Ted Cowan
Thank you for your suggestions. I am new to Jenkins, but I did look at the Pipeline approach with a Jenkinsfile. It occurred to me that an "innocent" student might choose to change the content of the file. That might not be a good thing. I am also concerned that the Github Organization plugin

Re: Is it possible to build and test 50 similarly named Github repos with a singe job?

2018-08-05 Thread Mark
Multipipeline branch options the way to go here. But Buck the bugs answer a few down might help you create multiple stages from a flat file of your students names to help you create the branches. https://stackoverflow.com/questions/42837066/can-i-create-dynamically-stages-in-a-jenkins-pipeline

Re: Is it possible to build and test 50 similarly named Github repos with a singe job?

2018-08-05 Thread Mark Waite
I think you're making your life more difficult than it needs to be. The "GitHub Organization" plugin is no longer being developed because the "GitHub Organization" project functionality has been included in other plugins. The "GitHub Organization" project type is alive and working very well for

Deploy HTTPS certificates for VM on all nodes

2018-08-05 Thread Francois Marot
Hello Jenkins users, I used to have multiple Jenkins pipeline jobs (multibranch) running on miscellaneous nodes (Windows and Linux). Everything was fine. My jobs were configured to use a specific JVM identified as "*java-8*": - declared only once in JDK installations sections (and downloaded

Re: How to configure workspace on the Jenkin

2018-08-05 Thread Martin d'Anjou
> > is there a way to access the workspace after termination of the pod. If you need the workspace to persist after the build and be available to other agents, you can use the External Workspace Manager Plugin .

jenkinsfile

2018-08-05 Thread Konstantin Raskoshnyi
Hello, Is there anyway to return env variables from a job? It works fine in pipeline, but with jenkinsfile scm pipeline I can't def variable inside steps. This works fine inside pipeline: stage('pre') { build job: 'Test1' } stage('main') { def result = build

Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2018-08-05 Thread Nick Mellor
the problem appears to be hudson.slaves.EnvironmentVariablesNodeProperty.class passed as a parameter, but which can't be serialised. On Monday, 6 August 2018 11:24:34 UTC+10, Nick Mellor wrote: > > Just to be clear: I had working code in Jenkins 2.19 that looked like this: > > def

Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2018-08-05 Thread Nick Mellor
Just to be clear: I had working code in Jenkins 2.19 that looked like this: def appVersion(String app, incrementPatch = true) { assert app.toLowerCase() in ['appName'], "No such project implemented: '$app'" def version = [ elms: env.VERSION_OVERRIDE, lacm:

Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2018-08-05 Thread Nick Mellor
Hi Zilla, this doesn't work for me. I get: java.io.NotSerializableException: hudson.slaves.EnvironmentVariablesNodeProperty Any ideas? Thanks, Nick On Friday, 27 July 2018 01:14:23 UTC+10, ZillaYT wrote: > > I just had to do this to fix it. > > Jenkins instance = Jenkins.getInstance() >

Re: Unexpected withMaven downstream jobs skipping

2018-08-05 Thread Dan Tran
Hi Cyrille My job-C does not have a direct dependency on job-A from Maven perspective for my use case * job-A: a UI build (20 min) * job-B: a server build ( 60 min) * job-C(s): a number of Git repo hosting integration test running in parallel Since the integration tests jobs are

Re: Trigger Jenkins/BlueOcean JOB from Bitbucket when a new tag being pushed

2018-08-05 Thread Rahul Sahotay
Hello : Can you please help me on this ? On Friday, August 3, 2018 at 11:50:56 AM UTC-5, Rahul Sahotay wrote: > > Hello Experts: > > I am trying to trigger BlueOcean pipeline JOB from Bitbucket when a new > tag (release.*) is being pushed. I do have several webhooks on my > bitbucket

Re: How do I trigger jenkins job if a pull request is merged in github

2018-08-05 Thread Ramanathan Muthaiah
On Saturday, August 4, 2018 at 1:36:39 AM UTC+5:30, jsake...@gmail.com wrote: > > I want to use only pullrequestevent, so when a pull request is merged, it > should run a script or hook, which would do all the checks like > if a pull request is merged or not / if teh branch is release or not