Behalf Of David Aldrich
> Sent: 15 May 2017 13:19
> To: jenkinsci-users@googlegroups.com
> Subject: Syntax for "mail to" in declarative script?
>
> Hi
>
> Where can I find a definition and syntax for "mail to" for a declarative
> script?
>
> Speci
I'm a little further on - I've added a call to emailext. Below is declarative
script. But I get error:
An attempt to send an e-mail to empty list of recipients, ignored.
How can I set the recipients list? Do I need another script step?
stages {
stage('build') {
Hi
I am experimenting with declarative scripts and have this simple script:
pipeline {
agent { label "mypc" }
stages {
stage('build') {
steps {
sh 'python --version'
}
}
}
post {
success {
script: emailext
to:a...@him.com>,
subject: "FAILURE",
body: "FAILURE!"
)
}
}
On Tue, May 16, 2017 at 11:25 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi
I am experimenting with declarative scripts and have
lass:
'DevelopersRecipientProvider'] ])
emailext(..., to: recipients)
}
On Tue, May 16, 2017 at 6:18 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi Danny,
That worked (with email addresses in quotes) – thanks.
Do you know how I would specify ‘to:’ as a
ents
Also, you may be missing a '}' to close the script block.
On Tue, May 16, 2017 at 7:12 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi Slide
Thanks. I tried the code below based on your suggestion but the syntax of my
change isn’t quite right. Can
m: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: 16 May 2017 17:02
To: jenkinsci-users@googlegroups.com
Subject: RE: How to specify recipients in email-ext step in declarative script?
Thanks Slide
David
From: jenkinsci-users@googlegroups.com
: '${DEFAULT_SUBJECT}',
to: 'daldrich')
}
But the result is an email to daldrich but not to the culprits.
Could this be a bug in the emailext plugin?
BR
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf
d there have been no changes, then there are no culprits.
The culprits are pulled from the changes from the scm you specify.
On Wed, May 17, 2017, 04:07 David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
I tried replacing my code with that produced by the snippet generator:
er if you
want anyone who added a change to be emailed.
On Wed, May 17, 2017 at 7:27 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi Slide
I am running the job manually. There are commits by another user since the job
last ran, so I assume there should be culprits. The job a
Thu, May 18, 2017 at 2:33 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi Slide
Thanks for helping me with this. I am using a declarative pipeline. In the
‘post’ clause, I set ‘success’, ‘failure’, ‘unstable’ and ‘changed’ to all be:
script{ emailext
Hi
As the free-style Multi-Branch Project plugin is deprecated, I am experimenting
with the Multibranch Pipeline job type.
With the Multi-Branch Project plugin it was possible to have multiple
multi-branch jobs. We took advantage of that and had multiple jobs to build
different executables in
> There seems to be some work done in this regard, but it seems to be lagging,
> so I can't tell if it's going to stay this way or not.
Thanks for your answer. Good to know it is being worked on.
David
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users"
Hi
I want to use the Jenkins declarative script linter via the CLI.
I have specified a fixed SSHD port in Jenkins Global Security.
I have shared my SSH public key with my account on the Jenkins server, so I can
connect to the server using SSH.
However, when I try to run the linter I get an err
e culprits on its own for pipeline jobs
and it may not have all the info that a free style project does.
On Thu, May 18, 2017, 07:12 David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Well I haven’t found definitions of the providers so I can’t be sure, but the
free-style job s
Hi,
I'm confused about how to specify a build trigger for a declarative script. I
want the job to be triggered by an SCM commit so I specified in my script:
triggers {
pollSCM('H/5 * * * *')
}
to poll every 5 minutes.
However, the job is not being run even though commits have
David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi,
I'm confused about how to specify a build trigger for a declarative script. I
want the job to be triggered by an SCM commit so I specified in my script:
triggers {
pollSCM('H/5 * * * *')
}
to
After checking for updated plugins this morning I see:
"None of the tool installer metadata passed the signature check"
Best regards
David
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emai
Hi
There is a known issue with the Subversion plugin that 'Additional Credentials'
must be specified if Externals are used.
Most job types allow the user to specify the 'Additional Credentials' in the
GUI, but the Multibranch pipeline job does not. To me, this is a show-stopper
for using that
From: Oleg Nenashev [mailto:o.v.nenas...@gmail.com]
Sent: 08 June 2017 11:18
To: Jenkins Users
Cc: David Aldrich
Subject: Re: Multibranch pipeline job doesn't fully support Subversion?
The current state of the SVN plugin is discussed here:
https://groups.google.com/forum/#!topic/jenkinsc
I haven’t tried it, but I expect that:
Build configuration > Script Path
allows you to specify the specific Jenkinsfile that you want to run.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Simon Cowie
Sent: 18 July 2017 00:40
To: Jenkins Users
Sub
Hi
I have a declarative script job that appears to have got stuck because it's
slave rebooted. Now I can't kill it.
When I click the red cross against the job I see:
"Are you sure you want to abort null".
I accept but nothing happens.
It also survives a Jenkins restart. How can I kill it
The job's log states:
Waiting to resume part of MyJob_sw_builds » trunk #554: ???
Still paused
--
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+
Fixed now. Needed to resume.
--
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 view this discussion on the web vi
Hi
Our company uses Subversion for version control but I want to investigate
providing a Git server to support Jenkins declarative scripts and Blue Ocean.
(I realise that declarative scripts can be stored in Subversion, but I think
that Git support for them is better).
We have the option of u
Hi Dirk and Andreas
Thanks for your answers,
Best regards
David
--
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.
Hi
I want to write a multibranch declarative script for a project stored in
Subversion. I have already done this for another project (which worked) but
this new one has the complication that the repo uses externals. Unfortunately
the multibranch pipeline GUI screen does not offer the option t
Hi
My understanding is that it is now possible to have multiple Jenkinsfiles in a
repository.
Is there any convention for naming Jenkinsfiles?
Do you always call them Jenkinsfile and indicate their function in a directory
name? Or do you indicate their function in the filename?
Best regards
Hi
My Jenkinsfile contains:
environment {
SCRIPTS_PATH="${WORKSPACE}/Tools/Jenkins/PythonScripts"
}
When the script runs I get exception:
groovy.lang.MissingPropertyException: No such property: WORKSPACE for class:
groovy.lang.Binding
at groovy.lang.Binding.getVariable(B
}/tools/Jenkins/PythonScripts"
On Thursday, September 21, 2017 at 9:48:43 AM UTC-6, David Aldrich wrote:
Hi
My Jenkinsfile contains:
environment {
SCRIPTS_PATH="${WORKSPACE}/Tools/Jenkins/PythonScripts"
}
When the script runs I get exception:
groovy.lang.MissingPrope
Hi
I want to install a JNLP slave as a service in Windows 10.
If I use the 'easy' method of going to the node page, from the slave machine,
and clicking on the Launch button, the slave launches. But if I select 'File >
Install as a service' I get an exception:
[cid:image001.png@01D33D05.743EF4
chieve
your goal.
От: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
mailto:jenkinsci-users@googlegroups.com>> от
имени David Aldrich
mailto:david.aldr...@emea.nec.com>>
Отправлено: 4 октября 2017 г. 17:42
Кому: jenki
If I may comment on this, I think the main issue is that there is currently no
maintainer for the svn plugin. So, even if someone was able to make the
changes Stephen suggested, they may not be released.
It’s quite a problem for some of us that Subversion is no longer well supported
in Jenkins
Hi
I have a multibranch pipeline project (declarative script), which I run against
a Subversion repository. The format of the branches is:
branches/branch_name
my multibranch pipeline project is rendering these names with '%2f' instead of
'/'.
I think this issue has been reported in the past
Hi
I have deleted some jobs that used the deprecated multi-branch project plugin.
I have also uninstalled that plugin.
Since restarting the system (running Jenkins 2.85) I get exceptions for those
deleted jobs:
Failed Loading item
com.thoughtworks.xstream.mapper.CannotResolveClassException:
Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Daniel Beck
> Sent: 18 October 2017 10:02
> To: jenkinsci-users@googlegroups.com
> Subject: Re: How to resolve 'Failed Loading item ' ?
>
>
&
Hi
I have a declarative script that runs a 'bat' step. That step builds some VS
Studio projects on a Windows slave by calling msbuild:
steps {
bat '''
call "%VSMSBUILDCMD%"
msbuild %WORKSPACE%\\MSVC\\ /p:Configuration=config_0
LURE
So I had to explicitly check the errorlevel to detect the failure. Does this
mean there is this a bug in the declarative script plugin?
Best regards
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich
Sent: 18 October 201
Here’s a better view of my script:
pipeline {
agent none
options { buildDiscarder(logRotator(numToKeepStr: '20')) }
triggers {
pollSCM('H/5 * * * *')
}
stages {
stage('build_gcc') {
}
stage('build_VisualStudio') {
ag
Yes, that’s right. Sorry for using wrong term.
--
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 view this discus
Thanks very much for your reply.
> Take care batch error level only is valid for the last command and not a
> cumulative flag.
Yes, that was exactly the issue. I followed your advice and the script works
correctly now.
> Also make sure you give the proper bat argument returnStatus into your
Thanks for your answer.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of jer...@bodycad.com
Sent: 19 October 2017 15:36
To: Jenkins Users
Subject: Re: Declarative script: 'bat' command fails but job succeeds
Not sure about declarative pipeline (I hav
Hi
We typically restart Jenkins using 'Restart Safely' from the root menu. We now
want to specify the session timeout using a startup parameter:
java -jar jenkins.war --sessionTimeout=10080
How do people typically specify startup parameters? Should I use a script and
never restart from the ro
i.jenkins.io/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions
If you're running on Windows, there is a configuration file written to the
installation directory which can be changed. See
https://wiki.jenkins.io/display/JENKINS/Thanks+for+using+Windows+Installer
Mark Waite
On Fri, Nov
operating system level startup
scripts. You need the operating system level restart, like
/etc/init.d/jenkins restart.
Mark Waite
On Tue, Nov 14, 2017, 2:46 AM David Aldrich
mailto:david.aldr...@emea.nec.com>> wrote:
Hi Mark
Thanks for your reply. I’m working on Centos 5, so I set th
Hi
We are running Jenkins 1.656. There are multiple jobs in the build queue
'waiting for next available executor'. But there are free executors available
for these jobs.
Why might the jobs be stuck in the build queue?
Best regards
David
--
You received this message because you are subscri
Hi
This is a basic question on logging.
If I select:
Manage Jenkins > System Log
I just see 'All Jenkins Logs' and that takes me to a page with about 500 lines
of logging info. I have seen talk of rotating logs. How should I set things up
to give me longer lasting logs?
Best regards
David
Hi
I installed the BlueOcean plugin on our test server, and I seem to have lost
the ability to login to Jenkins there.
Best regards
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of James Dumay
Sent: 15 September 2016 17:05
To: Jenkins Users
Have you looked at this plugin?
https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin
--
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 jenkins
SVN Changes are working fine for me in Jenkins 2.22.
--
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 view this
Hi
Our Jenkins instance runs some very long-running simulation jobs. These can run
for up to 5 weeks. This makes it difficult to schedule restarts for software
updates.
Is it possible to restart Jenkins master without stopping jobs that are running
on slaves?
Best regards
David
--
You rece
Hi Daniel
> In the current update site, I found several Docker-related plugins, and of
> course Pipeline Durable Task Step plugin, which underlies sh/bat Pipeline
> build
> steps.
Thanks for your answer. I guess I should convert my current job to use Pipeline
build steps and then use the Pipeli
Hi
Last night one of our regression tests failed part way through because its
workspace was spontaneously deleted. The system log shows that 'Workspace
clean-up' happened at the time of the failure:
Jan 12, 2017 9:00:00 PM INFO hudson.triggers.SCMTrigger$Runner run
SCM changes detected in
tml
Hi Matthew
Yes that looks related. I will add a comment there.
Thanks
David
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of
matthew.web...@diamond.ac.uk
Sent: 13 January 2017 11:18
To: jenkinsci-users@googlegroups.com
Subject: RE: Unexpected works
I would like to connect to Windows agents via SSH (currently using JNLP).
I've installed OpenSSH client and server on the Windows machine, but not
sure what to do next. In the agent configuration I've selected:
'Launch agents via ssh'
but when I launch I get:
[11/26/20 17:49:12] [SSH] Opening SS
Hi
I have now partially succeeded in connecting to a Windows 10 agent from
Jenkins via ssh. The ssh part succeeds but the connection then fails with:
"Couldn't figure out the Java version of E:\jenkins/jdk/bin/java"
I don't know why it's choosing that path as I have not specified a Java
path.
hey occur.*
>
> *COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus
> opèrent adéquatement et que l’impact sur notre productivité est minimisé.
> Nous vous tiendrons au courant de tout changement.*
>
>
>
> *From:* jenkinsci-users@googlegroups.com
> *On Be
8) 800-1073 ext.:109
>
> amotus.ca <http://www.amotus-solutions.com/>
> statum-iot.com
>
> <https://www.facebook.com/LesSolutionsAmotus/>
> <https://www.linkedin.com/company/amotus-solutions/>
> <https://twitter.com/AmotusSolutions>
> <https://www.you
Hi
I have a Centos 7 Jenkins agent. 'top' shows that Jenkins is running a Java
process on it (as expected) but shows 22GB Virtual Memory allocated to that
process. Seems very high, is that reasonable?
Best regards
David
--
You received this message because you are subscribed to the Google Group
What would be a recommended setting?
On Thu, Dec 3, 2020 at 12:41 PM 'Björn Pedersen' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:
> Check the advanced settings for the agent at least ssh agents allow
> custom JVM options there.
>
> Björn Pedersen schrieb am Donnerstag, 3. Dezemb
Hi
In our Jenkins System Log we see many instances of messages like these:
Jun 08, 2021 12:09:17 PM WARNING hudson.security.csrf.CrumbFilter doFilter
Found invalid crumb
3554fd3884df49f975319b4852c6caef3f8f0f96da8e2bfbcc493abf78cdc9d3. If you
are calling this URL with a script, please use the API
> Is anyone else having this problem, or can you see the actual per-version
> ratings?
It's broken for me too (using IE11).
--
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
Hi
I am not raising this in Jenkins JIRA because I know that there are various
existing issues for IE11 and the dashboard there. I thought I would ask here
first.
When using IE11 with 1.599, I see the names of running jobs extend from the
'Build Executor Status' column into the main area of th
When connecting to:
http://updates.jenkins-ci.org/stable/update-center.json
I see:
hudson.util.IOException2: Failed to download from
http://updates.jenkins-ci.org/download/plugins/metrics/3.0.10/metrics.hpi
at
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.ja
Hi
This morning I have successfully downloaded plugin updates for the Email-Ext
and Jiunit plugins. But downloads for the Support core and Monitoring plugins
fail:
hudson.util.IOException2: Failed to download from
http://updates.jenkins-ci.org/download/plugins/support-core/2.22/support-core.h
Problem is resolved.
--
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 view this discussion on the web visit
htt
Hi
I notice that the Jenkins release notes for 1.612 state:
Jenkins now requires Java 7.
I tried upgrading from Jenkins 1.607 to 1.612 and many of our Linux slaves
failed to launch. Part of the reported error is:
[05/07/15 14:34:23] [SSH] Checking java version of /data/hudsonuser/jdk/bin/java
> yum install java-1.7.0-openjdk
Thanks
--
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 view this discussion o
I wonder if someone could remind me how Jenkins uses Java on a Linux slave.
Our launch method is "Launch slave agents on Unix machines via SSH".
The remote root directory is:
/data/hudsonuser
I can see that the Java location on the slave is:
/data/hudsonuser/jdk/bin/java
Does
rs@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Daniel Beck
> Sent: 07 May 2015 18:44
> To: jenkinsci-users@googlegroups.com
> Subject: Re: Requirement for Java 1.7?
>
>
> On 07.05.2015, at 17:31, David Aldrich
> wrote:
>
> > Does th
http://jenkins-ci.org/changelog
gives:
503 Service Unavailable
Best regards
David
--
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..
If you check the connection log for the slave it should show you which Java
path is being used by Jenkins.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of
robert.st...@onyxpoint.com
Sent: 21 May 2015 13:04
To: jenkinsci-users@googlegroups.com
Subjec
Hi
We develop an application that lives in a svn repository. New features are
added in branches, which can be long-lived. I need to regularly run the same
set of regression tests on each branch and the trunk. Currently, I create a
new set of Jenkins jobs each time I create a new branch - one j
Hi
I have only just discovered the Log Parser plugin. The wiki page shows the
parsing rules files living in /tmp. How do people here usually manage their
parsing rule files? Is it possible to store them in a scm such as Subversion?
Can they be taken from the active workspace?
Best regards
D
Just to mention that it seems that 1.621 is still not available despite being
advertised.
> -Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Daniel Beck
> Sent: 20 July 2015 13:18
> To: jenkinsci-users@googlegroups.com
>
Sorry to go on about this, but 1.621 is still advertised but not available.
> -Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of David Aldrich
> Sent: 21 July 2015 09:00
> To: jenkinsci-users@googlegroups.co
301 - 376 of 376 matches
Mail list logo