Not able to add any plugins for 2.7 Jenkins version.

2016-09-06 Thread hozefa vakanerwala


Hello,

I installed latest 2.7 version of Jenkins for windows.

I am not able to install any plugins.
I am not sure if Jenkins is able to connect to internet successfully. 
However, internet connectivity is fine since I am able to access other 
websites.
 
 
PFB, the stack trace:

 A problem occurred while processing the request. Please check our bug 
tracker to see if a similar problem has already been reported. If it is 
already reported, please vote and put a comment on it to let us gauge the 
impact of the problem. If you think this is a new issue, please file a new 
issue. When you file an issue, make sure to add the entire stack trace, 
along with the version of Jenkins and relevant plugins. The users list 
might be also useful in understanding what has happened.

Stack trace
java.net.UnknownHostException: updates.jenkins-ci.org
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown 
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown 
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown 
Source)
at hudson.model.DownloadService.loadJSON(DownloadService.java:166)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:176)
at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
at 
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
at 
org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:174)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:80)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 

Does Ansible plugin support Credentials plugin?

2016-09-06 Thread Matthew Wilmott
I've been trying to configure ansible plugin with the credentials plugin to 
provide a SSH key + username pair to an ansible run. Ideally id like to provide 
this as part of a parameterized build so the activity occurs as the user and 
NOT as a predefined service account. This is for auditing purposes.

ATM the username is not reflected when specifying a credential. Its hard to 
tell if the correct key is being passed but at least a key is being used...

Has anyone had any luck configuring  two in a similar fashion?

-- 
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/165d8d4c-9142-4f3b-ab3c-031aec09c59f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


uri Security Configuration

2016-09-06 Thread Paul Rysiavets
Hello,

How do i properly configure authentication plugin(G+) or overall security 
to "whitelist" a couple of endpoints that are exposed by a few plugins? 

BitBucket plugin for hooks 
and 
Amazon EC2 plugin for auto-init-scripts

Every time i try to wget a script anonymously - jenkins redirects it to 
google login page. 
I'd like to disable that for a few uris.

i did try to whitelist some paths... but i suppose this is worker/job 
related and not uri's whitelisting.

-- 
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/cf00e134-3d8b-4f57-acc1-111a79887dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to have a step in a pipeline wait until a specific time to start?

2016-09-06 Thread Baptiste Mathus
For the record, I did something like that in the past. We definitely need a
higher level step to do that, and maybe there's already something
available, but here's what worked for me for a given *hour*

waitUntil { // Capillotracté, redo with, say, a sleep time computed
between current and now or something
sleep 60
def currentHour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY)
echo "Current hour: $currentHour, wait ${minDeploymentHour}h"
currentHour == minDeploymentHour as int
}

2015-09-18 1:26 GMT+02:00 Michael Neale :

> I wonder if you could use: https://wiki.jenkins-ci.
> org/display/JENKINS/Schedule+Build+Plugin with another job, that fires up
> and checks if it should run as a pre build step, and then runs (downide is
> that it will run, even if there isn't work to do from  upstream, so perhaps
> there is a better way).
>
> I feel your pain re timezones (I am timezone challenged myself!).
>
> On Thursday, September 17, 2015 at 1:31:19 AM UTC+10, nfwlpw wrote:
>>
>> Here's my dilemma.
>>
>> I have a job in my pipeline that sits off the main path, but they do
>> depend on part of the main pipeline (parameters and artifacts).  The team
>> that owns this job is in a different timezone so they want the job to start
>> at a time convenient for them.
>>
>> Is there a way I can have this step stay in the pipeline, but wait until
>> a certain time to fire off?  I thought adding a quiet period but start time
>> won't be exact also makes it annoying if I want to run just that step
>>
> --
> 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/fa71b5b0-bff1-4281-83f6-68226ff15c12%40googlegroups.
> com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANWgJS4i1Y86-exF9RG%3DpyecJBKF%3DnkRtB5N%3Dd61BHiFotkN_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


AmazonEC2-plugin and Pipeline

2016-09-06 Thread Paul Rysiavets
Hello again,

I have AmazonEC2-plugin installed that spins up new EC2 instances on demand 
(yes, i have not yet migrated to Docker)

Q: is there a way to specify needed AMI (i have a few) to spin-up within a 
Pipeline/Groovy/Jenkinsfile script?

-- 
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/ddebf7ba-c031-494c-bdd5-26cbf4730e56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to see Jenkin's execution in local desktop

2016-09-06 Thread jerome
Download latest Jenkins here:
http://beta.jenkins-ci.org/content/thank-you-downloading-windows-installer/

start the installation (I assume you install into c:\Jenkins for this 
example). Make sure to install the services.
Go to c:\Jenkins\

Check the Jenkins.xml for this line
-Xrs -Xmx1536m 
-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"%BASE%\jenkins.war" --httpPort=8081 --prefix=/Jenkins
Change the port to the wanted one can also add the prefix here to website, 
here the url would be http://localhost:8081/Jenkins/

Now launch Windows Services applications as admin and start/restart 
Jenkins. Access Jenkins url then go to Manage Jenkins. All the setup aside 
the Jenkins.xml arguments are made within the web interface.

Jerome

-- 
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/8480dee0-8ae9-43f9-b6ec-bc7bc97da0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipeline: feedback

2016-09-06 Thread jieryn
https://issues.jenkins-ci.org/browse/JENKINS-37985

Yep. All of our independent jobs really just do one mvn invoke each.
They are smart in that they can be passed a git tag to build, or they
will work against master; this is really nice because sometimes we
just want to trigger, independently, a certain subphase / substage of
the pipeline without going through all the steps. I think this will
maintain durability of the pipeline as a whole, but also be flexible
enough to meet our needs for maintaining the same basic behavior as we
had before Jenkins had this advanced pipeline.

Being able to see the launched job's console output will be valuable
and make 'build'  consistent with all the other types of launchers,
well, the only one I know of, the 'sh' target.

On Fri, Sep 2, 2016 at 7:30 AM, Baptiste Mathus  wrote:
> You should probably file an issue in Jira with this.
>
> IMO the potential big issue of this use case is that if the jobs you call
> are big ones with many steps, you then make the durability durability
> feature of pipeline far less useful.
>
>
> Le 2 sept. 2016 7:08 AM, "jieryn"  a écrit :
>>
>> It would be nice if when a Pipeline invokes a Jenkins Job, that the
>> log of that job would be visible inside the Blue Ocean pipeline output
>> similar to the way any other pipeline stage works. We use individual
>> jobs for each stage because it lets us get a lot of reusability for
>> common functions which can be run independent of the pipeline. Right
>> now, when each stage invokes a dedicated job, the pipeline has almost
>> no information in it other than the stage/job status. It would be
>> really useful to consume the launched job's console output
>>
>> --
>> 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/CAArU9ianBAXQAhbDxBMyqAzyUHG2EsebePkczZDPinrWwHuneA%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/CANWgJS6BD550kS4pmb2KaTfuDxa6oqOSM-1hMfCzG8yja06o%2BA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAArU9iZ9BQLcV6Om%2BZRSRkeEjWpjqp4K0CdknxeRjPYnapG96g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


pipeline startup errors

2016-09-06 Thread jieryn
Sep 06, 2016 9:31:57 AM hudson.PluginManager$2$1$1 run
SEVERE: Failed to install pipeline-rest-api: One or more dependencies
could not be resolved for pipeline-rest-api : pipeline-graph-analysis
(0.1-beta-1)
Sep 06, 2016 9:31:57 AM hudson.PluginManager$2$1$1 run
SEVERE: Failed to install pipeline-stage-view: One or more
dependencies could not be resolved for pipeline-stage-view :
pipeline-rest-api (1.8-beta-1)

Any ideas how to resolve this? All plugins are up to date, and I
forced the plugin check to be current.

Page generated: Sep 6, 2016 9:31:35 AM EDT  REST API  Jenkins ver. 2.7.3
RHEL 7, Java 8

-- 
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/CAArU9ib8OcaQyU0C33wed5RBgXFncoic2OBFaf75ik1E%2BFYz4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please provide feedback on the plugins site (work in progress)

2016-09-06 Thread Simona Avornicesei
Hi all,

I find it weird the need to focus on the search box for the search criteria 
to show up (as a popup). It's a click wasted. I would have expected to have 
the filter criteria on the left side of the screen and default display to 
show the the most installed plugins. 

Also, the 2-letter icons make no sense without a legend or tooltip.

I haven't tested the search functionality yet.

All the best,
Simo

-- 
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/39886326-043a-48b7-b04a-783971ba2505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RemoteInvocationHandler.Unexporter memory usage

2016-09-06 Thread Nick Ridgway
Hello,

I have a Jenkins instance running ~1000 jobs on ~30 agents.  Recently I have 
been having problems with high memory usage and slow loading times, I took a 
heap dump this morning and when I loaded it into a memory analyser it showed a 
single object taking up 5GB of space - the total used is only 6GB.  The culprit 
is a ConcurrentHashMap in RemoteInvocationHandler.Unexporter.  Is this expected 
behaviour for that class, is it a bug, or am I doing something inadvisable?  Is 
this the likely cause of my loading time problems, or do I need to keep 
investigating?

The server is running version 2.7.1 on Debian 3.2.81-1 with java version 
1.7.0_101, 64-bit. Agents are primarily Windows 8 and 10 with a couple on 7.  I 
am running with the following java options:
-Dgroovy.use.classvalue=true
-Djava.awt.headless=true
-XX:MaxPermSize=512m
-Xmx8192m
-XX:+HeapDumpOnOutOfMemoryError
-Dhudson.model.DirectoryBrowserSupport.CSP=sandbox allow-scripts; default-src 
'self'; img-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 
'unsafe-inline';
-Dcom.sun.management.jmxremote.port=
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Dcom.sun.management.jmxremote.password.file=


-- 
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/F999DCC209010740B6EC624FED597E1109603C389A%40os-exchange01.Rebellion.co.uk.
For more options, visit https://groups.google.com/d/optout.


jenkins gets 403 when fetching artifact from artifactory

2016-09-06 Thread gabezzz
Hello,

jenkins version: 2.1
artifactory: 4.4.0
repository connector plugin: 1.1.3

I created a freestyle job in Jenkins and would like to download some 
artifacts from Nexus. 
We have both Nexus and Artifactory as repositories, both of them configured 
in Jenkins. 
Some maven builds put the artifacts (rpms) into Nexus. Artifactory is used 
during build time to store jars by some ANT builds/jobs.

So I want to download some rpms from Nexus and I get an error message. 

failed collecting dependency info for [Artifact com.xxx]
org.sonatype.aether.collection.DependencyCollectionException: Failed to collect 
dependencies for com.xxx
.
.
.
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could 
not transfer artifact com.xxx from/to artifactory
...
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access 
denied to: https://.pom 


It means that the plugin checks Artifactory for the dependency's pom file and 
though it's not there (because we use Nexus for maven builds, not Artifactory), 
the request fails with 403 which means access denied (instead of getting 404 
and jumping to Nexus to get the pom file). 

Authentication is set in the Artifact Resolver plugin's settings section under 
Jenkins / manage jenkins / configure system path.

Any hints? 

The best thing is that this worked a couple of days ago but we had to restart 
Jenkins and it stopped working...maybe some cache-ing issue?

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 on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4784a58c-3d14-45a8-bfb0-7a27ba97c256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Github web hook not working with Pipeline

2016-09-06 Thread Kamil Grabowski
I had the same problem and resolved it in that way:

1. Create a new pipeline project as before. I don't know why but jenkins 
doesn't create a webhook at this step. Maybe it need to have cloned git 
repository.

2. Run a new build manually (Build with parameters)  <- it will pull (git 
pull) the repo with your Jenkinsfile

3. Open the project configuration and click "save". At this moment jenkins 
will create a webhook for github project you use. 

and after that it works.




-- 
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/401409a2-02cc-49a6-beaf-345dd0c7c28d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Health Check URL

