Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tektonCreateRaw - No such method error #319

Open
srirseshadri opened this issue Apr 1, 2023 · 2 comments
Open

tektonCreateRaw - No such method error #319

srirseshadri opened this issue Apr 1, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@srirseshadri
Copy link

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')
}
}
}
}

@srirseshadri srirseshadri added the documentation Improvements or additions to documentation label Apr 1, 2023
@TashikMoin
Copy link

still same issue, any solution?
@garethjevans I am using 1.0.3 release of this plugin.

@TashikMoin
Copy link

@srirseshadri did u find any fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants