Skip to content

Snippet Generator not working #212

@theCrius

Description

@theCrius

Version report

Jenkins and plugins versions report:

Jenkins: 2.289.2
OS: Linux - 4.19.0-17-cloud-amd64
---
blueocean-git-pipeline:1.24.8
jsch:0.1.55.2
pipeline-milestone-step:1.3.2
pipeline-graph-analysis:1.10
trilead-api:1.0.13
gitlab-plugin:1.5.20
cloudbees-folder:6.15
gradle:1.36
envinject:2.4.0
jenkins-design-language:1.24.8
config-file-provider:3.8.0
blueocean-rest:1.24.8
scm-api:2.6.4
blueocean-rest-impl:1.24.8
plain-credentials:1.7
timestamper:1.13
google-oauth-plugin:1.0.5
parameterized-trigger:2.40
ws-cleanup:0.39
pipeline-github-lib:1.0
workflow-api:2.42
build-timeout:1.20
github-api:1.123
pipeline-rest-api:2.19
email-ext:2.82
ssh:2.6.1
embeddable-build-status:2.0.3
build-name-setter:2.2.0
bootstrap4-api:4.6.0-3
okhttp-api:3.14.9
caffeine-api:2.9.1-23.v51c4e2c879c8
cloudbees-bitbucket-branch-source:2.9.10
pipeline-input-step:2.12
bouncycastle-api:2.20
handlebars:3.0.8
role-strategy:3.1.1
publish-over:0.22
throttle-concurrents:2.2
rebuild:1.32
configuration-as-code:1.51
ssh-agent:1.22
blueocean:1.24.8
slack:2.47
jdk-tool:1.5
blueocean-pipeline-editor:1.24.8
resource-disposer:0.15
git-parameter:0.9.13
git:4.7.1
conditional-buildstep:1.4.1
jquery3-api:3.6.0-1
jaxb:2.3.0.1
credentials-binding:1.24
pipeline-model-api:1.8.4
copyartifact:1.46
plugin-util-api:2.2.0
ant:1.11
blueocean-personalization:1.24.8
jackson2-api:2.12.3
popper-api:1.16.1-2
pubsub-light:1.16
durable-task:1.36
active-directory:2.24
simple-theme-plugin:0.6
apache-httpcomponents-client-4-api:4.5.13-1.0
ldap:2.6
workflow-step-api:2.23
blueocean-github-pipeline:1.24.8
workflow-job:2.40
token-macro:2.15
oauth-credentials:0.4
checks-api:1.7.0
matrix-project:1.18
view-job-filters:2.3
blueocean-config:1.24.8
mailer:1.34
branch-api:2.6.4
pam-auth:1.6
git-server:1.9
git-client:3.7.1
envinject-api:1.7
lockable-resources:2.10
pipeline-model-definition:1.8.4
pipeline-model-extensions:1.8.4
workflow-durable-task-step:2.38
jjwt-api:0.11.2-9.c8b45b8bb173
google-kubernetes-engine:0.8.6
workflow-scm-step:2.12
matrix-auth:2.6.6
htmlpublisher:1.25
momentjs:1.1.1
handy-uri-templates-2-api:2.1.8-1.0
sshd:3.0.3
publish-over-ssh:1.22
built-on-column:1.1
structs:1.23
script-security:1.77
pipeline-stage-view:2.19
pipeline-stage-step:2.5
authorize-project:1.4.0
ssh-slaves:1.31.5
blueocean-core-js:1.24.8
display-url-api:2.3.5
github:1.33.1
external-monitor-job:1.7
blueocean-web:1.24.8
font-awesome-api:5.15.3-2
favorite:2.3.3
pipeline-stage-tags-metadata:1.8.4
run-condition:1.5
sse-gateway:1.24
blueocean-display-url:2.4.1
authentication-tokens:1.4
blueocean-bitbucket-pipeline:1.24.8
echarts-api:5.1.0-2
workflow-basic-steps:2.23
credentials:2.4.1
blueocean-dashboard:1.24.8
jquery:1.12.4-1
blueocean-jwt:1.24.8
variant:1.4
windows-slaves:1.8
maven-plugin:3.10
workflow-cps:2.91
dashboard-view:2.16
blueocean-events:1.24.8
javadoc:1.6
workflow-support:3.8
blueocean-pipeline-api-impl:1.24.8
pipeline-build-step:2.14
workflow-cps-global-lib:2.19
github-branch-source:2.10.4
ssh-credentials:1.18.1
workflow-multibranch:2.23
ace-editor:1.1
snakeyaml-api:1.27.0
workflow-aggregator:2.6
blueocean-commons:1.24.8
command-launcher:1.6
blueocean-i18n:1.24.8
thinBackup:1.10
blueocean-autofavorite:1.2.4
junit:1.49
antisamy-markup-formatter:2.1
blueocean-pipeline-scm-api:1.24.8
jenkins-multijob-plugin:1.36
  • What Operating System are you using (both controller, and any agents involved in the problem)?
Debian 10

Reproduction steps

  • Fresh install of Jenkins
  • Add this plugin
  • Configure a cluster from the plugin settings
  • Create a pipeline job
  • Open "configure"
  • At the very bottom, below the text area for the groovy code, click on Pipeline Syntax
  • Fill in the necessary data and click on Generate Pipeline Script

Results

Expected result:

The pipeline code to be used

Actual result:

This output step <object of type com.google.jenkins.plugins.k8sengine.KubernetesEngineBuilder>
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions