Fwd: Is any possible to get SVN revision number of previous build.

2015-07-02 Thread Rory Gao
Hi there,

I have built a build pipeline on Jenkins. Currently I have a demand that a
job is triggered by the upstream job, then check the svn is changed or not,
if not, do not execute build action.

My idea is I getting svn revision number of previous build and then use
script to do the decision. I cannot use the poll scm to trigger the job
because each job depends on upstream job.

It is possible to do that?

-- 
Thanks,
Rory



-- 
Thanks,
Rory

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


Jenkins to Jira with REST

2015-07-02 Thread Dan Zieber
Atlassian is removing the SOAP interface to Jira in version 7; the Jira 
Plugin uses SOAP.  Is their an alternative plugin that uses the REST api, 
or are their plans to update that plugin to use REST?

-- 
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/3326d056-5b06-400c-a380-970e4ff22f05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What Jenkins copies from slave to master when a build finishes?

2015-07-02 Thread corneil.duples...@gmail.com
There are multiple plugins that can help with the kind of thing you want to
do.


https://wiki.jenkins-ci.org/display/JENKINS/Copy+Data+To+Workspace+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin


The build output and the results record by plugins like xUnit will be sent
to master.
If you want to preserve any files you will need to send them to a specific
location using one of the 'Publish over' plugins and then use
copy-data-to-workspace or copy-to-slave plugins to restore the files at
start of build.

The workspace should be treated as potential throwaway and it is a bonus if
it has been preserved.

If you want to ensure the output artifacts are preserved enable 'Archive
artifacts' or publish your artifacts to a binary repository like
Artifactory, Archiva or Nexus.



