我正在尝试在詹金工作失败时创建吉拉问题
Building in workspace C:\Users\xxx\.jenkins\workspace\testjob
[testjob] $ sh -xe
C:\Users\xxx\AppData\Local\Temp\jenkins184155385801932804.sh
+ echos Hello
C:\Users\xxx\AppData\Local\Temp\jenkins184155385801932804.sh: echos: command not found
Build step 'Execute shell' marked build as failure
ERROR: Build step failed with exception
java.lang.NullPointerException
at hudson.plugins.jira.JiraSession.createIssue(JiraSession.java:413)
at hudson.plugins.jira.JiraCreateIssueNotifier.createJiraIssue(JiraCreateIssueNotifier.java:202)
at hudson.plugins.jira.JiraCreateIssueNotifier.currentBuildResultFailure(JiraCreateIssueNotifier.java:357)
at hudson.plugins.jira.JiraCreateIssueNotifier.perform(JiraCreateIssueNotifier.java:157)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1841)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'JIRA: Create issue' marked build as failure
Finished: FAILURE