diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 9ca0212..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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....' - } - } - } -} diff --git a/Makefile b/Makefile deleted file mode 100644 index 57cd6a0..0000000 --- a/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -app1.R: app.R - R CMD BATCH app.R \ No newline at end of file diff --git a/app.R b/app.R deleted file mode 100644 index e69de29..0000000 diff --git a/jenkins.R b/jenkins.R new file mode 100644 index 0000000..de952e9 --- /dev/null +++ b/jenkins.R @@ -0,0 +1,8 @@ +use_jenkins <- function() { + use_make() + use_template( + "Jenkinsfile", + data = list(name = project_name()) + ) + use_build_ignore("Jenkinsfile") +} \ No newline at end of file