[image: --]
Corneil du Plessis
[image: https://]about.me/corneil


On 2 July 2015 at 00:15, Alan Evangelista  wrote:

> EP> The Jenkins book is correct, but the terminology can be misleading.
> Artifacts and build results will indeed be
> > stored on the Jenkins master. However, "build results" include only
> success/failure, console log, and other things
> > Jenkins and your plugins use to perform their functions. "Artifacts"
> will only include those files specifically designated
> >  as artifacts in "Archive the artifacts" under post-build steps. Any
> other files in the workspace will not be transferred.
>
> That was very clarifying, thanks!
>
> I was wrong before, there was a NFS share between the master and the
> slave, that explains the behavior I was seeing.
>
> --
> 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/8b56c279-b13f-4de6-afee-36b4dea5e042%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/CACPng9YHteoQSD%2BbEMgN0gPs%2B-%2BAiuX3mNdCrDSR9w_yH-oL%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sudden increase in build times of Maven-style job

2015-07-02 Thread Mukarram Baig
Hello guys,

Is there any logging that will help us get to the bottom of the problem 
here?



On Thursday, 18 June 2015 12:37:27 UTC-4, Mukarram Baig wrote:
>
> I am also seeing the same behavior and renaming the build job brought the 
> time back into a reasonable range. Is there any logging that can be turned 
> on so that we can get some clues on the culprit? 
>
> Thanks!
>
> On Monday, 8 June 2015 09:52:32 UTC-4, Somya wrote:
>>
>> Hi,
>>
>>  
>>
>> I have a Maven build job setup in Jenkins, with following notable configs 
>> :
>>
>>  
>>
>> · It is a multi-module job with 75 modules
>>
>> · It is built incrementally (build only changed modules)
>>
>> · Automatic artifact archiving is disabled
>>
>> · “Resolve Dependencies during Pom parsing” and “Process Plugins 
>> during Pom parsing” are disabled.
>>
>>  
>>
>> The build time is approx *20 mins*. However, from some time the build 
>> time has* drastically increased to 1 hr 15 mins*. The current build 
>> number is about *1450 *and I am preserving only *3 old builds*. My 
>> question is why there is such high increment in build times suddenly? 
>>
>>  
>>
>> The things I have tried and observed so far :
>>
>>  
>>
>> · The timestamping of build output shows that major time is 
>> being spent in "*Parsing POMs*" (approx 30 mins) and "*Metadata 
>> collection*" step (approx 20 mins).
>>
>> · A full build, instead of an incremental build, also takes 
>> about 1 hr 20 mins.
>>
>> · I cleaned up all the existing fingerprints data and tried 
>> rebuilding the project. This had no impact on the build time.
>>
>> · I also tried building the job on a dedicated slave, in case 
>> the problem was due to resource availability. This had no impact on build 
>> times.
>>
>>  
>>
>> The only thing that worked was renaming the job itself. After renaming 
>> build are completing again in approx 20 mins. But I am not sure if this is 
>> an ideal solution. Also I don't understand the reason behind this approach 
>> of renaming the job. Does anyone have an idea as to why the build times 
>> increased and how to fix this ? 
>>
>>
>> I am using *Jenkins v1.560* and *maven project plugin v2.0.* Upgrading 
>> Maven plugin or Jenkins is not an option for me now.
>>
>>  
>>
>> Thanks,
>>
>> Somya
>>
>

-- 
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/b24dde8a-3385-4c41-8305-987ffd2aa6a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Chris Selwyn
As you say, when you use telnet port 587 (or port 25 for that matter) you get a 
plain text connection.
If you then type "EHLO whatever", you will get the capabilities of the SMTP 
server.
You will see that it contains STARTTLS capability.

I suggest that you need to remove the "Use SSL" flag.
You should also add the flag " -Dmail.smtp.starttls.enable=true" to your 
Jenkins startup configuration to cause it to start a TLS connection in response 
to the STARTTLS capability.

That should get you a TLS connection.

There is some information at http://www.tune2wizard.com/linux-jenkins/.

Chris



On 02/07/2015 13:15, ozcaaa...@gmail.com wrote:
>
> I don't know what am I doing wrong, I'm searching the net for hours. Anyways, 
> here is my e-mail setup for Jenkins. I'm not able to send any mails. When I 
> click "Test Configuration", I get the
> following error.
>
> I changed the STMP Port to 25 and still get the same error.
>
> 
>
> And btw I typed |telnet smtp.live.com 587| to my console ant the output was:
>
> |Trying 65.55.163.152...
> Connected to smtp.glbdns2.microsoft.com.
> Escape character is '^]'.
> 220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
> 8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700 
> Connection closed by foreign host.
> |
> |
>
> What am I missing? What is the correct configuration? Thanks in advance!
>
> |
>
> -- 
> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/5595650E.7080602%40selwyn-family.me.uk.
For more options, visit https://groups.google.com/d/optout.


Re: Cloud alternatives for hosting Jenkins + build slaves Windows, OS X, and maybe Linux ? Snapshot capability.

2015-07-02 Thread Ed of the Mountain
Good point Richard.

I think I need to lobby IT to purchase a dedicated VM host server for 
software build and test and I must have vSphere support.

-Ed

On Wednesday, July 1, 2015 at 4:08:37 PM UTC-5, Richard Bywater wrote:
>
> Just as an aside and not a direct help, but are you sure that you'd be 
> able to use Amazon/CloudBees/etc. in your company for the purpose you want? 
> Sounds to me that if the IT department aren't willing to give the relevant 
> controls to you to run VMs internally, then the chance of opening up 
> network access from the company network to a cloud provider and sending 
> company stuff out there is kind of unlikely.
>
> Just my 2 cents :)
>
> Richard.
>
> On Thu, 2 Jul 2015 at 07:09 Ed of the Mountain  > wrote:
>
>> The only reason I want to move to cloud is because my IT department will 
>> not give me control of the VMs I wanted to host on their ESXi 5.5 
>> infrastructure. They refuse to give me vSphere  client access.  It wants to 
>> limit me to Remote Desktop and SSH.
>>
>> However I would love to make backup my IT department's problem. Yet if I 
>> cannot setup new VMs and take VM snapshots I do not see how I can manage 
>> the build system efficiently.
>>
>> I need to create a master Jenkins plus several Jenkins slave VM's plus a 
>> dozen or so clean VM's for software installation and smoke testing.  
>>
>> I need to research Amazon and Cloud Bees and such.  I was hoping someone 
>> here had used something like this with Jenkins and could share their 
>> feedback.
>>
>> -Ed
>>
>>
>> On Saturday, June 20, 2015 at 4:17:33 AM UTC-5, Arun Bhosale wrote:
>>>
>>> Hi Ed,
>>>
>>> In my compnay we use internal cloud infra that is based on Cloud 
>>> Platform(CP). It is very easy to use, but a bit difficult to build and 
>>> maintain.
>>> My Jenkins is on one such VM that is hosted on CP. It works for me well.
>>>
>>> Before moving to cloud, if you the infra, why not use Oracle VirtualBox?
>>>
>>>
>>>
>>> On Thursday, 18 June 2015 20:14:58 UTC+5:30, Ed of the Mountain wrote:

 Has anyone had a good experience about moving into the cloud?  What are 
 some alternatives?


 How hard was it for you to create new VMs using your own Linux ISO 
 images or MSDN Windows ISO images?


 My IT department is refusing to grant access to vSphere.  They want to 
 confine me to remote desktop.  Without easy snapshot capability through 
 vSphere the benefits of a build infrastructure diminish.  Plus I cannot 
 quickly setup new VMs on my own.

 I really wish what I had setup at my last company.  A dual Xeon blade 
 server with 32GB RAM dedicated to software building,

 Thanks in advance for any feedback,

 -Ed

