diff --git a/Jenkinsfile b/Jenkinsfile index c285164..320c283 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,13 +41,13 @@ pipeline { stage('Build') { when { not { branch 'debian' } } steps { - sh label: 'Build binary', script: 'make distclean && make' + sh label: 'Build binary', script: 'make clean && make' } } stage('Test') { when { not { branch 'debian' } } steps { - sh label: 'Run tests', script: 'go test -v ./...' + sh label: 'Run tests', script: 'make test' } } stage('Create build output') { diff --git a/Makefile b/Makefile index 81bf542..508cd9d 100644 --- a/Makefile +++ b/Makefile @@ -22,4 +22,4 @@ ui: ${UIFILES} npm install cd node_modules/fomantic-ui ; npx gulp build -.PHONY: clean all ui test \ No newline at end of file +.PHONY: clean all ui test lint \ No newline at end of file