Comments (11)
Download updated plugin from here and test:
https://bitbucket.org/mamirov/jirareporter/issue-attachment/1/mamirov/jirareporter/1387191892.16/1/jirareporter.zip
How to use:
- Enable checkbox for editing template comment of JIRA;
- Also you have defined parameters:
*status.build*, *build.type.name*, *tests.results*, *teamcity.server.url*, *build.id*, *build.type*.
Example comment template:
*build.type.name* : *status.build*
*test.results*
Template example.
from jirareporter.
Не могу запустить на агенте:
Incompatible runner: JIRA Reporter
Можешь скомпилировать на предыдущей версии Java? Я полагаю проблема в том, что там 6ая версия Java. Проапдейтиить ее немогу, т.к. там помимо моего билдагента еще пачка сервисов, которые админю не я и они могут поотваливаться
В свою очередь на локальном компе у меня запускается отлично, спасибо.
from jirareporter.
Попробуй проверить, поменял на 6ую версию Java
Еще понятно ли по переменным, нормально ли указывать значения?
from jirareporter.
Статус билда: status.build
Имя билда: build.type.name
Результаты теста(если есть): tests.results
Адрес: teamcity.server.url/viewLog.html?buildId=build.id&tab=buildResultsDiv&buildTypeId=build.type
Тикеты: %ISSUES%
Вот так использую пока что.
Сейчас попробую на серваке, спасибо.
from jirareporter.
Incompatible runner: JIRA Reporter
Кстати ошибка скорее всего не на стороне сервера может быть, а на стороне агента где будет запускаться билд.
from jirareporter.
Так и есть, на сервере ругается на билдраннер агента:
Incompatible runner: JIRA Reporter
Пока не разрешил, с новым файлом то же самое.
from jirareporter.
Попробуй зайти в раздел своей билд конфигурации "Agents Requirements", там обычно пишется причина не запуска
Либо соответственно посмотреть лог файл у билд агента buildagent directory/logs/
from jirareporter.
ERROR - gins.spring.SpringPluginLoader - Failed to initialize spring context for plugin jirareporter
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.amirov.jirareporter.JIRARunner] for bean with name 'jiraRunner' defined in plugin: jirareporter#jirareporter-agent.jar!/META-INF/build-agent-plugin-jirareporter.xml: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: com/amirov/jirareporter/JIRARunner : Unsupported major.minor version 51.0
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1253)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1319)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:885)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at jetbrains.buildServer.plugins.spring.SpringPluginLoader.pluginClassesLoaded(SpringPluginLoader.java:72)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:115)
at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)
at $Proxy7.pluginClassesLoaded(Unknown Source)
at jetbrains.buildServer.plugins.PluginManagerImpl$2.visitPlugin(PluginManagerImpl.java:122)
at jetbrains.buildServer.plugins.PluginsCollection.foreachLoadedPlugins(PluginsCollection.java:107)
at jetbrains.buildServer.plugins.PluginManagerImpl.firePluginClassesLoaded(PluginManagerImpl.java:120)
at jetbrains.buildServer.plugins.PluginManagerImpl.loadPlugins(PluginManagerImpl.java:80)
at jetbrains.buildServer.agent.plugins.AgentPluginsLoader.initializePlugins(AgentPluginsLoader.java:63)
at jetbrains.buildServer.agent.AgentMain2.loadPlugins(AgentMain2.java:140)
at jetbrains.buildServer.agent.AgentMain2.main(AgentMain2.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:41)
Caused by: java.lang.UnsupportedClassVersionError: com/amirov/jirareporter/JIRARunner : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at jetbrains.buildServer.plugins.classLoaders.TeamCityClassLoader.doLoadClass(TeamCityClassLoader.java:68)
at jetbrains.buildServer.plugins.classLoaders.TeamCityClassLoader.loadClass(TeamCityClassLoader.java:37)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1271)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1242)
... 25 more
from jirareporter.
Да, проблема в версии явы, видимо у меня не скомилировалось предыдущей версией
Попробую еще раз
from jirareporter.
Обновил
from jirareporter.
Работает, спасибо!
from jirareporter.
Related Issues (13)
- Failed to start build runner 'jirareporter' HOT 29
- Failed builds cause failed jirareport build step HOT 2
- JIRA comment template questions HOT 3
- Error - Failed to start build runner HOT 9
- Adding source control commiter (user) to the Jira Comment.
- Plugin fails if issue is not found
- Get issue code from snapshot dependencies
- Issue is not related HOT 10
- exception startng jirareporter 0.1 HOT 10
- Status vector for issues vector
- Unexpected Error HOT 3
- Failed to start build runner 'jirareporter' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jirareporter.