Re: All plugins failed to load

2023-12-11 Thread 'Daniel Beck' via Jenkins Users
On Mon, Dec 11, 2023 at 1:13 PM Matew wrote: > Hi All! Good day! > After i have updated my Jenkins version to 2.81, all my plugins failed to > load as image shown, anyone can help on this? > You have _downgraded_ Jenkins to 2.81. Version numbers aren't decimals. 2.81 is more than six years old

Re: 500: Response header too large

2023-10-23 Thread 'Daniel Beck' via Jenkins Users
On Fri, Oct 20, 2023 at 8:38 PM alan.l...@gmail.com wrote: > Sorry to bump, but any ideas? I get the stacktrace hitting the logout > link and a white page, but it never actually logs out. A back button press > puts me back logged into Jenkins. > The logout attempts to clear cookies as they

Re: fresh Jenkins installation does not present the dashboard

2023-07-28 Thread 'Daniel Beck' via Jenkins Users
On Fri, Jul 28, 2023 at 11:21 AM Matthias Apitz wrote: > > * TLSv1.3 (OUT), TLS handshake, Client hello (1): > > it hangs. Sould it says '404 bla not found" > This indicates that something other than Jenkins is broken, so it's a system/environment issue. Fix that first, then try again with

Re: fresh Jenkins installation does not present the dashboard

2023-07-28 Thread 'Daniel Beck' via Jenkins Users
On Fri, Jul 28, 2023 at 10:30 AM Matthias Apitz wrote: > > [2023-07-28 09:50:31][SEVERE][hudson.model.UpdateCenter$DownloadJob run] > Failed to install scm-api > java.io.IOException: Failed to dynamically deploy this plugin > at >

Re: fresh Jenkins installation does not present the dashboard

2023-07-27 Thread 'Daniel Beck' via Jenkins Users
On Thu, Jul 27, 2023 at 10:15 AM Matthias Apitz wrote: > I don't get why I'm not able to get all logs into the configured file > /var/log/jenkins/jenkins.log; my used log configuration is: > > cat logging.properties > .level=DEBUG > DEBUG isn't a legal level. There should be a corresponding

Re: fresh Jenkins installation does not present the dashboard

2023-07-26 Thread 'Daniel Beck' via Jenkins Users
On Wed, Jul 26, 2023 at 11:21 AM Matthias Apitz wrote: > The jenkins server itself is requesting data from two servers in > Internet: > > … > > The first I have no idea, where is this configured. > That's google.com, something set up long ago as an attempt to determine whether there's any

Re: There are no nodes with the label ‘built-in'

2023-05-30 Thread 'Daniel Beck' via Jenkins Users
On Tue, May 30, 2023 at 1:22 PM Torsten Reinhard wrote: > The node´s URL is already URL /manage/computer/(built-in)/ - but it´s > still showing up as "master". > Might be a localization issue. Jenkins translations are often behind, and it looks like we didn't delete those translations when

Re: There are no nodes with the label ‘built-in'

2023-05-30 Thread 'Daniel Beck' via Jenkins Users
On Tue, May 30, 2023 at 11:04 AM Torsten Reinhard wrote: > I´m wondering why I´m still seeing > "master" in the list of all nodes at https:// > ./jenkins/manage/computer/ > Weird. Is that node's URL /manage/computer/(master)/ (i.e, with the parentheses)? If not, that's an agent with the

Re: HTML pages as archived artifacts

2023-01-16 Thread 'Daniel Beck' via Jenkins Users
On Mon, Jan 16, 2023 at 10:00 AM geoffroy...@gmail.com < geoffroy.jabou...@gmail.com> wrote: > you need to relax CSP rules for proper display, as mentioned by Xavier. > The recommended alternative for more than three years is to configure the resource root URL as explained on

Re: Another way to uninstall a plugin?

2023-01-03 Thread 'Daniel Beck' via Jenkins Users
On Tue, Jan 3, 2023 at 4:49 PM zil...@gmail.com wrote: > Thanks. It's a deprecated plugin. I'm trying to uninstall all the > indicated deprecated plugins, but they just keep coming back after a > restart. They are disabled though. > Is it WMI Windows Agents Plugin? Plugins getting re-installed

Re: Copy To Slave plugin error

2022-12-05 Thread 'Daniel Beck' via Jenkins Users
On Mon, Dec 5, 2022 at 1:55 PM ekambaram varathan wrote: > I am using jenkins 2.361.2 version and i have "Copy to Slave" plugin > version 1.4.4 . > … > FATAL: hudson/org/apache/tools/tar/TarInputStream > java.lang.ClassNotFoundException: > hudson.org.apache.tools.tar.TarInputStream… > Please let

