我刚刚下载了Xcode 8,做了一些设置更改并尝试使用Jenkins构建,但是它失败了,并出现了以下错误:
The following build commands failed:
CompileSwift normal arm64 /Users/ujenkins/ujenkins/workspace/project-ios/XXXXX/Views/Timeline/Components/Transitions/CustomTransition.swift
CompileSwift normal arm64 /Users/ujenkins/ujenkins/workspace/proj
我有一个Jenkins服务器在运行,并且有几个构建都在工作。然而,今天早上,当我尝试添加另一个时,它仍然失败,并出现错误-
[test.gov] $ /bin/sh -xe /tmp/hudson7055290339554583413.sh + ./opt/jenkins/build.sh /tmp/hudson7055290339554583413.sh: line 2: /opt/jenkins/build.sh: No such file or directory Build step 'Execute shell' marked build as failure
she
我正在尝试使用运行该文件
当我运行时,出现错误:
FailedConsole Output
Started by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace C:\Users\*****\.hudson\jobs\dfs\workspace
[workspace] $ cmd /c call C:\apache-tomcat-7.0.63\temp\hudson5830491027958954227.bat
C:\Users\*****\.hudson\jobs
我正在设置一个部署服务器。我安装了码头,并使用由docker-composer.yaml生成的phpdocker.io运行码头容器。我还安装了詹金斯。所有设置都在EC2实例上。一切都很完美。
在推动github中的master时,jenkins需要在EC2实例中执行一些命令。当我试图安装composer依赖项时,会出现以下错误:
docker-compose exec php-fpm composer install
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
对于Jenkins For Controller和Agent配置,从前者到后者的连接按预期工作。
代理是Ubuntu 18,它通过.tar.gz和.zip文件手动安装了Java、Maven和Gradle。它们是在~/.profile文件中配置的。在Ubuntu的终点站确认如下:
which java
/opt/java/openjdk/jdk-11.0.12+7/bin/java
which mvn
/opt/apache/maven/3.8.2/bin/mvn
which gradle
/opt/gradle/7.2/bin/gradle
在Controller中创建了一个简单的作业,
当grunt在命令提示符下运行时,如何解决jenkins上的Grunt无法识别错误?
Jenkins输出:
test cases will be executed
'grunt' is not recognized as an internal or external command, operable program or batch file.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
当构建准备好时,我有几个需要执行的shell命令。在Jenkins中,我创建了一个带有执行shell选项的Freestyle项目:
#!/bin/sh
cd /path to kafka folder
bin/zookeeper-server-start.sh config/zookeeper.properties &
bin/kafka-server-start.sh config/server.properties &
cd /path to elasticsearch
bin/elasticsearch
我可以从本地文件执行这个shell命令,但不能通过Jenkins执行
这是我的shell脚本:
scp -r -i ~/.ssh/id_rsa_mbox /home/mbox/Desktop/qtworkspace/mbox_gui/Debug.tar.gz mbox@111.11.11.118:/mbox/deployment/mbox_gui/
..
Started by user Vikash
Building on master in workspace /var/lib/jenkins/jobs/Copy_Mbox_Gui_Files/workspace
next nodes: [][workspace] $ /bin/sh -xe /tmp/huds
我正在尝试从jenkins和this运行webdriverio测试。我为jenkins安装了nodeJS插件,并在全局工具配置下,为NodeJS添加了一个名称和安装目录/usr/local/bin (节点可执行文件位于此文件夹中) 在Jenkins的项目配置中,在build environment下,我检查了 Provide Node & npm bin/ folder to PATH并选择上一步中的节点安装名称 但是,当我尝试运行npm install npm test时,通过在Build下的execute shell下添加这些命令并构建它,我收到了这个错误 Building in
我要把詹金斯关进码头。我收到以下空间问题。
gzip: /tmp/sbt_a74fec8a/xoquick-1.0.tar.gz: No space left on device
java.lang.RuntimeException: Error gziping /tmp/sbt_a74fec8a/xoquick-1.0.tar. Exit code: 1
at scala.sys.package$.error(package.scala:27)
at com.typesafe.sbt.packager.universal.Archives$.gzip(Archives.sca
正如标题所述,Jenkins可以正确地将目录切换到亚行,然后执行它。但是,当它超出亚行的目录时,它不能使用它。以下代码:
.//opt/android-sdk-linux//platform-tools/adb --help
下列产出的结果:
+ .//opt/android-sdk-linux//platform-tools/adb
/tmp/jenkins882020622874679741.sh: rad 18: .//opt/android-sdk-linux//platform-tools/adb: Filen eller katalogen finns inte
Build ste
我在jenkins中执行bash脚本时遇到了问题。我检查了shell命令,我的输入如下:
rvm use jruby-1.7.4
export JRUBY_OPTS=--1.8
jruby -S cucumber
仅供参考:这3个命令正是我在Jenkins之外启动cucumber时在终端中输入的命令。
当我执行这些命令时,这是我的输出
[workspace] $ /bin/sh -xe /home/nwssc/apache-tomcat-7.0.40/temp/hudson7305254619895710829.sh
+ rvm use jruby-1.7.4
RVM is not a fun
我在Ubuntu机器上安装了Jenkins CI服务器。在Jenkins中,有一个自由风格的作业设置。该作业的作用是从svn签出bash脚本并尝试运行它们。在bash脚本内部有对git的调用,这将克隆git存储库。bash脚本退出时会出现错误:
git clone git://gitorious.org/qt/qt.git
Initialized empty Git repository in /var/lib/jenkins/jobs/build/workspace/qt/.git/
fatal: The remote end hung up unexpectedly
fatal: earl
Jenkins在完成测试执行后给出了以下内容:
发送到下列无效地址时出错:有效电子邮件to
jenkins构建日志:
Build step 'Execute shell' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure
Sending email to: valid emailid
Error sending to the following INVALID addresses : valid emailid
Finished: F
当我试图从我的机器上运行一个示例jenkins项目的时候。然而,我不会在本地建立我的项目。
我概述了设置的
我做错什么了?我应该用什么具体步骤来解决这个问题。
来自jenkins的错误消息
Started by user Jacqueline George
Building in workspace /Users/jacquelinegeorge/.jenkins/$(JENKINS_HOME)/LocatorTraining
[LocatorTraining] $ cmd /c call /var/folders/2s/d8lh31wd3_7dx65htqzvpcv80000gn/T/jen
在通过jenkins为我的django项目设置部署时,我遇到了必须重新启动apache2服务才能将新的更改反映到客户端的问题。运行systemctl reload apache2.service命令后,我不确定如何提供用户密码。
我尝试了下面的选项,但没有成功。
1) systemctl reload apache2.service
结果:
Failed to reload apache2.service: Interactive authentication required.
See system logs and 'systemctl status apache2.service
我试图在jenkins中运行一个shell脚本,并给出了该文件的所有权限。
在运行过程中,jenkins提到以下错误
Started by user admin
Building in workspace /var/lib/jenkins/workspace/Test
[Test] $ /bin/sh -xe /tmp/jenkins2660493526195024199.sh
+ /home/admin/Scripts/attest.sh
/tmp/jenkins2660493526195024199.sh: line 2: /home/admin/Scripts/attest.sh: Pe
我需要使用jenkins作业来同步两个存储库。因此,我创建了一个作业,使用多个SCMs插件添加了两个git存储库。
并添加了shell命令,例如:
cd first_project
sha=`cat last_commit_merged`
cd ..
cd second_project
new_sha=`git rev-parse HEAD`
git diff-index "$sha" --binary > my.patch
cd ..
cd first_project
if [ "$sha" != "$new_sha" ]
then
我将Jenkins作为一个码头容器运行,并已安装了,并完全按照设置说明执行。当我尝试使用node运行脚本时,我会得到以下错误:
/tmp/jenkins9123978873441132802.sh: line 1: node: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE
我检查了坞卷,node bin是它应该在的地方,并且是可执行的,当我从我的主机服务器运行它时,它工作得很好:
user@server:/data/jenkins/tools/jenkins.plug