2016-09-06 Thread Stephen Connolly
That just checks if server container is running...

For a real *active* health check, install the metrics plugin.

FTR plugins can add additional health checks for reporting by the metrics
plugin

On Sunday 4 September 2016, Luis Arias  wrote:

> Hi,  A URL that works for me is simply /robots.txt.  It's unlikely to
> change and returns a 200 if jenkins is up.  Not a realy health check but
> better than nothing!
>
> Luis
>
> On Sunday, June 5, 2016 at 1:03:54 PM UTC+2, geoffroy...@gmail.com
>  wrote:
>>
>> You might try to check the /login endpoint, which is available for both
>> authenticated and unauthenticated jenkins instance
>> BR
>>
>>
>> Le vendredi 3 juin 2016 18:34:11 UTC+2, Michael Chletsos a écrit :
>>>
>>> I have an authenticated Jenkins setup that I need to monitor that the
>>> service is up - that is all - I want to know if there is an endpoint that
>>> does not require authentication and returns a 2xx or 3xx response? A 4xx
>>> response will not work.
>>>
>> --
> 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/8b022b92-e8ff-4cab-82ec-30444d8babba%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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/CA%2BnPnMy6PCv-wx1qhB4MDt84-jVP71HoVCdMGVEfhL_-fkKbdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to find who's the master of a given slave?

2016-09-06 Thread Stephen Connolly
Well it depends on the launch mechanism...

And remember that a given machine can be connected multiple times to the
*same* master as long as the agent home directory is distinct

On Wednesday 31 August 2016, Tamir Gefen  wrote:

> I'm trying to get the master names for a given slave (it could be that a
> slave host is talking with more than one master).
>
> Thank you all
>
> On Tuesday, August 30, 2016 at 11:54:42 PM UTC+3, Baptiste Mathus wrote:
>>
>> Hi,
>>
>> What are you trying to achieve?
>>
>> Cheers
>>
>> 2016-08-26 17:08 GMT+02:00 Tamir Gefen :
>>
>>> Hello,
>>> Assuming I have access to a given slave node, what would be the most
>>> efficient way to find out its master? Is that info is located in some
>>> configuration file? Something else?
>>>
>>> Thank you
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/bb8e5310-1c88-42ef-8f0d-1860f5c00781%
>>> 40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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/f4b57249-e079-4085-a557-1e8350fa7b7d%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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/CA%2BnPnMw54JbTqhOaCT3ztkoJfNL3QtbdHf4LaCuf_VjYEFJnbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: Doesn't always get commit authors in emailextrecipients

2016-09-06 Thread Sverre Moe
Not sure what happens to. I have tried 2 times by now to reply and "2 
messages has been deleted".

