Logo
Explore Help
Sign In
logos-messaging/logos-messaging-go
1
0
Fork 0
You've already forked logos-messaging-go
mirror of https://github.com/logos-messaging/logos-messaging-go.git synced 2026-01-05 23:43:05 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-messaging-go/ci/Jenkinsfile

40 lines
569 B
Plaintext
Raw Normal View History

ci: add Jenkinsfile that runs lint and test targets This adds a simple `Jenkinsfile` that runs `make lint` and `make test`. Had to also add a `deps` target that runs `lint-install` to install missing `golangci-lint`. Jobs folder: https://ci.status.im/job/go-waku/ Resolves: https://github.com/status-im/go-waku/issues/11 Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-16 11:48:11 +02:00
pipeline {
agent {
label 'linux'
}
options {
timestamps()
buildDiscarder(logRotator(
numToKeepStr: '10',
daysToKeepStr: '30',
))
}
environment {
GOPATH = "${env.HOME}/go"
PATH = "${env.PATH}:${env.GOPATH}/bin"
}
stages {
stage('Deps') {
steps { sh 'make deps' }
}
stage('Lint') {
steps { sh 'make lint' }
}
stage('Test') {
steps { sh 'make test' }
}
test: build example in jenkins Add command for generating coverage
2021-11-01 17:23:00 +01:00
stage('Build example') {
steps { sh 'make build-example' }
}
ci: add Jenkinsfile that runs lint and test targets This adds a simple `Jenkinsfile` that runs `make lint` and `make test`. Had to also add a `deps` target that runs `lint-install` to install missing `golangci-lint`. Jobs folder: https://ci.status.im/job/go-waku/ Resolves: https://github.com/status-im/go-waku/issues/11 Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-16 11:48:11 +02:00
}
post {
always { cleanWs() }
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 34ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API