Jenkins with QTP
We recently integrated Jenkins' source control management with the QTP jobs. There is one defect. QTP does not exit at the end of any tests. This leaves a lock file in the workspace. If we configure each test to wipe out the workspace before getting the latest code from the repo, then jenkins throws an exception when it cannot delete the lock file. Current work-around: The QTP jobs are not configured to wipe out the workspace at the start of a build. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins Email notification support for microsoft online.
Check over here - http://stackoverflow.com/questions/11370327/jenkins-smtp-tsl I have commented that after following those steps, I get a permission issue. I am using Fedora core machine. You will see my comment with my name - Shreyas Joshi. Please comment or help here. Thanks SJ On Mon, Nov 25, 2013 at 11:39 PM, Richard Bywater wrote: > Perhaps I'm missing something but shouldn't SSL be enabled rather than > disabled otherwise it won't try and use it? > > Richard > > > On Tuesday, November 26, 2013, Shreyas Joshi wrote: > >> I have heard that JAVA by default doesn't support TLS. Also,Jenkins >> doesn't pass the argument TLS to JAVA. This makes TLS support not >> applicable. >> >> My problem is that my account - microsoft 365 has a SMTP server with the >> security >> TLS. When I am trying to configure it,it fails. >> >> After reading some blog, I have reconfigured the Jenkins configuration >> file. >> >> #JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true" >> #JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" >> JAVA_ARGS="-Dmail.smtp.starttls.enable=true" >> JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" >> >> Afterwards, I have restarted the Jenkins service. I am still facing the >> same issue but with the different error. I am running this Jenkins setup on >> my Fedora Core machine. Please help. >> >> The smtp server = smtp.office365.com >> Use SMTP Authentication is checked. >> Use SSL is unchecked. >> SSL Port is 587/ tried with empty also. >> >> On test configuration it fails. Please help me. >> >> Failed to send out e-mail >> >> com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not >> have permissions to send as this sender >> >> at com.sun.mail.smtp.SMTPTransport.issueSendCommand( >> SMTPTransport.java:2057) >> at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1862) >> at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1100) >> at javax.mail.Transport.send0(Transport.java:195) >> at javax.mail.Transport.send(Transport.java:124) >> at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:499) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke( >> NativeMethodAccessorImpl.java:57) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >> DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) >> 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:120) >> at org.kohsuke.stapler.NameBasedDispatcher.dispatch( >> NameBasedDispatcher.java:53) >> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) >> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) >> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) >> at org.kohsuke.stapler.NameBasedDispatcher.dispatch( >> NameBasedDispatcher.java:53) >> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) >> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) >> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) >> at org.kohsuke.stapler.Stapler.service(Stapler.java:225) >> 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:96) >> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain. >> doFilter(ServletHandler.java:1482) >> at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain. >> doFilter(ServletHandler.java:1482) >> at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter. >> java:84) >> at hudson.security.ChainedServletFilter.doFilter( >> ChainedServletFilter.java:76) >> at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain. >> doFilter(ServletHandler.java:1482) >> at org.kohsuke.stapler.compression.CompressionFilter. >> doFilter(CompressionFilter.java:46) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain. >> doFilter(ServletHandler.java:1482) >> at hudson.util.CharacterEncodingFilter.doFilter( >> CharacterEncodingFilter.java:81) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain. >> doFilter(ServletHandler.java:1474) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle( >> ServletHandler.java:499) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle( >> ScopedHandler.java:137) >> at org.eclipse.jetty.security.SecurityHandler.handle( >> SecurityHandler.java:533) >> at org.eclipse.jetty.server.se
GitHub OAuth FileNotFoundException: https://api.github.com/user/orgs
I had a Jenkins system all set up with authentication via GitHub OAuth, but today it suddenly stopped working. Whenever Jenkins attempts to authenticate a user, GitHub redirects back to http://jenkins.mycompany.com:8080/securityRealm/finishLogin?code=... and throws an exception: java.io.FileNotFoundException: https://api.github.com/user/orgs at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at org.kohsuke.github.Requester.parse(Requester.java:298) ... To convince myself I hadn't messed something up in my Jenkins config, I spun up a fresh Ubuntu 12.04 server, installed Jenkins 1.541 from the jenkins-ci.org apt repository, and installed the github-api (1.44) and github-oauth (0.14) plugins. I created a brand-new application in my GitHub account and set http://jenkins.mycompany.com:8080 as the homepage URL and http://jenkins.mycompany.com:8080/securityRealm/finishLogin as the application callback URL. I then set up the GitHub Authentication Plugin Security Realm with the Client ID and Client Secret from my GitHub application. I left the Web URI and API URI at their default values. On this new server the result is exactly the same. I do notice that the authorization scope GitHub is using is the default one for public read-only access (includes public user profile info, public repo info, and gists). So it makes sense that the /user/orgs query fails. What's not clear is whether (1) Jenkins should be requesting a broader authorization scope, (2) GitHub should be returning a broader authorization scope, (3) Jenkins shouldn't even be attempting to enumerate /user/orgs, or (4) something else. Any clues what the problem might be? Could this have something to do with it? http://developer.github.com/changes/2013-10-04-oauth-changes-coming/ -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to display archived maven artifacts on top level of job page rather than via modules subpage.
Well i thought i might just be using the tool in the wrong manner? I certainly don't remember having to manually configure artefact archiving at the last place i worked... On Tuesday, 26 November 2013 11:10:04 UTC+13, Daniel Beck wrote: > > You should create a Jira issue for this feature request instead of posting > this here. Unless this is intended to start a discussion? > > You could also try the Freestyle project type with Maven build step and > just archive things yourself. Apparently, it's less evil: > http://javaadventure.blogspot.de/2013/11/jenkins-maven-job-type-considered-evil.html > > > On 25.11.2013, at 22:21, Daniel Carter > > wrote: > > > Hello, > > > > In my maven jobs, i like to be able to click on a job and see the > archived artifacts. This works well if i manually specify an archive > artifacts post-build step with e.g. target/*.war. > > > > I would like the automatic archiving to do this, so i'm not archiving > things twice. > > > > To see the automatically archived artifacts i'd like to > > * open jenkins page > > * click on my maven project job > > > > But instead i have to > > * open jenkins page > > * click on my maven project job > > * click on the modules link on the left hand menu > > * click on my maven project again > > > > > > Jenkins seems to assume all jobs will represent a multi-module build > whereby one maven project builds many sub-modules. But here each job > typically builds a standard maven project so all the extra layers (and > extra email notifications) are un-needed. > > > > Thanks, > > Dan. > > > > > > -- > > 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 . > > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to display archived maven artifacts on top level of job page rather than via modules subpage.
You should create a Jira issue for this feature request instead of posting this here. Unless this is intended to start a discussion? You could also try the Freestyle project type with Maven build step and just archive things yourself. Apparently, it's less evil: http://javaadventure.blogspot.de/2013/11/jenkins-maven-job-type-considered-evil.html On 25.11.2013, at 22:21, Daniel Carter wrote: > Hello, > > In my maven jobs, i like to be able to click on a job and see the archived > artifacts. This works well if i manually specify an archive artifacts > post-build step with e.g. target/*.war. > > I would like the automatic archiving to do this, so i'm not archiving things > twice. > > To see the automatically archived artifacts i'd like to > * open jenkins page > * click on my maven project job > > But instead i have to > * open jenkins page > * click on my maven project job > * click on the modules link on the left hand menu > * click on my maven project again > > > Jenkins seems to assume all jobs will represent a multi-module build whereby > one maven project builds many sub-modules. But here each job typically > builds a standard maven project so all the extra layers (and extra email > notifications) are un-needed. > > Thanks, > Dan. > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
How to display archived maven artifacts on top level of job page rather than via modules subpage.
Hello, In my maven jobs, i like to be able to click on a job and see the archived artifacts. This works well if i manually specify an archive artifacts post-build step with e.g. target/*.war. I would like the automatic archiving to do this, so i'm not archiving things twice. To see the automatically archived artifacts i'd like to * open jenkins page * click on my maven project job But instead i have to * open jenkins page * click on my maven project job * click on the modules link on the left hand menu * click on my maven project again Jenkins seems to assume all jobs will represent a multi-module build whereby one maven project builds many sub-modules. But here each job typically builds a standard maven project so all the extra layers (and extra email notifications) are un-needed. Thanks, Dan. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins Email notification support for microsoft online.
Perhaps I'm missing something but shouldn't SSL be enabled rather than disabled otherwise it won't try and use it? Richard On Tuesday, November 26, 2013, Shreyas Joshi wrote: > I have heard that JAVA by default doesn't support TLS. Also,Jenkins > doesn't pass the argument TLS to JAVA. This makes TLS support not > applicable. > > My problem is that my account - microsoft 365 has a SMTP server with the > security > TLS. When I am trying to configure it,it fails. > > After reading some blog, I have reconfigured the Jenkins configuration > file. > > #JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true" > #JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" > JAVA_ARGS="-Dmail.smtp.starttls.enable=true" > JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" > > Afterwards, I have restarted the Jenkins service. I am still facing the > same issue but with the different error. I am running this Jenkins setup on > my Fedora Core machine. Please help. > > The smtp server = smtp.office365.com > Use SMTP Authentication is checked. > Use SSL is unchecked. > SSL Port is 587/ tried with empty also. > > On test configuration it fails. Please help me. > > Failed to send out e-mail > > com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have > permissions to send as this sender > > at com.sun.mail.smtp.SMTPTransport.issueSendCommand( > SMTPTransport.java:2057) > at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1862) > at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1100) > at javax.mail.Transport.send0(Transport.java:195) > at javax.mail.Transport.send(Transport.java:124) > at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:499) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > 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:120) > at org.kohsuke.stapler.NameBasedDispatcher.dispatch( > NameBasedDispatcher.java:53) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) > at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) > at org.kohsuke.stapler.NameBasedDispatcher.dispatch( > NameBasedDispatcher.java:53) > at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) > at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) > at org.kohsuke.stapler.Stapler.service(Stapler.java:225) > 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:96) > at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1482) > at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1482) > at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter. > java:84) > at hudson.security.ChainedServletFilter.doFilter( > ChainedServletFilter.java:76) > at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1482) > at org.kohsuke.stapler.compression.CompressionFilter. > doFilter(CompressionFilter.java:46) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1482) > at hudson.util.CharacterEncodingFilter.doFilter( > CharacterEncodingFilter.java:81) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain. > doFilter(ServletHandler.java:1474) > at org.eclipse.jetty.servlet.ServletHandler.doHandle( > ServletHandler.java:499) > at org.eclipse.jetty.server.handler.ScopedHandler.handle( > ScopedHandler.java:137) > at org.eclipse.jetty.security.SecurityHandler.handle( > SecurityHandler.java:533) > at org.eclipse.jetty.server.session.SessionHandler. > doHandle(SessionHandler.java:231) > at org.eclipse.jetty.server.handler.ContextHandler. > doHandle(ContextHandler.java:1086) > at org.eclipse.jetty.servlet.ServletHandler.doScope( > ServletHandler.java:428) > at org.eclipse.jetty.server.session.SessionHandler. > doScope(SessionHandler.java:193) > at org.eclipse.jetty.server.handler.ContextHandler. > doScope(ContextHandler.java:1020) > at org.eclipse.jetty.server.handler.ScopedHandle
Missing CLASSPATH & Stack Trace in Configure
Hi Two issues: A) I'm trying to build my first jenkins project and it's having CLASSPATH issues. It can't find ivy.jar which exists. After it fails I can go into the workspace and export CLASSPATH and ant runs fine. I tried: 1) Shell Command - export classpath = ... 2) Shell Batch - export java_home, ant_home, classpath 3) .Adding classpath to bash_profile of the jenkins users itself 4) In job Configure -> Build -> Invoke Ant -> Advance I tried adding in "-lib /usr/share/ant/lib" to - target: -lib /usr/share/ant/lib dist - javaopt: -Xmx256m -lib /usr/share/ant/lib B) If I go into Jenkins -> Manage -> Configure Systems on the bottom I see: Stack trace javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/jenkins/model/Jenkins/configure.jelly:59:84: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/lib/form/section.jelly:48:21: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/jenkins/model/Jenkins/configure.jelly:59:84: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/lib/form/section.jelly:48:21: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/lib/form/section.jelly:48:21: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:280) at org.kohsuke.stapler.jelly.groovy.Namespace.invokeMethod(Namespace.java:56) Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/tmp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/WEB-INF/lib/jenkins-core-1.541.jar!/lib/form/section.jelly:48:21: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) . Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:97) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) Caused by: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/MacroEvaluationException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2232) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: radaitor plugins and jenkins 1.539
David: I hope for you. Thanks for the quick response. 2013/11/24, David Resnick : > Hi Luis, > > I hope to check why radiatorview is not working with Jenkins 1.539 in the > next few days. > > - David > > > On Thursday, November 21, 2013 4:32:17 PM UTC+2, Luis Lopez wrote: >> >> hello people! >> >> i installed jenkins 1.539 and my radiator view don't save the jobs >> selected. I need show the jobs state in a display to my team project. >> The walldisplay consumes many resources on the machine where it is >> showing the status of jobs. >> >> Is there another way to show the status of jobs? >> >> i need your help soon >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Jenkins Email notification support for microsoft online.
I have heard that JAVA by default doesn't support TLS. Also,Jenkins doesn't pass the argument TLS to JAVA. This makes TLS support not applicable. My problem is that my account - microsoft 365 has a SMTP server with the security TLS. When I am trying to configure it,it fails. After reading some blog, I have reconfigured the Jenkins configuration file. #JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true" #JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" JAVA_ARGS="-Dmail.smtp.starttls.enable=true" JENKINS_JAVA_OPTIONS="-Dmail.smtp.starttls.enable=true" Afterwards, I have restarted the Jenkins service. I am still facing the same issue but with the different error. I am running this Jenkins setup on my Fedora Core machine. Please help. The smtp server = smtp.office365.com Use SMTP Authentication is checked. Use SSL is unchecked. SSL Port is 587/ tried with empty also. On test configuration it fails. Please help me. Failed to send out e-mail com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1862) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1100) at javax.mail.Transport.send0(Transport.java:195) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:499) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) 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:96) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) at
Taggin in Git using jenkins
Hi I have a build pipeline with around 10 modules to build , at the end of 10th module I want to tag the GIT with build pipeline build number Currently I added the following in post build script git tag ${BUILD_TAG} git push --tag but it tag with 10th module name and build number , which is not helpful If I want use build pipeline variables , how can I do that please advise Thanks Prashant -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Reg:How to find how many build failure & success using API
Hi All, How to find how many build failure & success using API Also, how to find build frequency Regards, Suresh -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Reg-How-to-find-how-many-build-failure-success-using-API-tp4682372.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Github Hooks with private Jenkins
Good Morning, I have a question about Github Hooks. I will build a connection between Github and my private Jenkins with Hooks. So, if a commit to a repository on github is made, a job on my Jenkins Server should start automatically. I know there is a solution for public Jenkins server, but I need one for my private system. Can someone tell me if this is generally possible? Thanks for help Stefan -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.