admin管理员组

文章数量:1129019

I have a Jenkins build machine that is not very up-to-date because I need to use the TFS plugin. I have several builds configured (which work correctly) using the steps defined in the job definition. I want to change the approach and use the Jenkinsfile. I created the pipeline, left everything empty except for the Description in the General section and in the "Pipeline" section selected the "Pipeline script from SCM" and provided the TFVC repository details. I have found that I need to provide the credentials for the TFS so they are also added. I added the basic Jenkinsfile to the repository root (just pipeline, stages and a single stage with the single step echoing "Hello world").

When I click on the "Build now" nothing happens. There is no error message, I cannot find anything in the logs. The only thing that I can find is that my TFS plugin is of the 5.157.1 version

and the pipelines are supported from 5.3.4: .md#scms-1

Is the version of the TFS plugin the reason why it does not work, or am I missing something in the configuration of the job?

本文标签: Unable to start job on Jenkinspipeline with TFSStack Overflow