小编Cos*_*teN的帖子

在“管理詹金斯”页面上缺少“管理用户”

我正在运行Jenkins 2.1的本地实例。我想创建几个具有不同安全性访问权限的用户。到目前为止,我一直是通用匿名用户,完全没有启用安全性。您可以在Jenkins看到警报,告诉我在所附的屏幕截图中进行设置。

我觉得我有点疯了,但是我的Manage Jenkins页面上没有看到所有教程都告诉我的“ 管理用户”选项。

有人知道我应该去哪里吗?

缺少管理用户

jenkins

6
推荐指数
1
解决办法
7140
查看次数

詹金斯没有认识到作曲家的命令

我有本地安装的JenkinsCI.通过Jenkins The Definitive Guide第2章中的说明进行安装.我在运行El Capitan的MAC上通过Java Web Start/JNLP文件启动Jenkins.一切顺利,示例项目正在运行.

我知道想通过Jenkins运行我的Codeception Acceptance测试.我正在关注Codeception网站上关于此的最新博文:http://codeception.com/02-04-2015/setting-up-jenkins-with-codeception.html#.VwWxE2PLRAZ .

使用Execute shell构建步骤,我的构建失败并显示以下消息:

用户匿名启动

在工作区中构建/Users/Cosette/.jenkins/workspace/Project名称

[项目名称] $/bin/sh -xe /var/folders/ns/ly6hv_513tl6qqslrb2vj_dw0000gn/T/hudson9210778078639547082.sh

  • 作曲家安装

/var/folders/ns/ly6hv_513tl6qqslrb2vj_dw0000gn/T/hudson9210778078639547082.sh:line 2:composer:command not found

构建步骤'执行shell'将构建标记为失败

完成:失败

我的猜测是,这个安装类型可能没有安装Jenkins用户?请注意我是初学者级别,这是我在stackoverflow上的第一个问题.此外,这应该是"作曲家安装"前面的+号.

php jenkins composer-php codeception

5
推荐指数
1
解决办法
2258
查看次数

Selenium 3.0.1与safaridriver在waitForElementVisible()上失败

Safari 10.0.1 macOS Sierra

运行Codeception命令时:

$I->waitForElementVisible(['css' => 'input[type=text][id=UserUsername]'], 30);
Run Code Online (Sandbox Code Playgroud)

在使用Selenium 3.0.1的Safari验收测试中,我收到错误消息.失败时拍摄的屏幕截图清楚地显示了相关元素.Firefox和Chrome中的相同测试/命令都是成功的.错误:

Screenshot saved to /Applications/MAMP/htdocs/AutomatedTests/tests/_output/debug/FAILED1479307207.png
  Unable to retrieve Selenium logs : The command 'GET /session/9BC56414-8934-4315-9293-B6E99720E318/log/types' is not implemented.
  Command duration or timeout: 3 milliseconds
  Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
  System info: host: 'Cosettes-MacBook-Pro.local', ip: '10.0.1.75', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.1', java.version: '1.8.0_101'
  Driver info: org.openqa.selenium.safari.SafariDriver
  Capabilities [{applicationCacheEnabled=true, rotatable=false, databaseEnabled=true, handlesAlerts=true, version=12602.2.14.0.5, cleanSession=true, platform=MAC, nativeEvents=true, locationContextEnabled=false, webStorageEnabled=true, browserName=safari, javascriptEnabled=true, cssSelectorsEnabled=true}]
  Session ID: 9BC56414-8934-4315-9293-B6E99720E318 …
Run Code Online (Sandbox Code Playgroud)

safari selenium selenium-webdriver safaridriver codeception

2
推荐指数
1
解决办法
998
查看次数