Re: Scripts in environment stage

2020-12-08 Thread Yves Schumann

Hi Ven

Am 08.12.2020 um 18:56 schrieb Ven H:
Can we have script block or credential block to perform some logic 
inside the environment stage in Jenkinsfile?


I'm doing such things without issues. Some examples:

GIT_COMMIT_SHORT = sh(
script: "printf \$(git rev-parse --short ${GIT_COMMIT})",
returnStdout: true
)
CURRENT_DATE = sh(
script: "printf \"\$(date '+%F %T')\"",
returnStdout: true
)

Kind regards,
Yves

--
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 
https://groups.google.com/d/msgid/jenkinsci-users/0afaf8c1-57b9-a329-eac4-5f9510a77897%40wayland.


How to recover bugtracker/wiki account?

2020-11-02 Thread Yves Schumann

Hi

After some time I would login onto my account at 
https://issues.jenkins-ci.org/ but it seems the account is not longer 
active!? Same on Wiki login. Why is it disabled? How can I 
recover/reactivate my account?


Kind regards,
Yves

--
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 
https://groups.google.com/d/msgid/jenkinsci-users/bf72bf71-7acb-87d8-2b5b-0e2d576bb802%40wayland.


Re: Unable to save Groovy script on EnvInject-Plugin

2016-11-21 Thread Yves Schumann
No ideas so far?

2016-11-18 13:27 GMT+01:00 Yves Schumann :

> Hi @all,
>
> as a user I'm unable to save a Groovy script on the section "Evalutated
> Groovy script" on Job config section of EnvInject-Plugin. If I do this as
> Jenkins admin, it works as expected. Is this a bug or a feature? If it's a
> feature, where/how can I enable this configuration part for the Job admins?
>
> --
> Kind regards,
> Yves
>



-- 
Mit freundlichen GrĂ¼ssen,
Yves Schumann

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CABN%3DtboHXiU%3DFZ71WM9NExNbdowHhk3ZhC2%3Dcs27_w2CnjuHBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Unable to save Groovy script on EnvInject-Plugin

2016-11-18 Thread Yves Schumann
Hi @all,

as a user I'm unable to save a Groovy script on the section "Evalutated
Groovy script" on Job config section of EnvInject-Plugin. If I do this as
Jenkins admin, it works as expected. Is this a bug or a feature? If it's a
feature, where/how can I enable this configuration part for the Job admins?

-- 
Kind regards,
Yves

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CABN%3DtbotJBdnR8TFPmnw9ccQw2ZT1RC-vjEiGomPvAcyrJxypQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to send bulk mails

2015-06-22 Thread Yves Schumann
Hi@all,

no ideas so far? No one who needs to inform others about Jenkins downtime
or something else regarding the Jenkins installation? Hm...

2015-06-09 9:34 GMT+02:00 Yves Schumann :

> Hi Jenkins'ians,
>
> from time to time I need to send a notification mail to all developers
> using our Jenkins installation. I can't use the companies "...-all" mailing
> list because there are way too many users affected with such mails. So is
> there a plugin or something else to send bulk mails to all accounts known
> to Jenkins?
>
> Kind regards,
> Yves
>
>


-- 
Mit freundlichen GrĂ¼ssen,
Yves Schumann

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CABN%3DtboN01kLR-27zyUm4DiWiutYaFjU4_0ooYPc9s1%3D5nFo4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to send bulk mails

2015-06-09 Thread Yves Schumann
Hi Jenkins'ians,

from time to time I need to send a notification mail to all developers
using our Jenkins installation. I can't use the companies "...-all" mailing
list because there are way too many users affected with such mails. So is
there a plugin or something else to send bulk mails to all accounts known
to Jenkins?

Kind regards,
Yves

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CABN%3DtbqOStAomTzk3G4v2Pi8vWZGEL-Z1L0cWtk-G9mwtTGBTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins update hangs on CentOS

