jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
85 stars 66 forks source link

构建后操作无法增加allure #373

Open lakuite opened 1 week ago

lakuite commented 1 week ago

Jenkins and plugins versions report

Environment ```text Jenkins: 2.401.3 OS: Linux - 5.4.0-196-generic Java: 17.0.12 - Ubuntu (OpenJDK 64-Bit Server VM) --- allure-jenkins-plugin:2.31.1 apache-httpcomponents-client-4-api:4.5.14-208.v438351942757 bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_ caffeine-api:3.1.8-133.v17b_1ff2e0599 credentials:1319.v7eb_51b_3a_c97b_ credentials-binding:642.v737c34dea_6c2 display-url-api:2.204.vf6fddd8a_8b_e9 git:5.2.1 git-client:4.6.0 gson-api:2.10.1-15.v0d99f670e0a_7 instance-identity:201.vd2a_b_5a_468a_a_6 jackson2-api:2.17.0-379.v02de8ec9f64c jakarta-activation-api:2.1.3-1 jakarta-mail-api:2.1.3-1 javax-activation-api:1.2.0-7 javax-mail-api:1.6.2-10 jaxb:2.3.9-1 json-api:20240205-27.va_007549e895c localization-support:1.2 localization-zh-cn:371.v23851f835d6b_ mailer:470.vc91f60c5d8e2 mina-sshd-api-common:2.12.1-101.v85b_e08b_780dd mina-sshd-api-core:2.12.1-101.v85b_e08b_780dd plain-credentials:182.v468b_97b_9dcb_8 scm-api:676.v886669a_199a_a_ script-security:1365.v4778ca_84b_de5 snakeyaml-api:2.3-123.v13484c65210a_ ssh-credentials:337.v395d2403ccd4 structs:325.vcb_307d2a_2782 trilead-api:2.142.v748523a_76693 variant:60.v7290fc0eb_b_cd workflow-scm-step:427.v4ca_6512e7df1 workflow-step-api:639.v6eca_cd8c04a_a_ ```

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu

Reproduction steps

1.jenkins.war启动 2.插件列表搜索allure,安装,重启jenkins Image

3.Tools --> Allure Commandline 选择 From Maven Central,2.31.0 Image

4.进入job,新增构建后操作 Image

Expected Results

构建后操作中能够新增allure相关项

Actual Results

构建后操作中无allure内容 Image

Anything else?

1.jenkins是直接装在服务器上的,未使用docker等环境 2.服务器上allure已安装 Image

Are you interested in contributing a fix?

No response

emtemtemt commented 4 days ago

Image

emtemtemt commented 4 days ago

下载旧版本的allure插件,然后本地导入。下载地址:https://mirrors.aliyun.com/jenkins/plugins/allure-jenkins-plugin/2.30.3/