>>>  -- 
>> 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/cc7f97ce-f051-42ac-a1f6-55dff6b19b4d%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/1ba51376-68d1-44b5-a2b4-40f48c91341c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Maximilian Hill
There are some workarounds in the comments of the issue.
Am 02.07.2015 16:52 schrieb :

>
> You were right, I still get error but differently:
>
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS
> command first
>
> at
> com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
> at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)
> at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)
> at javax.mail.Transport.send0(Transport.java:195)
> at javax.mail.Transport.send(Transport.java:124)
> at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:522)
> at sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
> at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
> at
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
> at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
> 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:848)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
> at
> com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
> at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:117)
> .
> .
> .
>
> And I read the post you send but, I don't know how to change the java mail
> api settings.
>
> Thanks,
>
> Ozcan
>
>
>  --
> 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/1baf0e14-fb9f--b800-27d8108400bb%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/CAFYMSeArjV57rsjk%3DKCkTDjv2Zs6pmhqv0rhk5Lctv23g_31VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread ozcaaan94

You were right, I still get error but differently:

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS 
command first

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:522)
at sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
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:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
at 
com.cloudbees.jenkins.support.slowrequest.SlowRequestFilter.doFilter(SlowRequestFilter.java:37)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:117)
.
.
.

And I read the post you send but, I don't know how to change the java mail 
api settings. 

Thanks,

Ozcan


-- 
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/1baf0e14-fb9f--b800-27d8108400bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to sync jobs in Jenkins "pipeline"

2015-07-02 Thread Jean-Francois Bibeau
Here's a use case I have and am wondering if it's possible in Jenkins.

I am setting up a build pipeline that has a few jobs linked downstream.

It looks like a typical pipeline: build -> deploy -> various tests -> 
publish

I use Folder Templates for "Build", "Test", and "Publish", and Job 
Templates for each job within, so it looks something like this:

Master Template

- Build Folder Template
--- Build Job Template
--- Deploy Job Template

- Test Folder Template
--- Unit Test Job Template
--- Regression Test Job Template

- Publish Folder Template
--- Publish Artifact Job Template

So when I instantiate from "Master Template", I get 3 folders with jobs in 
each (jobs get created via the folder template's "Initial Activity" 
section).

We build multiple apps, so there are multiple instances of this pipeline. 
My question is: If I want to add a new Job, for example a new type of Test, 
is there a way for Jenkins (via templates or otherwise), to automatically 
add that job to all previous instances of the pipeline?

If I modify the master template then all *future* instances will have the 
job, but I'd need to find a way to add that job to all existing apps 
manually, which would be tedious. Any ideas?

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/542688a0-9e03-4fc9-ac47-ff909fa964c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread ozcaaan94
I tried 465 with ssl disabled then enabled. In both situations I still get 
the same error:

javax.mail.MessagingException: Could not connect to SMTP host: 
smtp.live.com, port: 465;
  nested exception is:
java.net.SocketTimeoutException: connect timed out
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)

On Thursday, July 2, 2015 at 4:32:36 PM UTC+3, Richard Mortimer wrote:
>
> Try using port 465 instead of 587 in the SMTP Port field. That's the 
> usual direct SSL port for SMTP. 
>
> Regards 
>
> Richard 
>
> On 02/07/2015 13:34, ozca...@gmail.com  wrote: 
> > Hey! 
> > 
> > You are right. But whch one is the correct port, how do I choose? 
> > 
> > Thanks, 
> > Ozcan 
> > 
> > On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote: 
> > 
> > Hi 
> > 
> > Take a look at line 3 of the error message. Possibly that the 
> > choosen port is not the port for ssl connections. 
> > 
> > Regards 
> > Max 
> > 
> > Am 02.07.2015 14:15 schrieb >: 
> > 
> > I don't know what am I doing wrong, I'm searching the net for 
> > hours. Anyways, here is my e-mail setup for Jenkins. I'm not 
> > able to send any mails. When I click "Test Configuration", I get 
> > the following error. 
> > 
> > I changed the STMP Port to 25 and still get the same error. 
> > 
> > <
> https://lh3.googleusercontent.com/-AnDvujXZAOo/VZUrLl5UUCI/Aek/sxUAo6Or6T8/s1600/uPldQ.png>
>  
>
> > 
> > And btw I typed |telnet smtp.live.com  
> > 587| to my console ant the output was: 
> > 
> > |Trying 65.55.163.152... Connected to smtp.glbdns2.microsoft.com 
> > . Escape character is '^]'. 
> > 220 BLU437-SMTP76.smtp.hotmail.com 
> >  Microsoft ESMTP MAIL 
> > Service, Version: 8.0.9200.16384 ready at Thu, 2 Jul 2015 
> > 04:31:09 -0700 Connection closed by foreign host. | 
> > 
> > | 
> > 
> > What am I missing? What is the correct configuration? Thanks in 
> > advance! 
> > 
> > | 
> > 
> > -- 
> > 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/jenkinsci-users/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> > 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-use...@googlegroups.com  
> > . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/jenkinsci-users/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> > 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/94d70b72--4e59-b007-c04e32da590f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Kerberos SSO Plugin - User not registered

2015-07-02 Thread Jan Ciupka


Hello Everybody,

I struggle to set up the Kerberos SSO plugin correctly. I proceed as 
described in the guide above but every time I try to connect to jenkins 
using Kerberos SSO it fails and I am at the login prompt. In the output 
messages of my jenkins I see serveral messages of the type

*com.sonymobile.jenkins.plugins.kerberossso.KerberosSSOFilter doFilter*

*WARNING: Username  not registered by Jenkins*

However I can log in with the very same credentials ( of the Active 
Directory user MyTestUser) via the Jenkins login prompt. I am at a loss why 
the plugin filters out my user for SSO.

The rest of the setup seems OK, when I start Jenkins I see the message "*Will 
use keytab. [Krb5LoginModule] authentication succeeded. Commit succeeded.*" 
Also, after the clients attempt to connect to Jenkins via SSO it has a 
Kerberos  ticket for the *HTTP/...* service in its credentials cache. So 
the browser setup seems ok (I use Firefox). So the only problem seems the 
filtering of the plugin. 

Maybe someone has an idea.

best wishes

-- 
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/1d357447-6d4b-4cc3-8d9e-13cdf85880ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Richard Mortimer
Try using port 465 instead of 587 in the SMTP Port field. That's the
usual direct SSL port for SMTP.

Regards

Richard

On 02/07/2015 13:34, ozcaaa...@gmail.com wrote:
> Hey!
> 
> You are right. But whch one is the correct port, how do I choose?
> 
> Thanks,
> Ozcan
> 
> On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote:
> 
> Hi
> 
> Take a look at line 3 of the error message. Possibly that the
> choosen port is not the port for ssl connections.
> 
> Regards
> Max
> 
> Am 02.07.2015 14:15 schrieb >:
> 
> I don't know what am I doing wrong, I'm searching the net for
> hours. Anyways, here is my e-mail setup for Jenkins. I'm not
> able to send any mails. When I click "Test Configuration", I get
> the following error.
> 
> I changed the STMP Port to 25 and still get the same error.
> 
> 
> 
> 
> And btw I typed |telnet smtp.live.com 
> 587| to my console ant the output was:
> 
> |Trying 65.55.163.152... Connected to smtp.glbdns2.microsoft.com
> . Escape character is '^]'.
> 220 BLU437-SMTP76.smtp.hotmail.com
>  Microsoft ESMTP MAIL
> Service, Version: 8.0.9200.16384 ready at Thu, 2 Jul 2015
> 04:31:09 -0700 Connection closed by foreign host. |
> 
> |
> 
> What am I missing? What is the correct configuration? Thanks in
> advance!
> 
> |
> 
> -- 
> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%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/55953D5E.3020505%40oldelvet.org.uk.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Maximilian Hill
Did you try to disable ssl for testing?

