Open DobriyDed opened 3 years ago
vscode 1.50.1 Jenkins 2.249.2 Jenkins Jack 1.1.0
Looks same as mine #38, seems it is caused by the CSRF protection feature in Jenkins
Potential duplicate of #38. Leaving open until milestone 1.1.1 is release and fix can be validated.
Hey @DobriyDed ,
If this is the CSRF protection issue, this should be fixed in 1.1.1. If you could validate the fix for me, I'd appreciate it.
@tabeyti Hi! Looks like main problem solved, can run tasks now
BUT if i try to pull job script from \SA\70.DockerTask or \SA\60.Jenkins_03 error occurs "Error running command extension.jenkins-jack.tree.pipeline.pullJobScript: jenkins: job.config: job 70.DockerTask not found. This is likely caused by the extension that contributes extension.jenkins-jack.tree.pipeline.pullJobScript."
Possibly, it caused by "." in path
Thanks for your hard work !
Awesome @DobriyDed!
That other issue is a bug introduced in 1.1.1 that I have a fix for in 1.1.2. Will try to get that out today. Once it's out, I'll reply to this thread for you to validate.
@DobriyDed , fix should be in 1.1.2. Please validate when you get a chance.
Hi, @tabeyti , Tried execute/update declarative pipeline on 1.1.2, still having:
Error running command extension.jenkins-jack.pipeline.execute: Running the contributed command: 'extension.jenkins-jack.pipeline.execute' failed.. This is likely caused by the extension that contributes extension.jenkins-jack.pipeline.execute.
maybe there is a way to set Authentication Token for remote job execution ? Thank you!
Hi! i'm using Visual Studio Code Remote SSH extension to access from my windows pc to debian host#1, where all pipelines stored and synchronized with github. Can see my jenkins master (located at another host, #2, in VM) . All pipelines are visible, all jobs and nodes are visible)
5 problems:
pipeline-name-here Error: jenkins: job.disable: failed to disable: Harder-then-site
Sorry for this mess. Looks like some permissions are missing , but out of ideas User for Jenkins Jack to connect with Jenkins are admin with all permissions