Re: The following installed plugins are deprecated: WMI Windows Agents Plugin

2022-11-23 Thread 'Daniel Beck' via Jenkins Users
On Wed, Nov 23, 2022 at 2:26 PM 'christop...@googlemail.com' via Jenkins Users wrote: > And the fact that I have trouble when disabling WMI window agents tells me > there must be a real dependency somewhere, not only implied ones. > I'd expect there to be exceptions logged or other (somewhat)

Re: Warning: The new version of this plugin is marked as incompatible with the installed version.

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 3:03 PM A, Ramkumar wrote: > > > We do not want to upgrade the plugin below thinking it may break the > existing Linux executor configured on Jenkins. Is that true ? > I recommend you try looking at the plugin documentation. If you have done so already, what did you

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 2:54 PM Praju wrote: > Hi , > The above one I am taking as example but actual configuration is: > < python_file> -D&1 2 | tee gen.file.log > above command return "ValueError: No JSON object could be decoded" > but the job build status is showing

Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 2:11 PM Praju wrote: > Hi, > below is my configuration: > > echo "welcome" > echo ${var} ( Note : I am not defined var) > echo "hello" > > expected output status: failure > > output: > > + echo welcome > welcome >

Re: Jenkins selected filtering values in parameter objects

2022-10-27 Thread 'Daniel Beck' via Jenkins Users
On Thu, Oct 27, 2022 at 3:39 PM Chennai Cheetah wrote: > How do I get only selected jenkins information from the API response. > > … > > How do I filter rulesetid,branch details only from the parameter object, > while rest of the parameters are not required in the response. > Work with the XML

Re: HTTPS - works okay, but 2 problems

2022-09-28 Thread 'Daniel Beck' via Jenkins Users
On Wed, Sep 28, 2022 at 12:00 PM James Nord wrote: > jenkins (winstone) can load arguments from a config file in addition to > the command line (--config). > https://github.com/jenkinsci/winstone#configuration-file > > so you can (should be able) to put the password in that file. > > Now if you

Re: Jenkins 2.263.1 broke after upgrading git plugin from 4.7.0 to 4.8.0

2022-08-30 Thread 'Daniel Beck' via Jenkins Users
On Tue, Aug 30, 2022 at 2:15 PM Hamid Gholami wrote: > > com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson > .security.LDAPSecurityRealm at com.thoughtworks.xstream.mapper > .DefaultMapper.realClass(DefaultMapper.java:79) at com.thoughtworks >

Re: Jenkins CI CD pipeline for Auto genarate a Single Executable Windows Installaer (Windows .exe file) from a Angular Electron Desktop Application

2022-08-18 Thread 'Daniel Beck' via Jenkins Users
On Thu, Aug 18, 2022 at 3:30 PM Pritam Roy wrote: > As of now manually we have done thses thing by help of Third party > software in our Windows machine (eg, Inno Setup). But I can't get any clue > that how can we automate these thing under our Jenkins CI CD process. > This process almost

Re: Invalid cert "https://charts.jenkins.io/index.yaml"

2022-06-20 Thread 'Daniel Beck' via Jenkins Users
On Mon, Jun 20, 2022 at 2:01 PM Jorge Quesada wrote: > I paste the proof that the certificates are possibly expired > Well… Not Before: Jun 17 09:40:36 2022 GMT > Not After: Sep 15 09:40:35 2022 GMT > It's June 20. The certs aren't expired. Ask your IT folks to

Re: Where can I find Jenkins System user ?

2022-06-20 Thread 'Daniel Beck' via Jenkins Users
On Sat, Jun 18, 2022 at 9:39 AM yarin kossover wrote: > On Vanilla setup, how can I find the system user ( AKA "Running as > SYSTEM" ) > It's an internal-only user. It allows internal processes in Jenkins to run with full permissions.

Re: Scriptler using GET in Jenkins2

2022-05-19 Thread 'Daniel Beck' via Jenkins Users
On Wed, May 18, 2022 at 10:02 PM adam.l...@gmail.com < adam.l.lev...@gmail.com> wrote: > But the way I read that is as a warning: subject to CSRF problems, be > warned. I don't see any indication that GET has been disabled. > > What am I not seeing? > With publication of the advisory, we

Re: Scriptler using GET in Jenkins2

2022-05-18 Thread 'Daniel Beck' via Jenkins Users
On Wed, May 18, 2022 at 9:01 PM adam.l...@gmail.com wrote: > On Jenkins 1.x we can call scriptlet entries using GET. > On Jenkin 2.x, any GET attempts are being returned with an error that they > must be done via POST > That's a security fix. See

