找不到Jenkinsfile

时间:2017-07-20 16:01:14

标签: git jenkins

我刚开始使用Jenkins,似乎无法让它发挥作用。我创建了一个名为' Jenkinsfile'的文本文件。在我的存储库的根目录中,但是当我尝试构建时,我收到错误"'Jenkinsfile'未找到不符合标准"。这是完整的Jenkins输出:

Started by user Joshua Fishman [Thu Jul 20 11:44:10 EDT 2017]
Starting  branch indexing...
git.exe rev-parse --is-inside-work-tree # timeout=10 Setting origin to C:\Users\JoshuaF\git\edgeMagic-nextgen
git.exe config remote.origin.url C:\Users\JoshuaF\git\edgeMagic-nextgen # timeout=10 Fetching origin...
Fetching upstream changes from origin
git.exe --version #timeout=10
git.exe fetch --tags --progress origin
+refs/heads/*:refs/remotes/origin/*
git.exe ls-remote --symref C:\Users\JoshuaF\git\edgeMagic-nextgen # timeout=10    
git.exe rev-parse --is-inside-work-tree # timeout=10 Setting origin to C:\Users\JoshuaF\git\edgeMagic-nextgen    
git.exe config remote.origin.url C:\Users\JoshuaF\git\edgeMagic-nextgen # timeout=10 
Fetching & pruning origin...  
Fetching upstream changes from origin   
git.exe --version # timeout=10    
git.exe fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune  
Getting remote branches... 
Seen branch in repository origin/master  
Seen 1 remote branch

Checking branch master
      'Jenkinsfile' not found
    Does not meet criteria 
Processed 1 branches [Thu Jul 20 11:44:11 EDT 2017]
Finished branch indexing. Indexing took 0.68 sec
Finished: SUCCESS

这是我的存储库:repository

对此非常新,所以我感谢任何帮助。

1 个答案:

答案 0 :(得分:7)

' .txt'扩展可能是问题:詹金斯正在寻找詹金斯文件'没有延期。 va_arg(ap, int)将重命名该文件。