[JIRA] (JENKINS-31155) Workflow shared library improvements
Title: Message Title gitt commented on JENKINS-31155 Re: Workflow shared library improvements We currently do not use cps-global-lib and store our shared modules in SCM because of lack of versioning support in cps-global-lib. We then checkout the files from SCM and use load step to load them in Jenkinsfiles in different pipelines. My question is: if you implement the feature as described above (seems exactly what many teams need), will it replace cps-global-lib? And do you have any particular timetable for this feature? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33185) Visualize parallel steps within a Pipeline Stage
Title: Message Title gitt edited a comment on JENKINS-33185 Re: Visualize parallel steps within a Pipeline Stage You can try the new Jenkins Pipeline GUI: https://jenkins.io/projects/blueocean/. It has already support for the parallel steps visualization. The Project Blue Ocean is still in alpha, but is under active development: https://jenkins.io/blog/2016/07/19/blue-ocean-update/. It is available in the experimental update center: http://updates.jenkins-ci.org/experimental/update-center.json .GitHub: https://github.com/jenkinsci/blueocean-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-33185) Visualize parallel steps within a Pipeline Stage
Title: Message Title gitt commented on JENKINS-33185 Re: Visualize parallel steps within a Pipeline Stage You can try the new Jenkins Pipeline GUI: https://jenkins.io/projects/blueocean/. It has already support for the parallel steps visualization. It is available in the experimental update center: http://updates.jenkins-ci.org/experimental/update-center.json Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [workflow-plugin] (JENKINS-28178) Option to disable sandbox in CpsScmFlowDefinition
Title: Message Title gitt commented on JENKINS-28178 Re: Option to disable sandbox in CpsScmFlowDefinition We develop Pipeline scripts (stored in SCM) using staging Jenkins instance and then use them on multiple production Jenkins instances. To do this we need to re-approve all methods one by one again on each of production Jenkins (including such non-harmful methods like "java.lang.String equalsIgnoreCase java.lang.String" or "java.util.Map containsKey java.lang.Object"). Would it be possible for the administrator user to export the list off all approvals from one Jenkins and import them to another instance (just copying scriptApproval.xml seems not to work because of hash)? If only administrator is allowed to do it, it would be secure since he could review the file before uploading and only previously approved methods would be allowed. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [workflow-plugin] (JENKINS-34313) Exceptions by parallel SCM checkout
Title: Message Title gitt created an issue Jenkins / JENKINS-34313 Exceptions by parallel SCM checkout Issue Type: Bug Assignee: Jesse Glick Components: workflow-plugin Created: 2016/Apr/18 3:29 PM Environment: Jenkins ver. 1.651.1 Pipeline plug-ins: ver. 1.15 Pipeline: SCM Step plug-in: ver. 1.15 SCM API Plugin: ver 1.1 Subversion Plug-in: ver. 2.5.6 Priority: Major Reporter: gitt In out pipeline we at first build multiple upstream Maven projects and then build the main project. Upstream projects are build in parallel: parallel( projA: { projects.buildDependency('projA') }, projB: { projects.buildDependency('projB') } ... ) projects.buildDependency() just checks-out each project from SVN and starts Maven build. The problem is that we often (in about 20% of builds) have errors caused by concurrent / parallel SVN check-outs. Sometimes it is ConcurrentModificationException and sometimes "SAXParseException: changelog11.xml; lineNumber: 1; columnNumber: 1; Premature end of file". See stacktraces below. As a temporary workar
[JIRA] [workflow-plugin] (JENKINS-31154) 2.0: provide better workflow visualization out of the box
Title: Message Title gitt commented on JENKINS-31154 Re: 2.0: provide better workflow visualization out of the box Baptiste Mathus thanks for the advise. I could install the plug-in from it. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [workflow-plugin] (JENKINS-31154) 2.0: provide better workflow visualization out of the box
Title: Message Title gitt commented on JENKINS-31154 Re: 2.0: provide better workflow visualization out of the box Thanks a lot for making this plug-in open source! Is it possible now to install the plug-in with Jenkins ver. 1.642.1? I can see the plug-in in the Plug-Ins Wiki but not in the list of available plug-ins directly in Jenkins. If it is not possible to install it from Jenkins Update site yet, is it possible to download the plug-in file to install it manually? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [workflow-plugin] (JENKINS-30744) multibranch issues if branch contains /
Title: Message Title gitt commented on JENKINS-30744 Re: multibranch issues if branch contains / I have a problem which might be related to this one. I use SVN with trunk and branches named like featureBranch1, featureBranch1, etc. (i.e. without / character in branch names). I try simple Jenkinsfile: env.MY_VAR1 = 'ABC' node('NODE_1') { bat "echo MY_VAR1 is set to %MY_VAR1% on NODE_1" } When I create a multibranch job, this script executes correctly for the trunk but always hangs for branches. Last what I see in console is: [Workflow] bat [branches%2FfeatureBranch1] Running batch script More details: In workspace folder (on Windows slave) folders named like branches%2FfeatureBranch1\.jenkins-05123d82 are created for each job. They have only 2 files jenkins-main.bat: echo MY_VAR1 is set to %MY_VAR1% on NODE_1 and jenkins-wrap.bat: cmd /c "c:\Dev\Jenkins\workspace\workflow-sample-multibranch\branches%2FfeatureBranch1\.jenkins-b9eefe38\jenkins-main.bat" > "c:\Dev\Jenkins\workspace\workflow-sample-multibranch\branches%2FfeatureBranch1\.jenkins-b9eefe38\jenkins-log.txt" 2>&1 echo %ERRORLEVEL% > "c:\Dev\Jenkins\workspace\workflow-sample-multibranch\branches%2FfeatureBranch1\.jenkins-b9eefe38\jenkins-result.txt" I use Jenkins 1.625.3, Workflow plug-in 1.12. Can %2F in folder name cause the batch command hanging? Add Comment
[JIRA] [build-failure-analyzer] (JENKINS-15948) Analyzer Icons aren't displayed if Jenkins isn't installed at root context.
gitt commented on JENKINS-15948 Analyzer Icons aren't displayed if Jenkins isn't installed at root context. Problem with "jenkins/jenkins" in the URL still exists in 1.10.0 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-16845) NullPointer in getPreviousBuild
gitt commented on JENKINS-16845 NullPointer in getPreviousBuild I get similar error with 1.509.1: I had several jobs created in Jenkins 1.501. The problem was that "Test Result Trend" chart was often not shown and in log file there were NullPointer/getPreviousBuild() exceptions. Then I upgraded to 1.509.1, deleted all old builds and "Test Result Trend" charts were shown again. But only for some time. After several new builds they disappeared and this is what i see in Jenkins log again: May 15, 2013 2:19:19 PM org.kohsuke.stapler.compression.CompressionFilter reportException WARNING: Untrapped servlet exception javax.servlet.ServletException: java.lang.NullPointerException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:719) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) ... Caused by: java.lang.NullPointerException at hudson.model.Run.getFullDisplayName(Run.java:711) at hudson.model.Run.toString(Run.java:706) at java.lang.String.valueOf(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:218) at hudson.tasks.test.AbstractTestResultAction.getPreviousResult(AbstractTestResultAction.java:163) at hudson.tasks.test.AbstractTestResultAction.buildDataSet(AbstractTestResultAction.java:246) at hudson.tasks.test.AbstractTestResultAction.doGraphMap(AbstractTestResultAction.java:217) at hudson.tasks.test.TestResultProjectAction.doTrendMap(TestResultProjectAction.java:108) at sun.reflect.GeneratedMethodAccessor2212.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:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) ... Or sometimes: May 16, 2013 10:06:30 AM hudson.ExpressionFactory2$JexlExpression evaluate WARNING: Caught exception evaluating: tr.previousResult!=null in /jenkins/view/Tests-Functional/job/FT_Web/. Reason: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor815.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTNENode.value(ASTNENode.java:55) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54) at org.apache.commons.jexl.parser.ASTExpressionExpression.value(ASTExpressionExpression.java:56) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) ... Caused by: java.lang.NullPointerException at hudson.model.Run.getFullDisplayName(Run.java:711) at hudson.model.Run.toString(Run.java:70
[JIRA] (JENKINS-16449) When a job hits 'Max # of builds to keep' Nunit Publisher starts to throw NPE
gitt edited a comment on JENKINS-16449 When a job hits 'Max # of builds to keep' Nunit Publisher starts to throw NPE We are getting the same exception in case of publishing JUnit results. But in our case "Max # of builds to keep" is not set. Builds which throw this exception are run on Windows slaves. As soon as we switched for these jobs from xUnit plug-in to standard "Publish JUnit test result report" the problem disappeared. Jenkins ver. 1.501 xUnit plug-in ver. 1.52 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-16449) When a job hits 'Max # of builds to keep' Nunit Publisher starts to throw NPE
gitt commented on JENKINS-16449 When a job hits 'Max # of builds to keep' Nunit Publisher starts to throw NPE We are getting the same exception in case of publishing JUnit results. But in our case "Max # of builds to keep" is not set. Builds which throw this exception are run on Windows slaves. As soon as we switched for these jobs from xUnit plug-in to standard "Publish JUnit test result report" the problem disappeared. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.