配置jenkins slave 问题,ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

因为需要需要搭建一套自动化环境的windows电脑作为slave,简单的把原来用来mac上的job配置一模一样的配置了下,运行时遇到如上问题,google半天百思不得其解,

后来尝试把SCM里面的branch specifier 由原来的 ${sha1}去掉,愉快解决问题,遂记录下

原文地址:https://www.cnblogs.com/timsheng/p/7070972.html