2014-10-30 Thread Yves Schumann
Hi Jason,

YMMD! :-)

I investigated a little deeper what's going on during "yum update". The
update seems to stuck at the command "chown -R jenkins /var/lib/jenkins"
but as there are a lot of jobs with huge svn checkouts, it just takes very
long to touch every single file. Might be an improvement point because I do
not see if this is neccessary on every update. Jenkins is the only user
which uses these files.

Kind regards,
Yves

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Jenkins update hangs on CentOS

2014-10-28 Thread Yves Schumann
Hi @all

I've got a problem with one of my Jenkins installations. This one is
running on CentOS 6 and every time I update this machine, the Jenkins
installation hangs. So after some minutes I break the update with Ctrl-C
and call yum-complete-transaction to finish the update.

Any ideas what the problem could be? Even rebuilding the package database
with "rpm --rebuilddb" has no effect, same problem on next update. So there
is not the best feeling during an update job on this machine because I
never know if there will be something else go wrong...

Kind regards,
Yves

-- 
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.
For more options, visit https://groups.google.com/d/optout.


OutOfMemory during copying artifacts

2014-04-30 Thread Yves Schumann
Hi@all,

since some time I'm running into this error if builds on the nodes are
finished and the artifacts should be copied to the master:

Apr 30, 2014 12:05:54 PM Schwerwiegend
hudson.remoting.SynchronousCommandTransport$ReaderThread run

Unexpected error in channel srvzh-jenkinsnode-001
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2271)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
at 
java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
at 
hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:87)
at hudson.remoting.ChunkedInputStream.read(ChunkedInputStream.java:46)
at 
hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:88)
at 
hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33)
at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)



The whole node hangs afterwards. All nodes are connected using ssh and as a
first trial&error I set JVM opts to -Xmx1g but had no success. Any ideas
what's going on there?

Jenkins is running on CentOS with OpenJDK 1.7.0_55 64bit

Kind regards,
Yves

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Job trigger for changes only on certain git repo folders

2013-12-17 Thread Yves Schumann
Hi

I need to setup a lot of jenkins jobs, which should be triggered if
something changed on certain folders on a git repository. Let's say there
ist the following structure:

repo
 - projectA
- ...
 - projectB
- ...
 - ...


So for this example there will be two jenkins jobs, one for projectA and
one for projectB and each of these jobs should be start if something is
pushed into the corresponding folder. So if I push to repo/projectA, only
this job should start. Additionally the amount of these folders is
undefined, so it is not an option to configure the excludes by hand because
if another folder is added, lets say projectFoo, the existing jobs must
work as before.

Any ideas how to solve this?

Kind regards,
Yves

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Embeddable build status icon for views?

2013-09-29 Thread Yves Schumann
Hi

I'd like to use embeddable build status icons for views to summarize the
status of mulitple jobs. Unfortunately there is no option on a Jenkins view
page to generate such an URL and I'm not successful to setup an URL by hand
based on the syntax of the icon url for a dedicated job. So is it possible
to use embeddable build status plugin together with Jenkins views? What is
the syntax for the URLs?

-- 
Kind regards,
Yves

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Parameterized job with two stages?

2013-01-20 Thread Yves Schumann
Hi Jenkins'ians,

is it possible to configure parameterized jobs with two stages of
parameters at the beginning?

Let me explain an example. If build job is triggered, it asks for a Jira
ticket ID. The user enter the ticket ID and click to continue. On the next
page some details of this Jira ticket will be shown and the user has to
enter some more data like his credentials for the commit of the changes out
of this build run. Now the build jobs starts after the click on "Build".

The idea behind this is to prevent entering a wrong ticket ID by showing
additional information on a 2nd screen, so the user has the possibility to
verify what he entered onto the build job.

Any ideas on how to setup something like this? And of course, other ideas
are welcome too! Thx a lot in advance.

-- 
Kind regards,
Yves