This commit is contained in:
parent
c2eef9cf7c
commit
41965ca076
2 changed files with 3 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -41,13 +41,13 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
when { not { branch 'debian' } }
|
when { not { branch 'debian' } }
|
||||||
steps {
|
steps {
|
||||||
sh label: 'Build binary', script: 'make distclean && make'
|
sh label: 'Build binary', script: 'make clean && make'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
when { not { branch 'debian' } }
|
when { not { branch 'debian' } }
|
||||||
steps {
|
steps {
|
||||||
sh label: 'Run tests', script: 'go test -v ./...'
|
sh label: 'Run tests', script: 'make test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Create build output') {
|
stage('Create build output') {
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -22,4 +22,4 @@ ui: ${UIFILES}
|
||||||
npm install
|
npm install
|
||||||
cd node_modules/fomantic-ui ; npx gulp build
|
cd node_modules/fomantic-ui ; npx gulp build
|
||||||
|
|
||||||
.PHONY: clean all ui test
|
.PHONY: clean all ui test lint
|
Loading…
Reference in a new issue