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

Tekton Client plugin always runs on the Jenkins controller (Jenkins Agent Support) #3

Open
oleg-nenashev opened this issue Aug 6, 2020 · 4 comments
Labels
bug Something isn't working enhancement Related to improving any arbitary thing

Comments

@oleg-nenashev
Copy link
Member

Tekton Client plugin steps is using the SimpleBuildStep API which requires provisioning of agent and workspace, Bit all steps actually run on the Jenkins server instance, Launcher remote calls are not invoked. It would be great to support actually running steps on agents

@oleg-nenashev oleg-nenashev added the bug Something isn't working label Aug 6, 2020
@oleg-nenashev
Copy link
Member Author

If you do NOT want to support running on agents:

@waveywaves waveywaves added this to the Just getting started milestone Aug 8, 2020
@oleg-nenashev oleg-nenashev changed the title Tekton Client plugin always runs on the Jenkins server Tekton Client plugin always runs on the Jenkins controller Aug 13, 2020
@waveywaves waveywaves modified the milestones: Alpha 1.0, Alpha 2.0 (Reworking a few things) Aug 22, 2020
@waveywaves waveywaves changed the title Tekton Client plugin always runs on the Jenkins controller Tekton Client plugin always runs on the Jenkins controller (feature: Jenkins Agent Support) Aug 22, 2020
@waveywaves waveywaves changed the title Tekton Client plugin always runs on the Jenkins controller (feature: Jenkins Agent Support) Tekton Client plugin always runs on the Jenkins controller (Jenkins Agent Support) Aug 22, 2020
@waveywaves waveywaves added the enhancement Related to improving any arbitary thing label Aug 22, 2020
@waveywaves waveywaves removed this from the Alpha 2.0 (Reworking a few things) milestone Oct 14, 2020
@oleg-nenashev
Copy link
Member Author

Example:

@jstrachan
Copy link
Contributor

the plugin now works both in a controller and agent; we can maybe close this now?

@garethjevans
Copy link
Contributor

@oleg-nenashev what I've noticed is that when I run this in a pipeline, it always requires an executor on the controller to start the PipelineRun, i'm guessing thats because we are using the perform method that takes in a FilePath workspace - I had to enable 2 executors on the controller on my test server to work around this (which is against recommendations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Related to improving any arbitary thing
Projects
None yet
Development

No branches or pull requests

4 participants