fredag 2. september 2016 16.13.03 UTC+2 skrev slide følgende:
>
> mail is using the mailer plugin, if you want to use email-ext, you need to 
> use emailext (see https://jenkins.io/doc/pipeline/steps/email-ext/).
>
> On Fri, Sep 2, 2016 at 1:36 AM Sverre Moe  > wrote:
>
>> There seems to be a lottery of some sort what I get 
>> from emailextrecipients
>>
>> I expect to get the authors from the commits it is building, but most of 
>> the times emailextrecipients gives me nothing.
>>
>> /**
>>  * Notify developers of failed build
>>  */
>> void notifyFailedBuild() {
>> final def projectName = packageInfo.getProjectName()
>> final def repositoryOwners = getRepositoryOwners(projectName)
>>
>> final def RECIPIENTS = emailextrecipients([
>> [$class: 'DevelopersRecipientProvider'],
>> [$class: 'CulpritsRecipientProvider'],
>> [$class: 'UpstreamComitterRecipientProvider']
>> ])
>>
>> final def SUBJECT = "${projectName} ${env.BRANCH_NAME} - Build 
>> #${env.BUILD_NUMBER} - FAILED!"
>> final def CONTENT = "Check console output at ${env.BUILD_URL} to 
>> view the results."
>>
>> if (RECIPIENTS != null && !RECIPIENTS.isEmpty()) {
>> mail to: RECIPIENTS, cc: repositoryOwners, bcc: "devops", replyTo
>> : "donot...@company.com ", subject: SUBJECT, body: CONTENT
>> } else {
>> mail to: repositoryOwners, bcc: "devops", replyTo: "
>> donot...@company.com ", subject: SUBJECT, body: CONTENT
>> }
>> }
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/f19567ce-1322-40ee-b9e3-822073762bc7%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/28b822a0-fcb0-4230-8817-0e1f56c7f56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I add text to Radiator View Icons?

2016-09-06 Thread Chris Knowlton
I posted this in the jenkins reddit, but that place appears empty.

I have some scripts that run whose job it is to verify (and in some cases 
restart) services running on my build slaves in order to validate their 
fitness to host nightly builds.

Once I have this working appropriately, I plan to take the automation to 
the next level and remove any slaves who fail this testing from the 
rotation.

For now, though, I have a nice red/green radiator view that shows the 
status of all my build slaves that I could, if necessary, run on a cadence.

What I would really like to do is to add data from those tests to the 
display.  Namely kernel version, OS distribution, etc.  That would turn a 
view that has some small utility into one that has a lot more.

I suspect that I need to write a groovy script that runs after each job 
completes that takes information from the environment, formats it and then 
displays it in a jenkins object some how, then refresh the view.  

But I can not find anything out there that serves as a reference for how I 
would do this.

Is the answer to create a plugin?  Do I need all that?

Lil help please!

Thanks!

ChrisK

-- 
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/ea69aa2c-cb3f-4331-8696-9321ce199cb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Execute action on build deletion

2016-09-06 Thread Adri CS
Hi,

I have a parametrized job that spawns Docker containers when it's running. 
This job is configured to store only the 10 most recent runs.
I would like to have the containers running for as long as the run that 
spawned them is stored in Jenkins.

So, the idea would be having something like a Listener that would execute 
the Docker commands to remove the containers when the build is about to be 
deleted.

I've thought of using the *PostBuild Groovy script* plugin to execute a 
listener and redefine the *onDeleted* method.

For example:

import hudson.model.Run;
import hudson.model.listeners.RunListener;
import hudson.Extension;

@Extension
public class DeleteListener extends RunListener {
  @Override
  void onDeleted(Run r) {
 println(r.getNumber())
  }
}



The problem with this approach is that when I execute the build, I get this 
error:

Groovy script failed:
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No 
signature of method: DeleteListener.main() is applicable for argument types: 
([Ljava.lang.String;) values: [[]]
Possible solutions: wait(), wait(long), all(), any(), find(), wait(long, int
)



I'm not proficient with Java, neither Groovy; so I'm having a hard time 
understanding this error.

*My question* is how, if possible, can I execute some system commands 
whenever a certain build is about to be deleted.

Thanks and kind regards!

-- 
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/832ce598-477c-4fcf-ae79-4107ee2373d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[pipeline][email][pre-send script]

2016-09-06 Thread jerome
Hi,
I'm looking for a way to set the email alias when we send email. We are 
using the same account for many services on a single machine and use alias 
to filter the email on client side.

the email ext is set to use the general account ser...@mycie.com

But I want the email to be output as one of the alias so other developer 
can easily filter them (jenkins@,  redmine@, ...). But the build admin only 
have 1 account to monitor server@

Before pipeline I was doing the following pre send script:

import javax.mail.Message.RecipientType
import javax.mail.Address
import javax.mail.internet.InternetAddress
import javax.mail.internet.MimeMessage

msg.setFrom(new InternetAddress("jenk...@mycie.com", "Build Server Jenkins"
));

was also using the $DEFAULT_PRESEND_SCRIPT for each project with this. Now 
I dunno how to do this, changing the reply-to does work but I would like to 
send it as jenk...@mycie.com too. 

I know this should probably not be done this way but I would still like to 
keep that feature on if possible and since Gmail doesn't allow to log in 
with the alias account I'm a bit lost how to do so :-(

If anybody have a quick even dirty solution I would be glade,
Thanks,
Jerome

-- 
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/3412316a-7ba0-4e6c-8daf-ec74e5042fcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to publish TestNG Report in Jenkins

2016-09-06 Thread A.K
Can anyone please help me on this? I am not able to resolve this issue.

On Friday, September 2, 2016 at 10:12:41 PM UTC+5:30, A.K wrote:
>
>
>
> 
>  
>
> I have used Maven project with Selenium & TestNG to create automated 
> scripts which I want to execute from Jenkins. In Jenkins I have added the 
> TestNG plugin to publish the TestNG report. But it is not getting 
> displayed. I'm getting the below mentioned error.
>
>
>
> *Error:* TestNG Reports Processing: START Looking for TestNG results 
> report in workspace using pattern: 
> */target/surefire-reports/testng-results.xml* Did not find any matching 
> files. Finished: SUCCESS
>
>
> Actual path of the TestNG report file: 
> *E:\JAVA\WORKSPACE\SeleneniumFrameWork\target\surefire-reports\testng-results.xml*
>
>
> I have tried the following options but didn't work out for me.
>
>1. 
>
>Tried giving the full path of the TestNG report. Forward ans backward 
>slash in the pattern. 
>2. 
>
>I have tried different other options by changing the TestNG result 
>file path but it's working for me.
>
> I'm using Jenkins 2.7.0 in Windows 10. Please share some inputs on how to 
> resolve this issue.
>
>
> *Screenshot of Jenkins Workspace:*
>
>
> 
>
>
>
>
> *Screenshot of Console Output:*
>
>
> 
>
>
>
>

-- 
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/5b9f264e-c315-4af0-aa76-d157bf189ccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing the Job/ExtendedRead permission

2016-09-06 Thread Ashish Yadav
I implemented the Project Based Security Matrix plugin and am able to configure 
the jobs and grant permissions accordingly. I granted myself overall Admin 
access. However, there are select jobs that I can't configure at all. I don't 
even see the 'configure' link. When I try to configure or clone the job, I am 
getting 'User missing the Job/ExtendedRead permission"

Please let me know how I can resolve this or what could be causing this. Only 
select jobs are impacted. A majority of the jobs have correct project based 
permissions.

-- 
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/D3F47BEE.22F7A%25ashish.yadav%40firemon.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: Doesn't always get commit authors in emailextrecipients

2016-09-06 Thread Sverre Moe
I followed the Pipeline examples for email-ext which has 3 examples and 
mailer one among them.
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples

Problem is that only mail allows me to set cc and bcc.

fredag 2. september 2016 16.13.03 UTC+2 skrev slide følgende:
>
> mail is using the mailer plugin, if you want to use email-ext, you need to 
> use emailext (see https://jenkins.io/doc/pipeline/steps/email-ext/).
>
> On Fri, Sep 2, 2016 at 1:36 AM Sverre Moe  > wrote:
>
>> There seems to be a lottery of some sort what I get 
>> from emailextrecipients
>>
>> I expect to get the authors from the commits it is building, but most of 
>> the times emailextrecipients gives me nothing.
>>
>> /**
>>  * Notify developers of failed build
>>  */
>> void notifyFailedBuild() {
>> final def projectName = packageInfo.getProjectName()
>> final def repositoryOwners = getRepositoryOwners(projectName)
>>
>> final def RECIPIENTS = emailextrecipients([
>> [$class: 'DevelopersRecipientProvider'],
>> [$class: 'CulpritsRecipientProvider'],
>> [$class: 'UpstreamComitterRecipientProvider']
>> ])
>>
>> final def SUBJECT = "${projectName} ${env.BRANCH_NAME} - Build 
>> #${env.BUILD_NUMBER} - FAILED!"
>> final def CONTENT = "Check console output at ${env.BUILD_URL} to 
>> view the results."
>>
>> if (RECIPIENTS != null && !RECIPIENTS.isEmpty()) {
>> mail to: RECIPIENTS, cc: repositoryOwners, bcc: "devops", replyTo
>> : "donot...@company.com ", subject: SUBJECT, body: CONTENT
>> } else {
>> mail to: repositoryOwners, bcc: "devops", replyTo: "
>> donot...@company.com ", subject: SUBJECT, body: CONTENT
>> }
>> }
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/f19567ce-1322-40ee-b9e3-822073762bc7%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/2a823dee-6025-473e-b25a-619e052eb618%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to find who's the master of a given slave?

2016-09-06 Thread Tamir Gefen
Hi,
It's part of a monitoring tool we develop for Jenkins users 
(http://www.almtoolbox.com/jenkins-monitoring.php). We have to show 
master(s) <> slaves connectivity status.


On Tuesday, August 30, 2016 at 11:54:42 PM UTC+3, Baptiste Mathus wrote:
>
> Hi,
>
> What are you trying to achieve?
>
> Cheers
>
> 2016-08-26 17:08 GMT+02:00 Tamir Gefen :
>
>> Hello,
>> Assuming I have access to a given slave node, what would be the most 
>> efficient way to find out its master? Is that info is located in some 
>> configuration file? Something else?
>>
>> Thank you
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/bb8e5310-1c88-42ef-8f0d-1860f5c00781%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/8e535580-845d-457b-8d40-759fa3378542%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins working with DB

2016-09-06 Thread Виталий Фёдоров
Greetings again,
Thank you for your answer, it is really helpful. I didnt get only 1 thing:
what code should I get from git and where to deploy it?
I mean, what should be in the git repo, some sort of sql files?
I need to create the simplest job, at least, for the beginning. Also, I
need to understand the workflow: git repo with (some sql files or I can use
any, rest api, for example) --> Jenkins take files, execute shell to use
sqitch (what commands should I execute?)--> where to deploy it? To database?
Hope, you will help me in this question,
Best regards,
Vitali

2016-09-02 21:06 GMT+03:00 Rachel :

> Hi,
>
> I evaluated Sqitch months ago and I think you can try to update databases
> from Jenkins, because of these reasons:
>
>- Jenkins includes Git Plugin to download code from Git repository.
>- Sqitch is based on shell commands and Jenkins includes possibility
>of writing them: Build > Execute shell. An option to execute Sqitch
>commands in Jenkins is to install Sqitch client with the same user you
>installed Jenkins (evaluate another options according to your environment).
>
> Finally, ensure database connection from Jenkins server.
>
> Please, tell me if you get it.
>
> Best regards,
> Rachel
>
>
> El miércoles, 31 de agosto de 2016, 15:13:54 (UTC+2), Виталий Фёдоров
> escribió:
>>
>> Greetings, post my question here, because no information found at all in
>> the net:
>> I have next workflow:
>> 1. User commit code to the git.
>> 2. User use tool sqitch (http://sqitch.org/) (not advertisement) for
>> helping commit sql files. Also this sqitch tracks which sql files need to
>> run before the other
>> 3. After it jenkins should deploy sql files from git in production and
>> update database
>> Is it real to update DB with Jenkins? I have some experience in working
>> with Jenkins, but have no idea, where to start in this task.
>> Best regards!
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/S-_nJYmLZdE/unsubscribe.
> To unsubscribe from this group and all its topics, 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/848c4fa7-1efc-4946-ae44-3d1c267d7f5d%40googlegroups.
> com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAJgSsbSYE2MQx90d_Z2cSFXCma5%3D1VjazFQ3rMT-YTrQu33bAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: Doesn't always get commit authors in emailextrecipients

2016-09-06 Thread Sverre Moe
I followed the Pipeline examples for the email-ext plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples
There are 3 examples how to use emailextrecipients

Problem is only mail allows me to set the cc and bcc.

fredag 2. september 2016 16.13.03 UTC+2 skrev slide følgende:
>
> mail is using the mailer plugin, if you want to use email-ext, you need to 
> use emailext (see https://jenkins.io/doc/pipeline/steps/email-ext/).
>
> On Fri, Sep 2, 2016 at 1:36 AM Sverre Moe  > wrote:
>
>> There seems to be a lottery of some sort what I get 
>> from emailextrecipients
>>
>> I expect to get the authors from the commits it is building, but most of 
>> the times emailextrecipients gives me nothing.
>>
>> /**
>>  * Notify developers of failed build
>>  */
>> void notifyFailedBuild() {
>> final def projectName = packageInfo.getProjectName()
>> final def repositoryOwners = getRepositoryOwners(projectName)
>>
>> final def RECIPIENTS = emailextrecipients([
>> [$class: 'DevelopersRecipientProvider'],
>> [$class: 'CulpritsRecipientProvider'],
>> [$class: 'UpstreamComitterRecipientProvider']
>> ])
>>
>> final def SUBJECT = "${projectName} ${env.BRANCH_NAME} - Build 
>> #${env.BUILD_NUMBER} - FAILED!"
>> final def CONTENT = "Check console output at ${env.BUILD_URL} to 
>> view the results."
>>
>> if (RECIPIENTS != null && !RECIPIENTS.isEmpty()) {
>> mail to: RECIPIENTS, cc: repositoryOwners, bcc: "devops", replyTo
>> : "donot...@company.com ", subject: SUBJECT, body: CONTENT
>> } else {
>> mail to: repositoryOwners, bcc: "devops", replyTo: "
>> donot...@company.com ", subject: SUBJECT, body: CONTENT
>> }
>> }
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/f19567ce-1322-40ee-b9e3-822073762bc7%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/b7b18848-9280-4780-a246-a8cfe97ddfe5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: Doesn't always get commit authors in emailextrecipients

2016-09-06 Thread Slide
You can set cc and bcc in emailext using prefixes cc:some...@something.com,
bcc:someonee...@something.com

On Tue, Sep 6, 2016 at 9:16 AM Sverre Moe  wrote:

> I followed the Pipeline examples for the email-ext plugin:
>
> https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples
> There are 3 examples how to use emailextrecipients
>
> Problem is only mail allows me to set the cc and bcc.
>
> fredag 2. september 2016 16.13.03 UTC+2 skrev slide følgende:
>
>> mail is using the mailer plugin, if you want to use email-ext, you need
>> to use emailext (see https://jenkins.io/doc/pipeline/steps/email-ext/).
>>
>> On Fri, Sep 2, 2016 at 1:36 AM Sverre Moe  wrote:
>>
> There seems to be a lottery of some sort what I get from emailextrecipients
>>>
>>> I expect to get the authors from the commits it is building, but most of
>>> the times emailextrecipients gives me nothing.
>>>
>>> /**
>>>  * Notify developers of failed build
>>>  */
>>> void notifyFailedBuild() {
>>> final def projectName = packageInfo.getProjectName()
>>> final def repositoryOwners = getRepositoryOwners(projectName)
>>>
>>> final def RECIPIENTS = emailextrecipients([
>>> [$class: 'DevelopersRecipientProvider'],
>>> [$class: 'CulpritsRecipientProvider'],
>>> [$class: 'UpstreamComitterRecipientProvider']
>>> ])
>>>
>>> final def SUBJECT = "${projectName} ${env.BRANCH_NAME} - Build
>>> #${env.BUILD_NUMBER} - FAILED!"
>>> final def CONTENT = "Check console output at ${env.BUILD_URL} to
>>> view the results."
>>>
>>> if (RECIPIENTS != null && !RECIPIENTS.isEmpty()) {
>>>
>>
>>> mail to: RECIPIENTS, cc: repositoryOwners, bcc: "devops",
>>> replyTo: "donot...@company.com", subject: SUBJECT, body: CONTENT
>>> } else {
>>> mail to: repositoryOwners, bcc: "devops", replyTo: "
>>> donot...@company.com", subject: SUBJECT, body: CONTENT
>>> }
>>> }
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>
>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/f19567ce-1322-40ee-b9e3-822073762bc7%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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/b7b18848-9280-4780-a246-a8cfe97ddfe5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPiUgVcXHPWZ3CvGxdiN%3D5rt_D8Qy7V%2B%2BnDZURKz-XqGDQUHuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.