speed your Jenkins by an adapter of Jenkins update center

2019-11-13 Thread Rick
Hi all, An adapter of Jenkins update center. ## Why Jenkins downloads the plugins by parsing the JSON file which comes from a update center. One thing that you might already noticed is about the speed of downloading. Accessing a global storage for everyone could be slow although there're many [m

How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-13 Thread Ramesh Mari
Hello guys, This task might have one challenge to you, the question is simple but the implications is very tricky. Please refer the below questions. Requirements - jenkins groovy scripts Folder copy one location to another location via jenkins.instance. There is method call items.move it doe

How to force Jenkins server to initiate bat file execution on remote machine.

2019-11-13 Thread Yuriy Logvinov
Hi All. Actually problem is only in this how Jenkins can initiating execution bat -file for remote Windows client (or sh for *nix client).? Jenkins server running on CentOS. remote client - Windows 10. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

AW: How to force jenkins to use $JAVA_HOME/ instead of $JAVA_HOME/jre?

2019-11-13 Thread Herrn, Marco
Hello Mark, yes, it is running on the master. We only have a master to don’t run any agents. You write: Fix the environment in the script that launches the Jenkins master so that it uses the JDK you want instead of the JRE it is actually using now. That may require that you change the value of

Re: How to force jenkins to use $JAVA_HOME/ instead of $JAVA_HOME/jre?

2019-11-13 Thread Mark Waite
On Wed, Nov 13, 2019 at 6:30 AM Herrn, Marco wrote: > Hello Mark, > > > > yes, it is running on the master. We only have a master to don’t run any > agents. > > > > You write: > > *Fix the environment in the script that launches the Jenkins master so > that it uses the JDK you want instead of the

Re: Multibranch Pipeline: Checkout fatal bad object

2019-11-13 Thread Sverre Moe
It seems the fatal bad object comes from the checkout of the Shared Library at the beginning of the pipeline. Loading library pipeline@master > git fetch --no-tags --progress -- > ssh://g...@git.company.com/tools/jenkins-pipeline-scripts.git > +refs/heads/*:refs/remotes/origin/* Checking o

Jenkins throwing errors sporadically on running job and saving configurations

2019-11-13 Thread trung tran
We are running jenkins version 2.191 and sporadically we would get the error below on running jobs and saving configurations. Stack trace net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of init at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java

Upload jars or Bundle to Nexus using Jenkins Job and some repository are not uploading the jars or bundle to Nexus

2019-11-13 Thread SARDARNI NK
Hi All, I have a Jenkins job which takes multiple parameters, one of the Parameter we have the Name: repository with choice (xxx_snapshots_xxx, xxx_releases_xxx, xxx_thirdParty_xxx ) which basically repository to upload. In Jenkins Job, we have Build Environment step with conditional steps(

Upload jars or Bundle to Nexus using Jenkins Job and some repository are not uploading the jars or bundle to Nexus

2019-11-13 Thread Yilmaz Gunduzalp
Do you get any errors? It could be a ssl certificate issue -- 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. To vie

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-11-13 Thread Craig Rodrigues
Michael, I tried following your blog post: https://jenkins.io/blog/2019/01/07/webhook-firewalls/ I did the following additional steps not in your blog post using a Jenkins 2.190.2 server: 1. I configured the smee endpoint, https://smee.io/myendpoint 2. I ran the smee client, which just si

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-11-13 Thread Michael Neale
Hrm - I didn't need to do anything like that, no. Unless something has changed since I tried it, I was using a very stock setup with the github plugin etc, and it worked fine if I setup the pipeline as a github source type. On Thu, Nov 14, 2019 at 9:02 AM Craig Rodrigues wrote: > Michael, > > I

How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-13 Thread James Nord
this is not as simple as it sounds. first off a disclaimer CloudBees (my employer) as a proprietary feature that does this. the reason it is not simple is each job type may have special folders. then you have builds which again may have artifacts may have special files etc etc... trust me th

AW: How to force jenkins to use $JAVA_HOME/ instead of $JAVA_HOME/jre?

2019-11-13 Thread Herrn, Marco
That’s unfortunate. But many thanks for your help. BR Marco Von: jenkinsci-users@googlegroups.com Im Auftrag von Mark Waite Gesendet: Mittwoch, 13. November 2019 15:40 An: Jenkins Users Betreff: Re: How to force jenkins to use $JAVA_HOME/ instead of $JAVA_HOME/jre? On Wed, Nov 13, 2019 at 6