convert makefile to jenkinsfile
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
This commit is contained in:
Vendored
+17
-3
@@ -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
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user