[英]Jenkins error on building command?
I am new to Jenkins, starting now. 从现在开始,我是詹金斯的新手。 I see the following errors here. 我在这里看到以下错误。
Building in workspace /var/lib/jenkins/workspace/GIF_DECODER
[GIF_DECODER] $ /bin/bash /tmp/hudson3370393570271110742.sh
/tmp/hudson3370393570271110742.sh: line 2: cd: /home/joshis1/Data/E-Drive/Blog/Ready_to_post/Ubuntu/GIF_Decoder_LINUX: Permission denied
/var/lib/jenkins/workspace/GIF_DECODER
I have given the build commands as the following. 我给出了以下构建命令。 This is under execute shell. 这是在执行外壳下。
#!/bin/bash
cd /home/joshis1/Data/E-Drive/Blog/Ready_to_post/Ubuntu/GIF_Decoder_LINUX
pwd
make clean
make everything
I am not understanding what is the issue here? 我不明白这是什么问题? Looks to be a permission year. 看起来是许可年。 I have jenkins in sudoers list. 我的名单上有詹金斯人。 I don't why it looks for /var/lib/jenkins/workspace/GIF_Decoder. 我不为什么要查找/ var / lib / jenkins / workspace / GIF_Decoder。
I see the jenkins page under - http://:8080/job/GIF_DECODER/configure 我在下面看到了詹金斯页面-http://:8080 / job / GIF_DECODER / configure
How can I setup the hostname so that instead of localhost I have some meaningful name? 如何设置主机名,以便使用有意义的名称代替localhost? Please help. 请帮忙。 Also, what is the best document/video to start with Jenkins for linux users? 另外,对于Linux用户,从Jenkins开始的最佳文档/视频是什么? How to debug Jenkins issue seen? 如何调试Jenkins看到的问题? How can I instantiate a build by sending an email? 如何通过发送电子邮件实例化构建?
I am not understanding what is the issue here? 我不明白这是什么问题? It's a permission error. 这是一个权限错误。 It looks like your jenkins user does not have permissions for /home/joshis1/Data/E-Drive/Blog/Ready_to_post/Ubuntu/GIF_Decoder_LINUX
您的jenkins用户似乎没有权限/home/joshis1/Data/E-Drive/Blog/Ready_to_post/Ubuntu/GIF_Decoder_LINUX
How can I setup the hostname so that instead of localhost I have some meaningful name? 如何设置主机名,以便使用有意义的名称代替localhost? Try the hostname of your server in the URL. 在URL中尝试服务器的主机名。 eg http://myserver:8080/job/GIF_DECODER/configure
例如http://myserver:8080/job/GIF_DECODER/configure
Also, what is the best document/video to start with Jenkins for linux users? 另外,对于Linux用户,从Jenkins开始的最佳文档/视频是什么? I expect that you have a basic understanding of how linux works. 我希望您对linux的工作原理有基本的了解。 This is important on how to configure your jenkins and write the necessary build steps. 这对如何配置您的詹金斯和编写必要的构建步骤很重要。 The most basic information you will find on http://jenkins-ci.org and basic installation https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins 您可以在http://jenkins-ci.org和基本安装https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins上找到最基本的信息
How to debug Jenkins issue seen? 如何调试Jenkins看到的问题? That depends ... ... on the issue. 这取决于……问题。 If you have build problems check the console output of the job first. 如果您有构建问题,请首先检查作业的控制台输出。 In addition, Jenkins writes its logfiles into the jenkins home directory. 另外,Jenkins将其日志文件写入jenkins主目录。
How can I instantiate a build by sending an email? 如何通过发送电子邮件实例化构建? Check out the mail commander plugin 查看邮件指挥官插件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.