Re: Class paths for Jenkins?

2019-03-12 Thread Slide
Plugins are generally "the" way to add functionality to Jenkins. Without a plugin, it will be difficult to use any jars that you want added to Jenkins. On Tue, Mar 12, 2019 at 12:03 PM Peter Berghold wrote: > was kinda hoping I could solve this without the overhead of a module. And > no there i

Re: Trying to compile docker-plugin -- failure "java: cannot find symbol Messages"

2019-03-26 Thread Slide
Generally speaking, at some level you need to use maven to build the plugin, whether it is your ide that does it for you, or you do it on the command line, but maven must be invoked to build Jenkins plugins. On Mon, Mar 25, 2019, 16:52 Richard Landon wrote: > I see the following 3 error messages

Re: Jenkins upgrade from 2.73.3 to 2.138 deleted all views

2019-03-26 Thread Slide
Please don't hijack threads on the mailing list. Your question is very different from the original question being asked. On Tue, Mar 26, 2019 at 8:37 AM Suguna Sai wrote: > I am using jenkins 2.150.2 while installing npm getting below sub module > error. > > + npm install @angular/cli > npm ERR!

Re: Jenkins is building .sln project but not executing it.

2019-03-26 Thread Slide
If you are running Jenkins as a service, it may be difficult to get a Windows GUI application to run. On Tue, Mar 26, 2019, 11:17 chaitu sp wrote: > I tried building automated jobs for few console applications which are > written in C# and run on Visual Studio. > The Project runs and sends out a

Re: [withMaven] maven linker publisher stop working after upgrade to latest LTS 2.164.1

2019-03-26 Thread Slide
Can you give more information about the failure? On Tue, Mar 26, 2019 at 5:03 PM Dan Tran wrote: > > Hello > > Anyone facing the same issue? downgrade pipeline maven plugin to 3.6.5 > still not helping > > Thanks > > -D > > -- > You received this message because you are subscribed to the Google

Re: Get the status of a particular stage in a previous build, in a Jenkinsfile

