-->

Runner type : SSH exec not found in teamcity

2019-07-23 12:30发布

问题:

I am new to Teamcity. I am trying to do some Build configurations on it.

As of now I did some configurations but when I am trying to add a new build with Runner type: SSH exec, I am not getting this build step in the drop down.

You can see in below image

If there are any configuration I need to follow to get SSH EXEC in Teamcity build step please let me know.

回答1:

SSH exec runner is available inside Deployer plugin. You can download the latest build from here. To install it, drop the archive without unpacking in <TEAMCITY_DATA_DIRECORY>/plugins

It will be bundled in TeamCity 10.0



回答2:

From the documentation:

SSH-Agent - use ssh-agent for authentication, the SSH-Agent build feature must be enabled.


How to enable the SSH-Agent?

  1. Upload your key to TeamCity server
  2. Set up an ssh-agent build feature for your build
  3. Choose ssh-agent auth. type in ssh deployer settings.

The deployer plugin can be found here:
https://github.com/JetBrains/teamcity-deployer-plugin