Re: How to get a System Groovy Script in Git

2021-02-15 Thread 'Dirk Heinrichs' via Jenkins Users
Am Montag, den 15.02.2021, 13:01 -0800 schrieb Amedee Van Gasse: > Would I need another configuration before that? In "Source Code > Management"? Yes. Just add the it repo containing your script there (as you would do in any other job) and change the System Groovy Script step to use the script

How to get a System Groovy Script in Git

2021-02-15 Thread Amedee Van Gasse
Someone here at the company wrote a "System Groovy Script" that runs as a nightly job on master. The code of the script, all 100 lines of it, is directly in the job configuration in the web interface. I would like to get that code in a git repository, so that it's easy to roll back if needed,

Re: Multibranch Pipeline git events on PR

2021-02-15 Thread Mark Waite
The multibranch pipeline implementation on one or more of the branch providers intentionally narrows the refspec of the repository while cloning it into the workspace. The narrowed refspec usually includes only a single branch so that git does not waste effort retrieving changes that are not

Re: Multibranch Pipeline git events on PR

2021-02-15 Thread Ivan Fernandez Calvo
Check if you have set git references on the job, IIRC the git plugin always make a `git fetch —all` El lunes, 15 de febrero de 2021 a las 10:49:21 UTC+1, Rishi Gautam escribió: > anyone has any idea please > > On Wed, Feb 10, 2021 at 4:16 PM Gautam, Rishi > wrote: > >> I was trying to carry

Re: Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-15 Thread Ivan Fernandez Calvo
Remember that JNLP agents do not update the remoting jar if are not configured to do that, on Jenkins Core 2.248 there is a change on the remoting version, I bet you can bump the version to 2.247 without issues. To upgrade to 2.248+ you would need to upgrade the remoting jar on the JNLP

How to remove CVS plugin ? / Bundeled plugins

2021-02-15 Thread mj1414...@gmail.com
Hello, the CVS plugin 2.11 has security warnings: - CSRF vulnerability - XXE vulnerability I don't see an update and it is* "This plugin is up for

Re: Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-15 Thread mj1414...@gmail.com
Hello, although I found nothing in the LTS upgrade guide... Did you get the current slave.jar from the new master ? Otherwise you might have a compatibility issue between new master and old slaves, Regards Martin Minimos schrieb am Montag, 15. Februar 2021 um 14:30:53 UTC+1: > So I rolled

Re: Git Exclude Region in Multibranch Pipeline Job Not working

2021-02-15 Thread Mark Waite
The git plugin provides some capabilities that are used in Freestyle projects but are not usable or are not the best choice when using a multibranch pipeline. Path restrictions is one of those capabilities. Rather than using the path restrictions from inside the checkout step in the Jenkinsfile,

Change of Blue Ocean credential.

2021-02-15 Thread Amit Kumar
Blue Ocean plugin creates an ssh key unique to the domain of gitlab or any other platform while creating a new pipeline. Is it possible to change this key to our own liking? If so then HOW? I replaced private key of SSH key present in blue ocean key domain and it did not work. I would

Re: Jenkins Upgrade 2.235.1 to 2.263.3 All Nodes Can't Connect

2021-02-15 Thread 'Minimos' via Jenkins Users
So I rolled the version back and the issue has gone away. I will need to do a incremental upgrade of the WAR to find out which version breaks the functionality On Friday, 12 February 2021 at 15:13:30 UTC Minimos wrote: > > Thanks I'll take a look at the information. > > I am using .Net 4.5 so

Git Exclude Region in Multibranch Pipeline Job Not working

2021-02-15 Thread Ven H
I have a GitHub repository and a multi-branch pipeline job. I am trying to exclude some paths from triggering builds, but can't get it to work. Any help would be appreciated. Here are the details. GitHub URL: https://github.com//.git The project has App, DB and Config. DB and Config folders are

Re: Multibranch Pipeline git events on PR

2021-02-15 Thread 'Dirk Heinrichs' via Jenkins Users
Am Mittwoch, den 10.02.2021, 16:16 +0545 schrieb Gautam, Rishi: > I was trying to carry out git operations on any other branch than the > PR source/destination branch in a jenkins multibranch pipeline.When I > scanned the branches inside the PR build job, I didn't see any other > branches. I only

Re: Multibranch Pipeline git events on PR

2021-02-15 Thread Gautam, Rishi
anyone has any idea please On Wed, Feb 10, 2021 at 4:16 PM Gautam, Rishi wrote: > I was trying to carry out git operations on *any other branch *than the > PR source/destination branch in a jenkins multibranch pipeline. > When I scanned the branches inside the PR build job, I didn't see any >