2019-03-27 Thread Slide
I have done this using the following code, but was told that this may not work in future versions: @NonCPS def getLastJobInfo(build) { def res = null try { if(build.previousBuild != null) { def resp = httpRequest(quiet: true, url: "${env.BUILD_URL}/${ build.previousBuild.id}/wfapi/de

Re: Passing the vaiable to Email Extension plugin

2019-03-28 Thread Slide
It looks like you might be mixing up some usages..if the variable is an environment variable (and that is the only type that will work in a template), you'd want to do something like this: <% ENV(var:"MYTOOL_VERSION") %> This may only work with the most recent email-ext version. On Thu, Mar 28,

Re: Two builds for PRs

2019-03-28 Thread Slide
This would generally be the branch filter parameter wouldn't it? You'd want to filter on the pr-* and master braches On Thu, Mar 28, 2019, 16:20 Mark Waite wrote: > I thought that was an indication that the GitHub branch source is defined > to both create a job for each branch and for each pull

Re: Two builds for PRs

2019-03-28 Thread Slide
That's correct, it mentions in the help about filtering for PR builds and so forth. On Thu, Mar 28, 2019 at 4:37 PM Tom Duerr wrote: > Slide, thanks for the quick response as well. > Is this the setting you're referring to? > https://imgur.com/f2dDD2v > > > > >

Re: Opinions about aggressive reuse strategy for Jenkins pipelines

2019-04-09 Thread Slide
Sounds like a good system to me. :-) On Tue, Apr 9, 2019 at 9:37 AM David Karr wrote: > I work for a very large organization, on a project with many teams, > working on many microservices, all of which were generated from a > home-grown application template system. Most of the Java-based > micr

Re: How to pass a class instance in a jenkins pipeline script?

2019-04-10 Thread Slide
If you mark the descriptors for the classes with @Symbol, you can use a shorthand to access the steps. You would need to make your Input class a Describable and add a descriptor for it to work for that. On Tue, Apr 9, 2019 at 9:51 PM touseef wrote: > > > On Wednesday, 10 April 2019 09:44:31 UTC+

Re: Under Jenkins SignTool Error "No certificates were found", works fine logged on as user

2019-04-25 Thread Slide
Are the certificates in the certificate store for just the "normal user" or are they installed in the machine store? The Jenkins service, by default, it running as LocalSystemUser. That account would need access to the certificate store. On Thu, Apr 25, 2019, 06:10 Hello Universe wrote: > How to

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

2019-04-30 Thread Slide
Pipeline is a subset of groovy, so something may not work in pipeline that work in groovy standalone. It also may depend on what version of groovy pipeline is using as the digest method was added in groovy 2.5.0 I believe. I don't know what version pipeline is using right now. On Tue, Apr 30, 2019

Re: Pipeline declarative - multiline bat does not resolve the env.variables

2019-05-02 Thread Slide
You need to use triple double quotes for string interpolation to work: bat """ """ On Thu, May 2, 2019 at 5:59 AM zakyn wrote: > Hello, > > I have this code and the env.variables are not resolved :( I do not see > the reason. > > Thank you for your help. > > Vladimir > > Code: > >

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

2019-05-02 Thread Slide
You are correct. On Thu, May 2, 2019 at 6:11 AM b o b i wrote: > On Thursday, May 2, 2019 at 2:35:58 PM UTC+2, b o b i wrote: >> >> Could you explain me why "\$" worked, i.e. where it is documented? (I >> lost pretty much time with such "nonsense"). (a bash variable should be >> expanded inside

Re: build VC++

2019-05-08 Thread Slide
How would you build it from the command line? Figure that out and then that's how you build it in Jenkins as well. On Wed, May 8, 2019 at 10:37 AM sudheer k wrote: > Rich, > > I know how to build the C# applications because they have mentioned very > clear in the jenkins documentation, but here

Re: Sending email notifications to per-job email addresses

2019-05-13 Thread Slide
- There should be another recipient provider you can setup that will take the list from the Project Recipient List. - The Project Recipient field will go through the token macro plugin to replace environment variables and other tokens. On Mon, May 13, 2019 at 8:50 AM Alexandru Băluț wrote: > Th

Re: Signing software fails when building via jenkins a visual studio sln

2019-06-06 Thread Slide
You Jenkins is probably running under a different user account than the account you used on the command line. You can create an agent that runs on the same machine that runs are the user that has access to the certificate for signing. On Thu, Jun 6, 2019 at 3:04 PM elmer fuller wrote: > I have a

Re: no files matching the pattern C:\MyApp\bin\project.dll ERROR: no files matching the pattern C:\MyApp\bin\project.dll

2019-06-11 Thread Slide
You could copy the files into the workspace from the location they are currently in. Most Jenkins plugins will only act on things under the workspace for good reasons (security for one). On Tue, Jun 11, 2019 at 7:13 AM Nef Rey wrote: > That would be a bummer... The files that I need to access ar

Re: Does anyone know why there is no slim image for the latest LTS version

2019-06-14 Thread slide
FYI, I have a PR to fix the slim image https://github.com/jenkinsci/docker/pull/837 On Thursday, June 13, 2019 at 11:49:15 AM UTC-7, Torsten Walter wrote: > > Jenkins version 2.176.1 has been released 2019-06-10. For previous > releases there existed different variant on Docker Hub > https://hu

Re: Publish Over SSH Plugin does not use Remote Directory for Exec function

2019-06-21 Thread Slide
This plugin currently doesn't have a maintainer (I was but no longer have the time). If you are interested in picking it up, check out https://wiki.jenkins.io/display/JENKINS/Adopt+a+Plugin. You already have my go ahead as the former maintainer to get permissions and so forth. FYI, I think this iss

Re: Jenkins Errors due to AD

2019-06-21 Thread Slide
What version of the Active Directory plugin do you have? Is it the latest? Regards, Alex On Fri, Jun 21, 2019 at 7:27 AM Veera Mani wrote: > > Hi, > > I am running jenkins-2.150.3-1.1.noarch > > > But after Integrating with AD , one fine day the jenkins denied login > for the AD users. >

Re: Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread Slide
Are you running as the same user that Jenkins is running as? By default, both the master and agents will run as local system. It seems like there might be a library installed under a specific user that might be different than what Jenkins is running as. On Fri, Jun 28, 2019, 10:23 Glenn Jones wro

Re: Email-ext plugin request: Export "Requestor" to environment

2019-07-02 Thread Slide
This is not the plsce to request something like this. Use Jira for features. https://issues.jenkins.io. On Mon, Jul 1, 2019, 13:35 Chris Williamson wrote: > Since “Requestor means the original requestor for rebuilds: > > If an e-mail is supposed to be sent to the requester, follow the build >> t

Re: Can we use and stash and unstash to copy artifacts from one job to another

2019-07-02 Thread Slide
I would recommend using a local number repo, then using nuget restore with that as a source. There are lots of examples online. On Tue, Jul 2, 2019, 17:39 sirisha sai wrote: > Hi, > > As of now our organization will not support downloading plugins, so they > asked me to publish Job 1 dll’s to ne

Re: Calling ClamAV plugin from a scripted pipeline

2019-07-03 Thread Slide
I would highly recommend using the snippet generator to do stuff like this. It may be that the ClamAv plugin will not work in pipeline at all though. It doesn't look like the recorder implements SimpleBuildStep which is a minimum requirement for something to work in pipeline. On Wed, Jul 3, 2019,

Re: Calling ClamAV plugin from a scripted pipeline

2019-07-03 Thread Slide
> extends Recorder (see > https://javadoc.jenkins.io/hudson/tasks/Recorder.html ) > which implements BuildStep. > So I thought it should work (?). > > The snippet generator does not know about the ClamAv plugin. > > > > On Wed, Jul 03, 2019 at 07:45:49AM -0700, Slide wrote:

Re: Is there a way how to use template from email extension template plugin(emailexttemplates) in pipeline?

2019-07-09 Thread Slide
There is not currently a way to do this. On Tue, Jul 9, 2019 at 5:16 AM zakyn wrote: > Hello, > > we are using the email extension template plugin ( > https://plugins.jenkins.io/emailext-template) where we can define > different email templates and then send them. > > Is there a way how we could

Re: Need help running a Jenkins job from VBScript using JenkinsAPI

2019-07-09 Thread Slide
I think you want to pass the username/password as part of the Open method call HttpReq.Open "POST", strJenkinsURL, False, strUsername, strPassword In addition, you may need to set an Authorization header, but I am not sure how the MSXML2.ServerXMLHTTP object handles that if you pass the username

Re: Need help running a Jenkins job from VBScript using JenkinsAPI

2019-07-09 Thread Slide
d, but still no luck there. > > I tried the .setRequestHeader "Authentication" like you showed but it > returns "Type mismatch: 'Base64Encode'" so something is wrong with the > syntax. > > > On Tuesday, July 9, 2019 at 2:06:57 PM UTC-5, slide

Re: How to set sender address for each job separate in Jenkins ?.

2019-07-12 Thread Slide
Which plugin are you using to send emails? On Fri, Jul 12, 2019 at 5:04 AM ankit kapoor wrote: > How to set sender address for each job separate in Jenkins ?. > > At Global level I can set only single sender address & at project level > only changes allowed for recipient addresses. Please Help.

Re: How to set sender address for each job separate in Jenkins ?.

2019-07-15 Thread Slide
The option is right near the top of the configuration in the job: [image: email-ext-project-from.png] On Mon, Jul 15, 2019 at 12:07 AM ankit kapoor wrote: > Hi, > exntended-email-notification > On Friday, July 12, 2019 at 7:03:34 PM UTC+5:30, slide wrote: >> >> Which pl

Re: Save and apply buttons are missing in the Jenkins Configuration page

2019-07-18 Thread Slide
Check for JavaScript errors, or errors in the Jenkins logs. It looks like the styles haven't been applied to buttons yet, which usually happens when some plugin causes a problem. On Thu, Jul 18, 2019, 21:03 Subramanyeswari Ravinutala wrote: > Hi, > > The Save and Apply buttons are missing in the

Re: groovy split() on User ID

2019-07-24 Thread Slide
You aren't actually using any variables in your mail call since you have no $ inside the string. Generally, when using each, I like to specify the iterator variable name (it defaults to 'it'). Approvals.each { id -> mail(to: "${id}@domain.com") } On Wed, Jul 24, 2019, 10:20 krish wrote: >

Re: Persistent docker build agents

2019-07-25 Thread Slide
Isn't that what volumes are for? On Thu, Jul 25, 2019 at 2:56 AM Matej Drobnič wrote: > Hello, > > I'm wondering if there is a way to dynamically provision jenkins build > agents via docker, but have them persist their state (e.g. reuse existing > containers whenever possible instead of creating

Re: Persistent docker build agents

2019-07-25 Thread Slide
Some of the comments here may help: https://github.com/gradle/gradle/issues/851 On Thu, Jul 25, 2019 at 3:49 AM Matej wrote: > Yes, but since container is destroyed after every build by docker plugin I > cannot assign a volume to a specific container. > > On Thu, Jul 25, 2019 at 12

Re: Build failure in Jenkins: DependencyCheckAnalyzer

2019-07-25 Thread Slide
Did anything get updated on your Jenkins instance? On Thu, Jul 25, 2019, 06:27 Jason Flowers wrote: > I am getting a build failure in Jenkins with our maven > dependencycheckanalyzer. This is a piece of code we haven't changed and was > working for a long time and randomly started failing our bu

Re: Create new item - Item name error 'Only alphanumerical characters allowed'

2019-07-29 Thread Slide
Can you give a list of plugins and their versions that you have installed? Did you restart Jenkins after the upgrade of plugins? On Mon, Jul 29, 2019, 05:58 Laura López Senderos wrote: > Our current Jenkins version is 2.176.2. We're not sure when it has started > happening, because we've made so

Re: Jenkins Agents getting disconnected

2019-07-29 Thread Slide
CloudBees (not my employer) has some resources on using NFS (generally the recommendation is to NOT use NFS for JENKINS_HOME). https://support.cloudbees.com/hc/en-us/articles/115000486312-CJP-Performance-Best-Practices-for-Linux#nfs and https://support.cloudbees.com/hc/en-us/articles/217479948-NF

Re: Windows 7 Agents (slaves) via SSH

2019-07-30 Thread Slide
The Chocolatey package for OpenSSH says that it should work on Windows 7 64-bit. I may have missed an earlier email, are your systems 32 or 64-bit systems? On Tue, Jul 30, 2019, 10:39 Steve K wrote: > > Thanks once again Mark. > May I bug you for some more info? I was really hoping to answer th

Re: Increase Heap for Jenkins installed in Windows Server 2012 R2

2019-08-02 Thread Slide
The problem is that the current Windows installer is bundled with a 32-bit JRE. If you install a 64-bit JRE and update the path to java.exe in the jenkins.xml file, you should be able to allocate more. On Fri, Aug 2, 2019, 04:12 Balaajee Perumalsamy wrote: > Hello All, > > I have an instance of

Re: WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-08-02 Thread Slide
It might be better to run the agent as a service under the specific account you want it to run under. Is there a reason you can't do this? On Fri, Aug 2, 2019 at 12:11 PM Nef Rey wrote: > The problem was that I was selecting the option to start the slave task > whether the user was logged on or

Windows Docker Master

2019-08-02 Thread Slide
I have been playing with bringing some of the Linux containers that are available over to the Windows container land. My end goal is to have better support on the Jenkins infra for building Windows stuff as necessary (e.g. winsw, the Windows Installer, and plugin builds). I have played with creatin

Re: Windows Docker Master

2019-08-07 Thread Slide
I'll take no responses as a hint that people aren't generally kean on this idea. I learned a lot in the process, so we'll chalk it up to that :-) On Fri, Aug 2, 2019, 17:14 Slide wrote: > I have been playing with bringing some of the Linux containers that are > availabl

Re: Could not able to send Test Mail in jenkins 2.172

2019-08-09 Thread Slide
Looks like an issue with the remote host. Verify your settings for your mail server. On Fri, Aug 9, 2019, 17:39 Ajay M.C wrote: > Hi, > > Error Message Looks like > > java.net.SocketException: Connection closed by remote host > at sun.security.ssl.SSLSocketImpl.checkWrite(Unknown Source) >

Re: Access is denied prompted while windows sc command calling from jenkins groovy

2019-08-13 Thread Slide
The user that Jenkins is running under probably doesn't have the necessary permissions. Check which user the service is running as and make sure that user has the necessary permissions. Not sure what you mean by the second part about PowerShell/batch files running under groovy. If you have a pipel

Re: Jenkins reponds with Illegal Characters in Path when using nuget restore

2019-08-27 Thread Slide
Are you sure the node's locale is set the same as the other nodes? On Tue, Aug 27, 2019, 11:35 Nef Rey wrote: > After further research, it happens with the last few releases of Jenkins > 5.1.0, 5.2 and I believe the immediate before those 4.8.3 although not > sure. > > I tried a older release 4

Jenkins Docker Master Multiarch

2019-08-29 Thread Slide
Thanks to the major work of other people, Jenkins is now providing multiarch docker master images for arm64 (aarch64), arm (armv7), s390x and ppc64le alongside the existing amd64 images. They are currently being published to an evaluation org on dockerhub until there is enough positive feedback to

Re: Alternative for SendKeys in Jenkins with RobotFramework

2019-09-03 Thread Slide
Is this on a Windows agent? Is your agent running as a service? Generally, on Windows services are not allowed to interact with the desktop. There is a setting which allows this, though I believe it is not recommended by MS. (You can Google and find information on interacting with the desktop). Ano

Re: Confused by declarative pipeline trigger specifications

2019-09-25 Thread Slide
The GUI portion is filled in by the pipeline once it has run once and the triggers and so forth have been processed. You can't change the cron in the GUI and have it work. It only works to change it in the pipeline itself. On Wed, Sep 25, 2019 at 1:16 AM David Aldrich wrote: > Hi > > We use decl

Re: Updating Corp to Corp list!

2019-09-26 Thread Slide
Thanks Mark! On Thu, Sep 26, 2019 at 3:15 PM Mark Waite wrote: > I banned this person from the list. We don't accept recruiting e-mail > messages on the Jenkins users mailing list. > > On Thursday, September 26, 2019 at 4:03:01 PM UTC-6, Srujan Reddy wrote: >> >> Hi All! >> >> >> >> I am updati

Re: Anyway to programatically update a Jenkinsfile?

2019-10-02 Thread Slide
Pipeline scripts are a subset of groovy, so you may want to look in the direction of the available groovy AST modification methods. I am not sure how well it will work on declarative (though it should), but it's the best bet I believe. On Wed, Oct 2, 2019 at 12:07 AM Jeff Sault wrote: > Thanks b

Re: Sudo Su command hangs in jenkins

2019-10-14 Thread Slide
Does the jenkins user have access to run sudo without a password? On Mon, Oct 14, 2019 at 12:45 PM sravan wrote: > Hi All, > > I am running a fab script using jenkins . The problem I am facing is I > need to get the logs from docker So I need to do "Sudo su" it works fine > manually but when I r

Re: Sudo Su command hangs in jenkins

2019-10-14 Thread Slide
ALL) NOPASSWD: ALL > > On Monday, October 14, 2019 at 12:48:35 PM UTC-7, slide wrote: >> >> Does the jenkins user have access to run sudo without a password? >> >> On Mon, Oct 14, 2019 at 12:45 PM sravan wrote: >> >>> Hi All, >>> >>> I

Re: Sudo Su command hangs in jenkins

2019-10-14 Thread Slide
Just to clarify, you are doing this AS the Jenkins user, not another user, but as the actual user that the jenkins agent is running as. On Mon, Oct 14, 2019 at 2:13 PM sravan wrote: > when I type in Sudo su manually it works > > On Monday, October 14, 2019 at 2:05:18 PM UTC-7, sl

Re: How to properly use ${FILE,path=foo.txt} in Jenkins?

2019-10-25 Thread Slide
It doesn't look like the envinject plugin has any sort of dependency on the token-macro plugin, which means you can't use the FILE token there. On Thu, Oct 24, 2019 at 11:16 PM Ilia Basin wrote: > Hi. > I'm trying to use the syntax `${FILE,path=foo.txt}` to introduced in > Token Macro Plugin 1.

Re: Problem during Jenkins setup on Windows: plugins not installed

2019-11-11 Thread Slide
Are you setting up a master or agent? What error are you getting? On Mon, Nov 11, 2019, 03:58 gianpaolo wrote: > Hello > has anyone ever had troubles installing Jenkins on Win10? > Can't install the plugin during set up, both using docker and installer. > > gianpaolo > > -- > You received this m

Re: Problem during Jenkins setup on Windows: plugins not installed

2019-11-11 Thread Slide
t fails > with no message. > Log directory is empty. I just see red crosses on the browser besides the > plugin names > > On Monday, November 11, 2019 at 4:43:07 PM UTC+1, slide wrote: >> >> Are you setting up a master or agent? What error are you getting? >> >> -- &

Re: upgrade jenkins from 1.6 to 2.206

2019-11-27 Thread Slide
Going from 1.6 to 2.206 is not really a good idea. That is several years difference. On Wed, Nov 27, 2019, 15:48 Antonio Prado wrote: > Can you please tell me, if for me to upgrade from one version to another, > all I have to do is, > download the war file, > place it in the same location as pre

Re: upgrade jenkins from 1.6 to 2.206

2019-11-27 Thread Slide
> On Wednesday, November 27, 2019 at 7:03:38 PM UTC-6, slide wrote: > >> Going from 1.6 to 2.206 is not really a good idea. That is several years >> difference. >> >> On Wed, Nov 27, 2019, 15:48 Antonio Prado wrote: >> >>> Can you please tell me, if for m

Re: Remove old agent protocols?

2019-12-03 Thread Slide
I'm a big +1 on this. On Tue, Dec 3, 2019 at 11:05 AM Jeff Thompson wrote: > For historical reasons, Jenkins still ships with old, deprecated > protocols, JNLP1-connect, JNLP2-connect, and JNLP3-connect. These all > have fundamental issues and known bugs. They were all superseded by the > JNLP4-

Re: Publish over SSH plugin not transferring any files

2019-12-24 Thread Slide
What does your file pattern look like and have you verified that the files exist that you want to transfer? On Tue, Dec 24, 2019, 08:14 Prabhu Varadhachari < prabhu.rudhvin2...@gmail.com> wrote: > > Hello , >> >> > I want transfer the file from Jenkins work space to remote server. Job is > done b

Re: Docker error "working directory is invalid"

2020-01-02 Thread Slide
Why are you using an Alpine Linux image with Windows paths? If you want to run a Linux container, you need to setup your volumes to use Linux paths mapped to the Windows equivalent (if you are running this on a Windows host). On Thu, Jan 2, 2020 at 9:14 AM Ralph Connors wrote: > I am working thr

Re: Docker error "working directory is invalid"

2020-01-02 Thread Slide
Jan 2, 2020 at 11:19 AM Slide wrote: > >> Why are you using an Alpine Linux image with Windows paths? If you want >> to run a Linux container, you need to setup your volumes to use Linux paths >> mapped to the Windows equivalent (if you are running this on a Windows >> h

Re: FileNotFound Exception for program.dat in almost all the jobs of a scheduled pipeline

2020-01-24 Thread Slide
Looks like this member should be marked transient: https://github.com/jenkinsci/aws-device-farm-plugin/blob/master/src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmTestResultAction.java#L39 On Fri, Jan 24, 2020 at 5:42 AM Shivam Pokhriyal wrote: > More Details: > > I checked the c

Re: Process the powershell result on the jenkins server

2020-02-26 Thread Slide
Hi Michael, It sounds like you are using a Free Style job, is that correct? Something like this is pretty easy to do in pipeline, but can be difficult in Free Style jobs. One way to do it is to write the value to a properties file in the powershell script and then use the EnvInject plugin to injec

Re: How to use the "email-ext" extension?

2020-03-09 Thread Slide
Is this for CasC? If so, I would recommend setting it up via the UI and then exporting the yaml to see how to use it. On Mon, Mar 9, 2020, 04:33 Alexander Dietz wrote: > Hello, > > I am trying to use the extension "email-ext" but I could not find any > useable documentation for it on how to use

Re: How to use the "email-ext" extension?

2020-03-09 Thread Slide
t; On Monday, 9 March 2020 12:54:14 UTC+1, slide wrote: >> >> Is this for CasC? If so, I would recommend setting it up via the UI and >> then exporting the yaml to see how to use it. >> >> On Mon, Mar 9, 2020, 04:33 Alexander Dietz wrote: >> >>> Hello, &g

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

2020-03-09 Thread Slide
Please see this post from the developers group, it mentions the CSRF protections enabled in 2.222 https://groups.google.com/forum/#!topic/jenkinsci-dev/NTlo7lhWY_Q On Mon, Mar 9, 2020 at 5:13 AM Stölzer Sven wrote: > Hi Jenkins-Team, > > > > it seems that since version 2.222 the scm trigger doe

Re: job is sucess but am not reciving mails please help

2020-04-17 Thread Slide
Check your spam folder, or enable debug mode for email-ext on the global configuration and run the build again and see if there is additional information. On Fri, Apr 17, 2020 at 5:45 AM Jafar Shaik wrote: > Started by user jhonson > Running as SYSTEM > B

Re: Linux Jenkins and Windows Build Server

2020-04-22 Thread Slide
Hi Jeevan, If recommend determining how to do it from the command line and then you can easily do it from Jenkins. Regards, Alex On Wed, Apr 22, 2020, 17:39 Jeevan Podduturi wrote: > Hi All, > > I am new to Jenkins, i am trying to deploy Dot Net application using > Jenkins. > > my Jenkins is

Re: Linux Jenkins and Windows Build Server

2020-04-22 Thread Slide
gt; www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_6781131240286885437_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Thu, Apr 23, 2020 at 8:45 AM Slide wrote: > >> Hi Je

Re: Linux Jenkins and Windows Build Server

2020-04-22 Thread Slide
ium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_6220737417055130388_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Thu, Apr 23, 2020 at 9:49 AM Slide wrote: > >> Hi Jeevan, >> >> My response is still the same, do you know how to do the deployment

Re: Jenkins master migration from Windows to Linux

2020-04-23 Thread Slide
For JNLP, the connection is done from the agent. It launches the agent.jar which connects to the master. If the agents are using "JNLP" then the launch command for that agent would possibly need to be updated if your master is at a different hostname/ip address than the old master. On Thu, Apr 23,

Re: The pipeline emailextrecipients step takes too long time

2020-04-24 Thread Slide
You can turn on debug mode in the global config for Email Ext. The code isn't really doing anything major, it just looks at the changesets and get the authors, so I am not sure why it would be taking that long. On Fri, Apr 24, 2020 at 1:59 PM Sverre Moe wrote: > Calling the pipeline step emailex

Re: The pipeline emailextrecipients step takes too long time

2020-04-25 Thread Slide
uot; and Log Level ALL. > > Hope I can find something about why it takes so long. > > fredag 24. april 2020 23.20.40 UTC+2 skrev slide følgende: >> >> You can turn on debug mode in the global config for Email Ext. The code >> isn't really doing anything major, it

Re: The pipeline emailextrecipients step takes too long time

2020-04-26 Thread Slide
: 0 > firstFoundIdx-substring: sve...@company.com > => found type: 0 > Analyzing: sve...@company.com > Looking for: sve...@company.com > starting at: 0 > firstFoundIdx: 0 > firstFoundIdx-substring: sve...@company.com > => found type: 0

Re: The pipeline emailextrecipients step takes too long time

2020-04-27 Thread Slide
Users >> *Subject:* Re: The pipeline emailextrecipients step takes too long time >> >> How so? >> >> Does emailextrecipient do a DNS lookup on each author it can find? >> >> søndag 26. april 2020 20.12.03 UTC+2 skrev jeremy mordkoff følgende: >> >

Re: The pipeline emailextrecipients step takes too long time

2020-04-27 Thread Slide
ilextrecipients also takes 60 seconds each. > > mandag 27. april 2020 16.25.37 UTC+2 skrev slide følgende: >> >> There is no lookup until the email is sent. There may be a call to >> resolve a username to the email address though. Are you using ldap or AD? >> >

Re: The pipeline emailextrecipients step takes too long time

2020-04-27 Thread Slide
the extension point lives). I was confusing where the resolver was in the infrastructure. The TL;DR is that it is still the MailResolver feature that is taking the time, but the sequence was different than I remembered. On Mon, Apr 27, 2020 at 10:42 AM Slide wrote: > That sounds like the culp

Re: The pipeline emailextrecipients step takes too long time

2020-04-28 Thread Slide
2020 at 4:58 AM Sverre Moe wrote: > Any idea how to workaround this? > > Any way to disable the resolving of email adresses? > Using Git SCM checkout in Pipeline > > /Sverre > > mandag 27. april 2020 21.16.25 UTC+2 skrev slide følgende: >> >> Sorry,

Re: The pipeline emailextrecipients step takes too long time

2020-04-29 Thread Slide
The only method available via the ChangeSet API is getAuthor(), which internally does the lookup to make sure the email address is available, so no, it can't access author email directly. On Wed, Apr 29, 2020 at 8:18 AM Sverre Moe wrote: > My code for finding the changeset authors worked fine. >

Re: The pipeline emailextrecipients step takes too long time

2020-04-30 Thread Slide
t have AD or LDAP on Jenkins, then there is > nothing to lookup. > > torsdag 30. april 2020 02.18.25 UTC+2 skrev slide følgende: >> >> The only method available via the ChangeSet API is getAuthor(), which >> internally does the lookup to make sure the email address is ava

Re: sshget is showing the entire contents of the file in console output log

2020-05-07 Thread Slide
This sounds like a bug in the plugin, I would file an issue in Jira. On Thu, May 7, 2020 at 6:02 AM cw wrote: > Does anyone have any ideas on this? I am using Jenkins ver. 2.190.3 on > Windows 2012 with ssh versions below. This is not only a space issue, but a > security issue, since sometimes

Re: Jenkinsfile naming convention

2020-05-14 Thread Slide
Using external scripts is generally the preferred way of doing things anyway, so you are going the correct route. Writing scripts that reside in your SCM and then orchestrating them with a Jenkinsfile is the recommended way. As for the filename, most editors that I know of have a way to associating

Re: Problem with Jenkins email extension plugin

2020-06-04 Thread Slide
Did you setup the default domain in the global configuration? On Thu, Jun 4, 2020, 05:54 Mario Jauvin wrote: > > I have noticed that when using DevelopersRecipientProvider in the > declarative pipeline, the information returned is the userid and not the > email address. I get the error: > > Err

Re: Problem with Jenkins email extension plugin

2020-06-04 Thread Slide
Do you have the LDAP plugin installed and configured? There needs to be a mechanism that the username can be converted to a an email address, this is called a MailAddressResolver ( javadoc.jenkins.io/plugin/mailer/hudson/tasks/MailAddressResolver.html). Several SCM plugins implement a MailAddressRe

Re: Problem with Jenkins email extension plugin

2020-06-04 Thread Slide
Does your AD implementation put the email address in a non-standard attribute? Does the user ID exist in the AD and does that user account have a valid email address attribute? On Thu, Jun 4, 2020 at 10:57 AM Mario Jauvin wrote: > I noticed that the error comes from ActiveDirectoryMailAddressRes

Re: Problem with Jenkins email extension plugin

2020-06-04 Thread Slide
; > On Thursday, June 4, 2020 at 2:37:15 PM UTC-4, slide wrote: >> >> Does your AD implementation put the email address in a non-standard >> attribute? Does the user ID exist in the AD and does that user account have >> a valid email address attribute? >> >> On Thu

Re: Automated jenkins setup

2020-06-05 Thread Slide
I would recommend looking at the JCasC plugin ( https://www.jenkins.io/projects/jcasc/), it might be the best way to achieve what you are looking for. On Fri, Jun 5, 2020 at 2:34 PM Wolfgang Gerlach < wolfganggerlach1...@gmail.com> wrote: > Hi, > > > I would like to start a Jenkins server within

Re: How to find who installed a Jenkins plugin

2020-06-06 Thread Slide
The audit trail plugin is the only thing I can think of that _may_ do this. That's where I would look. On Fri, Jun 5, 2020, 17:09 Vijay Gongle wrote: > Any leads ? > > Thanks in advance. > > > > Sent from my iPhone > > > On Jun 4, 2020, at 5:00 PM, Vijay Gongle wrote: > > > > Is there a way to

Re: Jenkins Agent/Slave on Windows Disconnect Issue

2020-06-08 Thread Slide
How did you modify this setting? In the Jenkins cloud configuration, or on AWS itself? On Mon, Jun 8, 2020 at 2:55 PM Vinod Krishna wrote: > Hi, > > It looks like increasing the ELB Timeout helped us! Thanks a lot! > > On Wednesday, 3 June 2020 01:13:37 UTC-4, D'raj wrote: >> >> try increasing a

Re: java.io.NotSerializableException: java.lang.UNIXProcess

2020-06-08 Thread Slide
Can you share your Jenkinsfile? There may be some contextual information that would help people help you. On Mon, Jun 8, 2020 at 3:08 PM chencho m-a wrote: > I altready tried this, with this output. > > expected to call Script4.exists but wound up catching sh; see: > https://jenkins.io/redirect/

Re: Question on email extension plugin in a pipeline step

2020-06-09 Thread Slide
No, this scenario is not currently supported. On Tue, Jun 9, 2020 at 9:46 AM Mario Jauvin wrote: > I am trying to use groovy classes found in the pipeline shared library > (using @Library annotation on jenkinsfile) inside the presendScript string > supplied to the emailext pipeline step. These

Re: Question on email extension plugin in a pipeline step

2020-06-09 Thread Slide
You can set the classpath in the global configuration for email-ext. On Tue, Jun 9, 2020 at 10:56 AM Mario Jauvin wrote: > What is the classpath setup at that moment? What do I have access to? > > On Tuesday, June 9, 2020 at 1:34:54 PM UTC-4, slide wrote: >> >> No,

Re: Multi-line parameter description in declarative pipeline

2020-06-12 Thread Slide
The triple quote strings are taken as is, so just remove the tabs/spaces at the start of the lines. On Fri, Jun 12, 2020, 08:29 Al Silver wrote: > Hi, > How can I have a detailed description field that is properly displayed > when building with parameters. The example below is obviously not g

Re: Jenkins offlines cloud build slave with running jobs?

2020-06-29 Thread Slide
Please use the term "agent" instead of "slave". That term has been deprecated since 2016. Regards, Alex On Mon, Jun 29, 2020 at 7:26 AM ZillaYT wrote: > I'm using v2.0.2 of https://github.com/jenkinsci/ec2-fleet-plugin > > I created spot fleets in AWS to use as Jenkins build slaves, and then i

Re: Requesting invite to joing jenkinsci org in github

2020-06-29 Thread Slide
Hello, What are you wanting to do? Just wondering. Regards, Alex On Mon, Jun 29, 2020, 18:22 Surya yaramada` wrote: > Hello, > > How are you? I would like to know process to get invited to join jenkinsci > org in Github. > Here is my Github ID - yrsurya > > Please let me know if anything else

Re: Shell command with (

2020-06-30 Thread Slide
The shell is parsing the script and found an error in the syntax, it's not sh that is checking syntax. You can add a shebang line if you have something specific to bash sh """#!/bin/bash rm -fr -v !(${name})""" The sh step just creates a shell script file (.sh file) and executes it, which would u

Re: How to pull parameters from excel sheet and pass it to job

2020-07-01 Thread Slide
I don't think there is a way to do this right now. https://plugins.jenkins.io/ui/search?query=excel You may need to do something in a shared library or something similar. On Wed, Jul 1, 2020 at 12:45 PM Devops-warrior wrote: > I have a job which will deploy web, app and DB servers into AWS clou

  1   2   3   4   5   6   7   8   9   10   >