Max
Hey!

You are right. But whch one is the correct port, how do I choose?

Thanks,
Ozcan

On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote:
>
> Hi
>
> Take a look at line 3 of the error message. Possibly that the choosen port
> is not the port for ssl connections.
>
> Regards
> Max
> Am 02.07.2015 14:15 schrieb :
>
>> I don't know what am I doing wrong, I'm searching the net for hours.
>> Anyways, here is my e-mail setup for Jenkins. I'm not able to send any
>> mails. When I click "Test Configuration", I get the following error.
>>
>> I changed the STMP Port to 25 and still get the same error.
>>
>>
>> 
>>
>> And btw I typed telnet smtp.live.com 587 to my console ant the output
>> was:
>>
>> Trying 65.55.163.152...
>> Connected to smtp.glbdns2.microsoft.com.
>> Escape character is '^]'.
>> 220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
>> 8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700
>> Connection closed by foreign host.
>>
>> What am I missing? What is the correct configuration? Thanks in advance!
>>
>>  --
>> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%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/CAFYMSeCP65QUaAzFR5Qg18yxxjqKLZ-JLjiY%2BsO4OS_Ud0duaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Faizan Javed
try 465 port

On Thursday, July 2, 2015 at 5:34:36 PM UTC+5, ozca...@gmail.com wrote:
>
> Hey!
>
> You are right. But whch one is the correct port, how do I choose?
>
> Thanks,
> Ozcan
>
> On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote:
>>
>> Hi
>>
>> Take a look at line 3 of the error message. Possibly that the choosen 
>> port is not the port for ssl connections.
>>
>> Regards
>> Max
>> Am 02.07.2015 14:15 schrieb :
>>
>>> I don't know what am I doing wrong, I'm searching the net for hours. 
>>> Anyways, here is my e-mail setup for Jenkins. I'm not able to send any 
>>> mails. When I click "Test Configuration", I get the following error.
>>>
>>> I changed the STMP Port to 25 and still get the same error.
>>>
>>>
>>> 
>>>
>>> And btw I typed telnet smtp.live.com 587 to my console ant the output 
>>> was:
>>>
>>> Trying 65.55.163.152...
>>> Connected to smtp.glbdns2.microsoft.com.
>>> Escape character is '^]'.
>>> 220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
>>> 8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700 
>>> Connection closed by foreign host.
>>>
>>> What am I missing? What is the correct configuration? Thanks in advance!
>>>
>>>  -- 
>>> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/bf69e7ce-4bab-42f2-b030-7f3512eb44a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread ozcaaan94
Hey!

You are right. But whch one is the correct port, how do I choose?

Thanks,
Ozcan

On Thursday, July 2, 2015 at 3:31:13 PM UTC+3, Maximilian Hill wrote:
>
> Hi
>
> Take a look at line 3 of the error message. Possibly that the choosen port 
> is not the port for ssl connections.
>
> Regards
> Max
> Am 02.07.2015 14:15 schrieb >:
>
>> I don't know what am I doing wrong, I'm searching the net for hours. 
>> Anyways, here is my e-mail setup for Jenkins. I'm not able to send any 
>> mails. When I click "Test Configuration", I get the following error.
>>
>> I changed the STMP Port to 25 and still get the same error.
>>
>>
>> 
>>
>> And btw I typed telnet smtp.live.com 587 to my console ant the output 
>> was:
>>
>> Trying 65.55.163.152...
>> Connected to smtp.glbdns2.microsoft.com.
>> Escape character is '^]'.
>> 220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
>> 8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700 
>> Connection closed by foreign host.
>>
>> What am I missing? What is the correct configuration? Thanks in advance!
>>
>>  -- 
>> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/148f3bcf-1cd8-46a4-8555-5ef24b6673c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mail configuration for hotmail

2015-07-02 Thread Maximilian Hill
Hi

Take a look at line 3 of the error message. Possibly that the choosen port
is not the port for ssl connections.

Regards
Max
Am 02.07.2015 14:15 schrieb :

