Re: Wrong output on .../job/*/maven

2019-03-18 Thread Cyrille Le Clerc
Hi Aaron, - Why do I sometimes get duplicate artifacts? They are not duplicated on > disk. In the console log, I just see a single invocation of > artifactsPublisher but sometimes, it reports the same artifact several > times. Can you share the Jenkinsfile and the logs of your build? Usually

Re: Jenkins Performance loading slow

2019-03-18 Thread Victor Martinez
There are a couple of interesting articles/presentations to configure the JVM accordingly, see the below reply: - https://groups.google.com/d/msg/jenkinsci-users/T7F9FHzSYtY/xq5k9JdjBAAJ Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

JRE version requirement

2019-03-18 Thread Basil Crow
Per the "Upgrading Jenkins Java version from 8 to 11" page [1]: > All agents must be running on the same JVM version as the master (because of > how masters and agents communicate). If you're upgrading your Jenkins master > to run on Java 11, you also need to upgrade the JVM on your agents. Per t

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I added the following item: Git for Windows Installation and Windows Certificate Stores On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote: > > That's a very useful result. Thanks for discovering it. Would you be > willing to put a note into the git plugin wiki page describing wh

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
Yeah sure. That's a good idea. On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote: > > That's a very useful result. Thanks for discovering it. Would you be > willing to put a note into the git plugin wiki page describing what you saw > and how to resolve it? > > We've had other su

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread Mark Waite
That's a very useful result. Thanks for discovering it. Would you be willing to put a note into the git plugin wiki page describing what you saw and how to resolve it? We've had other surprises like that (credentials manager, for example), and the wiki page has been a good place to put the infor

Re: Containerized Jenkins master and agents

2019-03-18 Thread Daniele Riccucci
Hello, thank you for the reply. I did try, however there are a few reasons why that didn't work for me: * the jnlp-agent-docker, being based on openjdk at its root, doesn't have several build tools more readily available on other images * the agent specifically has the jnlp-slave built-in w

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I figured out why this was happening. It's user error :-). When installing git for windows, make sure to use "Use the native Windows Secure Channel library" option during installation. On Saturday, March 16, 2019 at 12:15:51 PM UTC-4, t3knoid wrote: > > I have a new Jenkins server that has not

Wrong output on .../job/*/maven

2019-03-18 Thread Aaron Digulla
I have three projects in my example, A, B and C. A is built on another Jenkins PROD. It's deployed to Nexus. B depends on A. It's built on Jenkins TEST. C depends on B. It's also built on Jenkins TEST. All three projects have a SNAPSHOT version. The web page .../job/*/maven of B shows me: - A

Parameter parameter on the basis of other parameter

2019-03-18 Thread Pratik Jain
Need help with Build with Parameter. I am having let say 4 features[Features 1,2,3,4]. Each feature is having n number of scenarios. What I want is if user select feature 1 and 2 then display only scenarios of feature1 and 2 of user to selection. I know about Active choice parameter but it is

RE: How to Trigger back the Jenkins job from the job who triggered it?

2019-03-18 Thread Daniel Butler
I’m assuming you’re meaning freestyle jobs? Usually you’d have a parameter in Job X with the upstream job name that you can then use in the Parameterized Build Trigger to pass the parameter to Job X. What will be in place however to stop this ending up in a build loop? Otherwise Job B is going

How to Trigger back the Jenkins job from the job who triggered it?

2019-03-18 Thread Ramdinesh J P
[image: jenkins_job.PNG] Here, three different jobs triggers the JOB X. Requirement is, on completion of JOB X, it should trigger back the job who triggered it. For example, if JOB X is triggered by JOB B, it should trigger back only the JOB B. Things I have tried: 1. I have used

Re: Security - Pipeline parameterized credentials can be reused by other users

2019-03-18 Thread kuisathaverat
Multibranch pipeline with defaults https://plugins.jenkins.io/pipeline-multibranch-defaults and Pipeline Github plugin https://github.com/jenkinsci/pipeline-github-plugin the first allow you to set a Jenkinsfile by default on Multibranch projects so you can have the Jenkinsfile outside of the proj

Re: Containerized Jenkins master and agents

2019-03-18 Thread nicolas de loof
Hi. Why do you use some "jnlp-agent-docker" agent as you then switch to another one, based on a docker image ? Why not just use the later for the whole build ? Le lun. 18 mars 2019 à 07:20, Daniele Riccucci a écrit : > Hello, > I recently switched to running Jenkins from host machine to a docke