Re: How to create/update Jenkins job via REST API in Java?

2022-04-11 Thread 'Daniel Beck' via Jenkins Users
On Mon, Apr 4, 2022 at 11:13 AM Jon Brohauge wrote: > Whenever I try to POST a job, using a Basic Authentication with the > “username:password” base64 encoded, I get a 403. > Crumbs are session-specific since 2.176.2:

Re: Reasons for workspace cleanup

2022-04-11 Thread 'Daniel Beck' via Jenkins Users
On Mon, Apr 11, 2022 at 2:05 PM Fabian Cenedese wrote: > At 13:53 11.04.2022, you wrote: > > >Workspaces Jenkins considers "unused" are wiped periodically. While this > is intended to be safe, i.e., never delete the last workspace, or > workspaces of running builds, it's not impossible that

Re: Reasons for workspace cleanup

2022-04-11 Thread 'Daniel Beck' via Jenkins Users
Workspaces Jenkins considers "unused" are wiped periodically. While this is intended to be safe, i.e., never delete the last workspace, or workspaces of running builds, it's not impossible that "active" workspaces are caught in rare circumstances. Check the workspace cleanup log in your Jenkins

Re: Plugin update "Jenkins (2.323) or higher required"

2022-03-09 Thread 'Daniel Beck' via Jenkins Users
On Tue, Mar 8, 2022 at 12:44 PM Stefan Coussens wrote: > Hi, > > We are using the LST cycle but this gives issues when I try to update > plugins. > My use case: > > Ansible playbook updates the linux server (and jenkins LST if available) > After that I use an ansible playbook to ( >

Re: Error updating plugins from Jenkins

2021-11-19 Thread 'Daniel Beck' via Jenkins Users
> On 19. Nov 2021, at 20:52, Mark Waite wrote: > > I thought that certificate could be reported when a request is made to the IP > address of an HTTP server hosted in Kubernetes. The Kubernetes server needs > the hostname in order to use the correct SSL certificate (or something like >

Re: Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread Burns, Daniel
Somewhere it states that not all plug-ins support Java 11 also. Daniel R. Burns |Lead Cloud Platform Engineer – Platform Services |[A picture containing clock Description automatically generated] | CFB #2273| Phone: 214-812-2277|Mobile: 469-298-8917|Email: daniel.bu...@vistracorp.com

Re: Resource Root Problem Post Upgrade

2021-11-02 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 2, 2021 at 2:27 AM Matt Wilson wrote: > > Caused by: java.lang.NullPointerException > at > jenkins.security.ResourceDomainConfiguration.checkUrl(ResourceDomainConfiguration.java:174) > at >

Re: Resource Root Problem Post Upgrade

2021-11-01 Thread 'Daniel Beck' via Jenkins Users
On Mon, Nov 1, 2021 at 8:11 PM Matt Wilson wrote: > Logging ID=5d0d5334--4ac8-a484-7deef5d062fa > Check the Jenkins system log for the corresponding error message. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Blue Ocean Status Update

2021-10-18 Thread 'Daniel Beck' via Jenkins Users
On Mon, Oct 18, 2021 at 10:43 AM Oleg Nenashev wrote: > >- Remove Blue Ocean from the list of recommended plugins in Jenkins > > It never was in the setup wizard, just on jenkins.io docs and such. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: Help! I am trying to upgrade from 2.263.1 to 2.303.1

2021-10-05 Thread Burns, Daniel
Calvo mailto:kuisathave...@gmail.com>> wrote: I do not think so the issue seems related to the upgrade not the OS. El 5 oct 2021, a las 21:09, Daniel Burns mailto:daniel.bu...@vistracorp.com>> escribió: Thank you. I wanted to at least respond. This is in DEV so I can definitely tr

Re: Help! I am trying to upgrade from 2.263.1 to 2.303.1

2021-10-05 Thread Daniel Burns
> specific fix. > My guess is that you have a problem with a plugin version, it could be > that it conflicts with another, > or your pipeline needs a specific version of a plugin. > > El viernes, 1 de octubre de 2021 a las 19:51:26 UTC+2, > daniel...@vistracorp.com escribió: > >&

Help! I am trying to upgrade from 2.263.1 to 2.303.1

2021-10-01 Thread Daniel Burns
created the logging.properties file but I don't see anything glaringly obvious there either. Can someone assist, suggest something? Thank you Daniel -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Breaking change in the 'Pipeline: Nodes and Processes'-plugin

2021-09-28 Thread Daniel Beck
On Tue, Sep 28, 2021 at 9:20 AM 'Hildebrand Soethoudt' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Since of this week I see a big red warning infobox next to the latest > update of the 'Pipeline: Nodes and Processes'-plugin (Git repo > workflow-durable-task-step-plugin). > >

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread Daniel Beck
On Mon, Sep 13, 2021 at 5:49 PM Jerome Godbout < jerome.godbout.amo...@gmail.com> wrote: > Humm, that would be hard and security unwise. The executing node path > aren't available to the web. They are in the case of workspace files (to users with appropriate permissions). I think the problem

Re: setting Mailer authentication

2021-09-14 Thread Daniel Beck
See https://javadoc.jenkins.io/plugin/mailer/hudson/tasks/Mailer.DescriptorImpl.html#setAuthentication-hudson.tasks.SMTPAuthentication- -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: SAML plugin 2.0.8

2021-08-31 Thread Daniel Beck
On Tue, Aug 31, 2021 at 5:29 PM Alan Sparks wrote: > I went to upgrade this, and the after-installed one shows the same > security notice in my Jenkins 2.289.3 master. The GitHub Releases shows > 2.0.7 as the current. Was the 2.0.8 release pulled back? > > -Alan > The release has not been

Re: Access rights to end test processes

2021-08-02 Thread Daniel Beck
On Thu, Jul 29, 2021 at 2:13 PM 'christop...@googlemail.com' via Jenkins Users wrote: > Somewhat surprising though and hard to debug as you cant display the > current user name (replaced in the output by '***'). > My guess: A credential is in scope with the same username, and you're on an older

Re: "SSH server" plugin - why?

2021-07-21 Thread Daniel Beck
The SSH server feature used to be part of core (well, a module, but part of the war) and has been moved into a plugin recently. So, functionality wise, nothing changed for you, it's just that now it's visible (and can be disabled). Features are sometimes detached (or split off) from Jenkins core

Re: update 2.289.2 ldap not working

2021-07-14 Thread Daniel Beck
On Wed, Jul 7, 2021 at 3:13 PM vla...@gmail.com wrote: > the config.xml with my old ldap configuration is coming back at each > restart => what is this mechanism? thanks in advance That's not built in. Check for the presence of Groovy hook directories:

Re: Jenkins 2.204.6 Error updating plugins

2021-07-02 Thread Daniel Beck
On Fri, Jul 2, 2021 at 1:52 AM Mark Waite wrote: > > I believe that means Jenkins 2.204.6 plugin updates are no longer > available from the Jenkins update center. > That just means that if a plugin requires a newer core, we'll not advertise older plugin releases compatible with this older core.

Re: Jenkins 2.204.6 Error updating plugins

2021-07-02 Thread Daniel Beck
On Fri, Jul 2, 2021 at 1:42 AM Alex DeMarco wrote: > We have not updated plugins in a while. No matter what plugin I try to > update I get the following error: > java.io.IOException: Download file > :/.jenkins/plugins/script-security.jpi.tmp does not match expected > SHA-256, expected 'a

Re: Out-of-date version(YUI)

2021-05-31 Thread Daniel Beck
> On 30. May 2021, at 03:05, s.p...@gmail.com wrote: > > Affected versions of the package are vulnerable to Cross-site Scripting(XSS) > via .swf files, allowing arbitary code injection into hosting server > CVE-2012-5881 CVE-2012-5883 > While we include YUI, we do not include the

Re: Email extender notification no longer resolve variables in the notification

2021-03-25 Thread Daniel Stubkjær
n has > been the solution. > > Mark Waite > > On Wed, Mar 24, 2021 at 9:18 AM Daniel Stubkjær > wrote: > >> Hello everyone, >> >> last week we upgrade jenkins from 2.263.4 to 2.777.1, >> now we have a problem with email extender plugin(v. 2.80) tha

Email extender notification no longer resolve variables in the notification

2021-03-24 Thread Daniel Stubkjær
Hello everyone, last week we upgrade jenkins from 2.263.4 to 2.777.1, now we have a problem with email extender plugin(v. 2.80) that is not resolving the variabels in the email notification. instead it comes trough as below [image: email notification jenkins.png] besides the upgrade, nothing

Re: RBAC so that users can create projects but not touch other Projects?

2021-02-05 Thread Daniel Beck
On Fri, Jan 29, 2021 at 8:08 PM Rue, Randy wrote: > > Is this possible? So far even in Project-Based Matrix Authorization I > haven't been able to make it work. > It should just work there, one of the many issues I fixed in matrix-auth 2.0 back in 2017. -- You received this message because

Re: JDK8 or JDK11 to be used for Jenkins ?

2021-01-25 Thread Daniel Beck
> On 25. Jan 2021, at 13:37, mj1414...@gmail.com wrote: > > WARNING: Illegal reflective access by > com.thoughtworks.xstream.core.util.Fields > (file:/var/fpwork/ltedlphy/jenkinsCurrent/home/war/WEB-INF/lib/xstream-1.4.7-jenkins-1.jar) > to field java.util.TreeMap.comparator At most

Re: Default Admin API Token

2020-12-08 Thread Daniel Beck
> On 1. Dec 2020, at 11:40, Shahbaz Subedar wrote: > > -Djenkins.install.runSetupWizard="false" > > -Djenkins.install.SetupWizard.ADMIN_INITIAL_API_TOKEN=11b9b3fafe25923768621ca1b64d44bfd1 > You're disabling the setup wizard, and then set an option that is > only used

Re: Jenkins unable to read config.xml: hudson.security.GlobalMatrixAuthorizationStrategy hudson.security.LDAPSecurityRealm

2020-12-07 Thread Daniel Beck
g emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/386a8b43-9864-4a33-8396-3698edb327f9n%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-use

Re: Login Problems with issues.jenkins-ci.org - who to contact?

2020-12-03 Thread Daniel Beck
Looks like an infra issue. I filed INFRA-2835 for a possible explanation. There's nothing you can do about it at the moment. Your accounts, for now, will not work in Jira. Most notably, registering new accounts won't work either. -- You received this message because you are subscribed to the

Re: How to access jenkins using ip address remotely ?

2020-10-21 Thread Daniel Beck
> On 20. Oct 2020, at 07:22, Vaibhav Khachane wrote: > > I am trying to access jenkins using ip address but it is not working . I am > using macOS. > > Following jenkins url working fine > http://localhost:8080/ > http://127.0.0.1:8080/ > http://0.0.0.0:8080/ > > but while using ip adress

Re: How to access jenkins using ip address remotely ?

2020-10-21 Thread Daniel Beck
> On 20. Oct 2020, at 07:22, Vaibhav Khachane wrote: > > I am trying to access jenkins using ip address but it is not working . I am > using macOS. > > Following jenkins url working fine > http://localhost:8080/ > http://127.0.0.1:8080/ > http://0.0.0.0:8080/ > > but while using ip adress

Re: Unauthorized URL redirect via HTTP host poisoning vulnerability with Jenkins

2020-09-25 Thread Daniel Beck
> On 25. Sep 2020, at 23:49, Mohtashim S wrote: > > How do we address this vulnerability of Jenkins? https://www.jenkins.io/security/#reporting-vulnerabilities explains how to report security issues. Please make sure in your report to explain why it is a problem for Jenkins beyond linking

Re: Shell command with (

2020-07-01 Thread Daniel Beck
> On 30. Jun 2020, at 18:27, Jérôme Godbout wrote: > > What the hell is sh is doing? It's not automatically applying your .bash_profile or .bashrc to a standalone script, as such an environment dependency would severely limit the reusability of shell scripts. You need to set the extglob

Re: Upgrading from 2.164.1 to 2.235.1

2020-06-22 Thread Daniel Beck
.(Hudson.java:81) > > at hudson.WebAppMain$3.run(WebAppMain.java:262) > > Caused: hudson.util.HudsonFailedToLoad > > at hudson.WebAppMain$3.run(WebAppMain.java:279) > > Page generated: > > Jun 19, 2020 7:30:09 PM MDT > Jenkins 2.235.

Re: Potential Malware

2020-06-22 Thread Daniel Beck
Thanks for your report. I filed an issue on your behalf in the Jenkins project's private security issue tracker. You should have gotten an email notification from Jira about it. Please provide more information there to help us investigate. > On 22. Jun 2020, at 19:15, Randall Becker wrote: >

Re: Jenkins is not starting

2020-05-10 Thread Daniel Beck
The configuration references the matrix-auth plugin, but it is disabled or failed to load. > On 10. May 2020, at 16:57, Mai Waly wrote: > > Hi All, > > Please advise what happen as Jenkins is no longer starting and showing error, > there is no gui any more. > > > ay 10, 2020 7:48:13 AM

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread Daniel Butler
in the code snippet it should have had a second line: echo output On Fri, Mar 27, 2020 at 1:09 PM Daniel Butler wrote: > If you want to see the bat file output, remove the returnStdOut. You only > need that if you want to assign the output to variable and use it later in > the

Re: I can't get anything to work with bat in pipeline jenkinsfile

2020-03-27 Thread Daniel Butler
If you want to see the bat file output, remove the returnStdOut. You only need that if you want to assign the output to variable and use it later in the pipeline. if you still want it in the logging as well as a variable: output = bat returnStdout: true, script: 'echo %PATH%' On Fri, 27 Mar

Re: Security for team-specific nodes

2020-03-26 Thread Daniel Beck
> On 25. Mar 2020, at 14:25, Roland Asmann wrote: > > Now, I was wondering if it was possible to configure nodes to be only used by > certain people/groups/jobs/..., or even better, have the UI hide them from > people that are not supposed to use them? > > We are currently using

Re: No valid crumb - scm trigger doesn't work since 2.222 - pull 4509

2020-03-09 Thread Daniel Beck
> On 9. Mar 2020, at 13:06, Stölzer Sven wrote: > > it seems that since version 2.222 the scm trigger doesn’t work. > The requested Crumb form jenkins server was correctly included in the post > commit hook see attachment. It's unclear to me what happened here. If Jenkins was already

How do you configure the "Resource root URL" behind a reverse proxy?

2020-02-10 Thread Daniel Schmidt
The question's in the title — how do you actually configure this? We run Jenkins behind NGINX. As a first-pass, I simply added our assets domain as an additional server_name to the previous, working server configuration (which is modeled off of the documentation

Is it possible to log ENV for all pipelines?

2020-01-08 Thread Daniel Schmidt
Hi folks, Many of our Declarative Pipeline jobs start off by printing environment variables, which aids in debugging (should that be necessary). In other words, the first stage of every job includes this step: sh "env | sort" Is it possible to hook this into all pipelines automatically, e.g.

Re: Git Commit Message as an Environment Variable

2019-11-19 Thread Daniel Beck
I have a (never released) plugin that integrates with the Jenkins changelog that does something like this: https://github.com/daniel-beck/changelog-environment-plugin If you know enough Maven to build a plugin, this might work. The problem there is that the Jenkins built-in changelog doesn't

Re: A file read permissions - Jenkins security

2019-10-23 Thread Daniel Beck
rom it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/fc043cad-aa49-4fb6-a552-f2da83c6954c%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/fc043c

Re: Gradle Tool Failed Download

2019-09-25 Thread Daniel Beck
o why would >>>> the gradle installer have a problem? >>>> >>>> I do not like to check in the gradle wrapper files into version >>>> control, but considering it might ease new developers I am beginning to >>>> lean

Re: Jenkins NON-GUI notification of core / plug-in vulnerabilities / warnings and updates

2019-09-24 Thread Daniel Beck
when a previously unseen warning shows up. Probably best done as a PeriodicWork while keeping a list of warnings logged since Jenkins started, to prevent duplicates? On Tue, Sep 24, 2019 at 3:59 PM Eric Engstrom wrote: > > > On Monday, September 23, 2019 at 11:08:58 AM UTC-5, Daniel B

Re: Jenkins NON-GUI notification of core / plug-in vulnerabilities / warnings and updates

2019-09-23 Thread Daniel Beck
Jenkins uses the update center metadata to show applicable warnings. It would be a bit of a hack, and use internals not meant for public consumption, but you could do that, too. See the bottom of https://updates.jenkins.io/update-center.actual.json for the warning definitions. (No complaining if

Re: Gradle Tool Failed Download

2019-09-23 Thread Daniel Beck
On Mon, Sep 23, 2019 at 2:28 PM Sverre Moe wrote: > ERROR: Failed to download > https://services.gradle.org/distributions/gradle-5.6.2-bin.zip from agent; > will retry from master > > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to

Re: Windows slaves continually losing connection

2019-08-05 Thread Daniel Becroft
Thanks Ivan. I checked the .exe version, and it was already the latest. The slave.jar wasn't being updated though, so I've enabled automatic updates on that, and upgraded everything to the latest weekly (2.187). I'll keep an eye on it, and hopefully that's solved the problem. --- Daniel Becroft

Windows slaves continually losing connection

2019-08-05 Thread Daniel Becroft
can't figure out is why the error on startup again is "NoClassDefFoundError", as that indicates a classpath problem, right? I've got a Windows 2008 server agent running a similar job, and it has no similar issues. Cheers, Daniel . -- You received this message because you are

Re: Jenkins Pipeline Maven Plugin - Always skipping downstream job

2019-08-02 Thread Daniel Beck
> On 2. Aug 2019, at 11:49, Cyrille Le Clerc wrote: > > Do you understand why the downstream pipeline is seen as unauthenticated? > Could there be a configuration glitch on your setup? > My guess, not having debugged this further: Pipeline Maven Plugin seems to have copied code from

Re: how to define multibranch pipeline with jenkinsfile from another repository (or hardcoded)?

2019-07-04 Thread Daniel Butler
. There are a few users which have done the parallel repo approach but I'm not myself sure of the details. Regards, Daniel On Thu, Jul 4, 2019 at 1:51 PM Tom Brus wrote: > Hi, > > I have a repos I want to build all branches for (repos-A). > I do not want to put any jenkinsfiles (or any

Re: Pipeline: The sh step does not show all output

2019-05-31 Thread Daniel Saier
You can also use the tee step , which automatically propagates the return codes of the steps inside of the tee. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: scripted pipeline: bash: date -> MissingPropertyException: No such property: ... for class: groovy.lang.Binding

2019-05-02 Thread Daniel Butler
Replace ${mytime} with \$mytime The mytime variable you've created is a bash one. Regards Daniel On Thu, 2 May 2019, 1:16 pm b o b i, wrote: > Jenkins 2.174, in a scripted pipeline the following > > sh """#!/bin/bash >echo "TTT" >

Re: Why does somestring.digest('SHA-1') fail in pipeline

2019-05-01 Thread Daniel Beck
> On 1. May 2019, at 02:11, Slide wrote: > > I don't know what version pipeline is using right now. We're on 2.4.x. And as usual, don't (ab)use pipeline as a general purpose programming environment. It's not intended to be, never was. -- You received this message because you are

Re: shell inside a groovy script doesnt resolve variables ?

2019-04-17 Thread Daniel Butler
Strings using single quotes do not do variable expansion; you must use double quotes to have the variables expand. So: '$var' is the literal string $var "$var" expands to the string value of the variable $var and the same is true for multi line strings ''' $var ''' does not expand

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

2019-03-18 Thread Daniel Butler
is going to trigger Job X which will trigger Job B which will trigger Job X... Regards, Daniel. From: Ramdinesh J P Sent: 18 March 2019 10:20 To: Jenkins Users Subject: How to Trigger back the Jenkins job from the job who triggered it? Here, three different jobs triggers the JOB X. Requirement

Re: Jenkins API token behaviour change (no longer valid with new Jenkins images after Jenkins restart?)

2019-02-07 Thread Daniel Beck
> On 1. Feb 2019, at 14:59, adamrobertsah...@gmail.com wrote: > > we've noticed a problem when upgrading the base Jenkins image beyond 2.153 > however To clarify, the problem occurs from 2.154 on? If you only tried a later release, could you try to determine the release that broke it? --

Re: Sporadic MSBuild errors / possible durable task issue?

2019-01-31 Thread Daniel Becroft
On Fri, Feb 1, 2019 at 2:31 AM Steven Foster wrote: > After updating Jenkins with plugins from early April 2018, I'm seeing > inconsistent failures in my pipelines' calls to MSBuild which I cannot > reproduce outside of Jenkins. It occurs in both powershell and bat steps. > > The error presents

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Daniel Butler
You could use the lockable resources plugin (v2.2+): Set up a single resource for each node and give them all a common label Then your Jenkinsfile would be: lock(label: "common-label", variable: "LOCKED_NODE"){ node(env.LOCKED_NODE){ //build project } } Rega

Docker Plugin Release?

2019-01-30 Thread Daniel O'Brien
The github repo issue tracker said to open discussions here that aren't directly related to the code. Is there anyone we can make a request of to cut a new release for the Docker Plugin? There's fixed merged in in December for the bug we are constantly hitting via the attach method due to

Re: Logins (CAS plugin) not working after upgrading to 2.160 (security)

2019-01-18 Thread Daniel Beck
We documented this issue and a workaround at https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+the+SECURITY-901+fix > On 17. Jan 2019, at 16:32, matthew.web...@diamond.ac.uk wrote: > > I just upgraded Jenkins from 2.159 to 2.160, and then found that I could not > log on to the web

RE: CLI command to start jenkins job with default and overridenparameters

2019-01-10 Thread Daniel Butler
Hi Vicki, According to https://wiki.jenkins.io/display/JENKINS/Parameterized+Build, for buildWithParameters you should use URL query params to pass the values. To use your example: curl -v https://jenkins/job/JobName/buildWithParameters?targ_env=dev --user userName:userToken Regards, Daniel

Re: Need help debugging ChannelClosedExceptions

2018-11-20 Thread Daniel Weber
AWS being in the picture. BR, Daniel Am Freitag, 9. November 2018 04:19:15 UTC+1 schrieb Martin d'Anjou: > > Hi, > > I cannot help directly, but last summer we had a GSoC project to implement > remoting > over Kafka <https://github.com/jenkinsci/remoting-kafka-plugin>as a fau

Re: Need help debugging ChannelClosedExceptions

2018-11-08 Thread Daniel Weber
, Daniel Am Donnerstag, 8. November 2018 13:25:25 UTC+1 schrieb Slava Dubrovskiy: > > Hi Daniel, > > Did you read https://wiki.jenkins.io/display/JENKINS/Remoting+issue ? > 08.11.2018 14:13, Daniel Weber пишет: > > Hi all, > > (Note: This is a copy from my post which was or

Need help debugging ChannelClosedExceptions

2018-11-08 Thread Daniel Weber
terminated the connection - We are currently using Jenkins LTS 2.121.3, Remoting version: 3.21.1 - Both master and agents are running under Windows Server 2012. Any help / hints would be greatly appreciated. I'd also be happy to open an issue if you think it makes sense :) Best Regards, Danie

Re: cannot create user in jenkins

2018-11-06 Thread Daniel Beck
> On 6. Nov 2018, at 20:17, dl...@foghorntx.com wrote: > > Fill in information, click "create user" button. Page appears to refresh but > forms stays, as filled in. Checking elsewhere, there is no user added to the > system. Screenshot: > This is probably a known bug (JENKINS-52869).

Monitoring slaves

2018-10-25 Thread Daniel A
What are you guys using to monitor slaves (uptime, cpu, memory.etc.) I notice many times slaves are powered off and I have jobs failing. A plugin would be very useful but I have not found any yet. Thoughts? -- You received this message because you are subscribed to the Google Groups

Finding URL on the logs and email to a group of users

2018-10-23 Thread Daniel A
Hello, I need to find a URL [www.google.com] on the logs after a build and email it to a group of users [developers]. Note: I would prefer to keep Jenkins running on Windows but if it needs to be running on Linux is fine too. What would be the *simplest* way to achieve this? I am not sure if

Re: Restrict view of certain jobs under folder.

2018-10-19 Thread Daniel Beck
> On 19. Oct 2018, at 19:16, gotviser...@gmail.com wrote: > > We are using https://wiki.jenkins.io/display/JENKINS/Role+Strategy+Plugin > this plugin. Unfortunately, as per this plugin we can only restrict users > from other team to modify the jobs. Cannot completely hide the jobs. Any >

Re: Why is Jenkins suddenly telling me about an old security vulnerability

2018-10-19 Thread Daniel Beck
This is supposed to only show when Jenkins detects an upgrade from 1.495 or older. IIRC, it uses information from the global config.xml to determine that. Any scripting messing with this file could be a possible culprit. I recommend not executing this. I'm not sure whether the format of secrets

Re: Jenkins YUI2 Security Vulnerabilities

2018-09-11 Thread Daniel Beck
> On 24. Jul 2018, at 00:06, Mike Bragg wrote: > > An external team just came in and scanned our environment. One of the things > they found was the YUI scripts we old and had vulnerabilities. I downloaded > the latest Jenkins war file and it had the same 2.9.0 versions with the >

Start multi-branch indexing from SCM notification

2018-09-06 Thread Daniel Becroft
the advantage of triggering downstream jobs when an external changed - is this possible with the branch indexing? (ie run branch indexing, if external changes then run the branch build)? --- Daniel Becroft -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: [CONCURRENT BUILDS] Run on master, run on slave and then sit in queue

2018-08-25 Thread Daniel Butler
If you set the number of executors on both master and slave to 1 that will restrict the number of builds to one per node put a third into the queue. Regards Daniel On Fri, 24 Aug 2018, 12:58 Nati Mirauta, wrote: > Hello, > > I would like to know if there is a way to run a job on ma

Jenkins pipeline build use Jenkins file from current branch that's being built

2018-08-06 Thread Daniel Anechitoaie
Hi, I'm using Jenkins Pipeline job type and I have it build all branches (**) when a push to BitBucket is made. Currently the configuration is inside Jenkins but I'd like to have it inside a Jenkinsfile. >From what I see I need to specify a different repo/branch from where to take that file.

How to use Jenkins pipeline method parameters in Powershell script?

2018-08-03 Thread Daniel Christian Schröter
I ask this question already on https://stackoverflow.com/questions/51622150/how-to-use-jenkins-pipeline-method-parameters-in-powershell-script, but maybe here is someone to help me. I defined the following method in jenkins declarative pipeline, but I am not able to use the variables/output

Re: Plugin Updates for jenkins 1.6x ?

2018-05-17 Thread Daniel Beck
> On 16. May 2018, at 18:17, Torsten Reinhard wrote: > > Wouldn´t it make sense to have an own update-site, where the latest versions > of the 1.6x release are available? We don't consider Jenkins 2.0 to be a major release in the semver sense. It has very little

  1   2   3   4   5   6   7   8   9   10   >