1 Star 0 Fork 103

xiongzhaoxu / jenkins-cli

forked from Rick / jenkins-cli 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1001 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rick 提交于 2019-09-13 13:14 . Add go vet and golint (#152)
language: go
dist: trusty
go:
- 1.12.x
env:
global:
- GO111MODULE=on
addons:
sonarcloud:
organization: "jenkins-zh"
token:
secure: 3caad1285eb0edf2b4f65ee07b3cd8edde6c5176 # encrypted value of your token
script:
- make clean
# Execute some tests
- make tools init test
# And finally run the SonarQube analysis - read the "sonar-project.properties"
# file to see the specific configuration
- curl -LsS https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.0.0.1744-linux.zip > sonar-scanner-cli-4.0.0.1744-linux.zip
- unzip sonar-scanner-cli-4.0.0.1744-linux.zip
- sonar-scanner-4.0.0.1744-linux/bin/sonar-scanner -D sonar.branch.name=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo pr-$TRAVIS_PULL_REQUEST; fi) -Dsonar.projectKey=jenkins-zh_jenkins-cli -Dsonar.organization=jenkins-zh -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=674e187e300edc0ad56a05705bd0b21cbe18bd52
Go
1
https://gitee.com/xiongzhaoxu/jenkins-cli.git
git@gitee.com:xiongzhaoxu/jenkins-cli.git
xiongzhaoxu
jenkins-cli
jenkins-cli
master

搜索帮助