有3个阶段 - 构建,测试和部署.gitlab-ci.yml.
需要运行夜间回归测试阶段 - 好nightly:)
这是相关的.gitlab-ci.yml代码:
stages:
- build
- test
- deploy
build_project:
stage: build
script:
- cd ./some-dir
- build-script.sh
except:
- tags
#Run this only when say variable 'NIGHTLY_TEST == True'. But HOW?
nightly_regression_test_project:
stage: test
script:
- cd ./some-dir
- execute test-script
Run Code Online (Sandbox Code Playgroud)
每天标记到only运行test阶段是不可取的.
还有其他想法吗?
我在Jenkins工作中的sonarqube分析中有很多错误,分析成功
[ERROR] [14:36:44.124] Class not found: org.joda.convert.FromString
[ERROR] [14:36:44.126] Class not found: org.joda.convert.ToString
[ERROR] [14:34:42.441] Class not found: org.apache.commons.logging.Log
[ERROR] [14:34:42.724] Class not found: org.apache.oro.text.perl.Perl5Util
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModel
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModelProperty
[ERROR] [14:28:37.756] Class not found: org.apache.commons.logging.Log
[ERROR] [14:28:40.030] Class not found: org.apache.oro.text.perl.Perl5Util
Run Code Online (Sandbox Code Playgroud)
SonareQube:5.1.2
sonarQube jenkins插件:2.6
JDK:1.7
请帮忙
谢谢
我想配置Jenkins只构建一个分支已被推送到github.我尝试在Branch Specifier留空
但在我提交/推动后,所有分支都将建成.我只需要一个刚刚提交/推送的分支.我怎样才能做到这一点?谢谢.
我正在学习 Git 并进行实验。我了解如何进行基本操作,但正在努力创建一个新分支。我在 Windows 中使用命令提示符,在浏览器中使用 github 工具。我试图通过在浏览器中创建一个新分支(名为 branch_1)来模拟新分支的创建,但是当我尝试在命令提示符中找到该分支时,它没有出现。例如,这是我在命令提示符中得到的内容:
git branch
_notes/dwsync.xml
master
v1.1
v1.2
v1.3
Run Code Online (Sandbox Code Playgroud)
如何让新分支出现?
使用Jenkins 1.642.2对我所有的maven项目使用SonarQube 5.6.1进行代码分析.
当我使用maven目标声纳:声纳时,他们需要更多时间来分析文件(按文件超过7秒):
[INFO] Sensor SCM Sensor
[INFO] SCM provider for this project is: svn
[INFO] 1079 files to be analyzed
[INFO]
[INFO] 2/1079 files analyzed
[INFO] 3/1079 files analyzed
[INFO] 4/1079 files analyzed
[INFO] 5/1079 files analyzed
Run Code Online (Sandbox Code Playgroud)
当我使用带有此配置的SonarQube扫描仪时:
然后我有这个错误:
WARN: Property 'sonar.jdbc.url' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.
WARN: Property 'sonar.jdbc.username' is not supported any more. It will be ignored. There is no longer …Run Code Online (Sandbox Code Playgroud)