This commit is contained in:
Jan Przybylski 2020-11-24 00:59:10 +01:00
parent 0e16463aff
commit ac504288bc
4 changed files with 8 additions and 25 deletions

23
Jenkinsfile vendored
View File

@ -1,23 +0,0 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building..'
bat 'make'
}
}
stage('Test') {
steps {
echo 'Testing..'
bat 'make check || true'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}

View File

@ -1,2 +0,0 @@
app1.R: app.R
R CMD BATCH app.R

0
app.R
View File

8
jenkins.R Normal file
View File

@ -0,0 +1,8 @@
use_jenkins <- function() {
use_make()
use_template(
"Jenkinsfile",
data = list(name = project_name())
)
use_build_ignore("Jenkinsfile")
}