diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..64104e3 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,31 @@ +pipeline { + agent any + stages { + stage('Build') { + when { + branch 'master' + } + steps { + echo 'Building' + sh '''./render.sh''' + } + } + // stage('Deploy') { + // when { + // branch 'master' + // } + // steps { + // echo 'Deploying' + // sshagent(['jenkins-ssh-key']) { + // sh '''ssh airflow@clover "cd ~/airflow/dags && git fetch origin master && git reset --hard origin/master"''' + // } + // } + // } + } + + post { + always { + archiveArtifacts artifacts: 'out/*.pdf', fingerprint: true + } + } +} \ No newline at end of file