Skip to content

tektonCreateRaw - No such method error #319

@srirseshadri

Description

@srirseshadri

Describe your use-case which is not covered by existing documentation.

When following the pipeline as instructed, No such method ,even though plugin is available ( see in bold)

java.lang.NoSuchMethodError: No such DSL method 'tektonCreateRaw' found among steps [_OcAction, _OcContextInit, _OcWatch, ansiColor, archive, bat, build, catchError, checkout, compareVersions, .................swapSpace, tag, teamSlugFilter, tektonCreateRaw, text, textParam, timezone, tmpSpace, toolLocation, triggeredBy, unsecured, untrusted, upstream, url, userSeed, usernameColonPassword, usernamePassword, viewsTabBar, weather, withAnt, x509ClientCert, zip] or globals [currentBuild, env, openshift, params, pipeline, scm]

Not sure what is missing

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

This is the code snippet which is followed

pipeline {
agent any
stages {
stage('Stage') {
steps {
checkout scm
tektonCreateRaw(inputType: 'FILE', input: '.tekton/pipeline.yaml')
}
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions