Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何通过“触发哈德逊作业”;执行shell";?_Shell_Hudson - Fatal编程技术网

如何通过“触发哈德逊作业”;执行shell";?

如何通过“触发哈德逊作业”;执行shell";?,shell,hudson,Shell,Hudson,我想编写一个shellscript,其中it git提取远程存储库。 如果本地存储库不是最新的,则触发hudson作业的构建 在进一步的场景中: 1) 在何处链接hudson中的这个shellscript(我的shellscript.sh文件)。以便在构建之前定期执行 是否有一种配置作业的方法: 2) 在hudson中添加“执行shell”构建步骤?在这里写我的脚本 请用shellscript代码指定我。根据您的描述,您应该只使用Jenkins的Git插件。有没有什么你想做的事情没有被它涵盖?我

我想编写一个shellscript,其中it git提取远程存储库。 如果本地存储库不是最新的,则触发hudson作业的构建

在进一步的场景中:

1) 在何处链接hudson中的这个shellscript(我的shellscript.sh文件)。以便在构建之前定期执行

是否有一种配置作业的方法: 2) 在hudson中添加“执行shell”构建步骤?在这里写我的脚本


请用shellscript代码指定我。

根据您的描述,您应该只使用Jenkins的Git插件。有没有什么你想做的事情没有被它涵盖?

我不想用Jenkins Git插件来做。