> I don't know what am I doing wrong, I'm searching the net for hours.
> Anyways, here is my e-mail setup for Jenkins. I'm not able to send any
> mails. When I click "Test Configuration", I get the following error.
>
> I changed the STMP Port to 25 and still get the same error.
>
>
> 
>
> And btw I typed telnet smtp.live.com 587 to my console ant the output was:
>
> Trying 65.55.163.152...
> Connected to smtp.glbdns2.microsoft.com.
> Escape character is '^]'.
> 220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
> 8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700
> Connection closed by foreign host.
>
> What am I missing? What is the correct configuration? Thanks in advance!
>
>  --
> 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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%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/CAFYMSeATQsmrjxvXL-fEfQew1dmPFXcyDOa%2B7ejEkiVePqxQBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Mail configuration for hotmail

2015-07-02 Thread ozcaaan94


I don't know what am I doing wrong, I'm searching the net for hours. 
Anyways, here is my e-mail setup for Jenkins. I'm not able to send any 
mails. When I click "Test Configuration", I get the following error.

I changed the STMP Port to 25 and still get the same error.



And btw I typed telnet smtp.live.com 587 to my console ant the output was:

Trying 65.55.163.152...
Connected to smtp.glbdns2.microsoft.com.
Escape character is '^]'.
220 BLU437-SMTP76.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 
8.0.9200.16384 ready at  Thu, 2 Jul 2015 04:31:09 -0700 
Connection closed by foreign host.

What am I missing? What is the correct configuration? Thanks in advance!

-- 
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/33a12cbd-ce9b-4d32-9ef8-cd2ac86154e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Maven artifact consistency when using multiple slaves

2015-07-02 Thread Christian Flamm
Hi,

we're using a couple of slaves to build our many branches "on-push". There 
is no fix assignment between slave node and branch-building job, so it will 
happen regularly that a build job is run on a different node then the build 
job before.

Each job stores its Maven artifacts in a job-specific Maven repository - 
which is not only job-specific but unfortunately also slave-node-specific.

Scenario: 

   - Maven reactor build job *n *of branch *B *runs on slave *x*. Created 
   artifacts are stored in the job-specific Maven repository for branch *B* 
   on node *x*.
   - Maven reactor build job *n+1 *starts on slave node *y*. It determines 
   which modules to build - and more importantly - which not, since those 
   modules' artifacts have been built during job *n*. Unfortunately those 
   built artifacts have been stored on node *x*. Node *y* may have 
   artifacts older than build *n*, but those from build *n* are missing
   - Jenkins job does an inconsistent reactor build of mixed version 
   modules.

Question: Is there a possible solution other than having a fixed assignment 
between branch job and slave node?


Thanks ind advance, 

Christian

-- 
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/935b8052-9805-4705-9b88-44a12a9c3721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Read-only permission for jenkins job configurations

2015-07-02 Thread Daniel Beck
Install the 'Extended Read Permission Plugin', or enable that permission 
manually using the system property hudson.security.ExtendedReadPermission as 
described on 
https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties

Then, you can assign a new 'Extended Read' permission that will allow to view, 
but not edit, the configuration.

On 02.07.2015, at 12:06, Milan Satpathy  wrote:

> Hi All,
> 
> There is a need for the team to review the build configuration steps. So is 
> there a way to set the job specific permissions (Project-based Matrix 
> Authorization Strategy) 
> in such a way that others can ONLY view the configurations. No body else 
> should be able to modify it.
> 
> 
> Thanks,
> Milan
> 
> -- 
> 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/9c3d5962-b3ac-4a0e-afa7-3216a2b7a83d%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/7AE901B1-A4E6-4225-AD54-D87DEAB6234B%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Read-only permission for jenkins job configurations

2015-07-02 Thread Milan Satpathy
Hi All,

There is a need for the team to review the build configuration steps. So is 
there a way to set the job specific permissions (Project-based Matrix 
Authorization Strategy) 
in such a way that others can ONLY view the configurations. No body else 
should be able to modify it.


Thanks,
Milan

-- 
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/9c3d5962-b3ac-4a0e-afa7-3216a2b7a83d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins move users

2015-07-02 Thread Faizan Javed
Is there any way I can move users created in Matrix-based security to 
Project-based Matrix Authorization Strategy?

-- 
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/7f8eb154-16fb-45db-a839-730aaf01cff7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.