我有一个名为
现在,我想将此批处理文件作为git的post-commit-hook执行。
因此,我在
每次在向git提交代码更改时,eclipse都会抛出异常!我错过了什么吗?
jenkins.bat
的批处理文件,用于在Jenkins服务器上启动构建过程。现在,我想将此批处理文件作为git的post-commit-hook执行。
因此,我在
/.git/hooks
文件夹中创建了以下文件:post-commit
。#!/bin/bash
/.git/hooks/jenkins.bat
每次在向git提交代码更改时,eclipse都会抛出异常!我错过了什么吗?
.git
前面的/
符号。 - ElpieKay