convert makefile to jenkinsfile
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit

This commit is contained in:
Jared Knowles
2022-10-16 18:58:22 -04:00
parent 920098e18d
commit 6f4ccc0d4e
Vendored
+17 -3
View File
@@ -14,17 +14,31 @@ pipeline {
}
stage('Build') {
steps {
make build
sh '''
R CMD build .
'''
}
}
stage('Check') {
steps {
make check
sh '''
R CMD check --no-manual civilytics_0.1.0.tar.gz
'''
sh '''
R CMD INSTALL civilytics_0.1.0.tar.gz
'''
}
}
stage('Clean') {
steps {
make clean
sh '''
@rm -rf civilytics_0.1.0.tar.gz civilytics.Rcheck
'''
}
}
}