Update the Jenkinsfile to use steps

The previous commit tried to change the Jenkinsfile to a declaractive, instead
of scripted, pipeline, and this was missed.
This commit is contained in:
Tom Willemse 2020-10-09 22:20:16 -07:00
parent 84725806f5
commit 1fae33754e

4
Jenkinsfile vendored
View file

@ -3,11 +3,14 @@ pipeline {
stages {
stage('Build') {
steps {
sh 'make'
stash includes: 'public/*', name: 'public_html'
}
}
stage('Deploy') {
steps {
unstash 'public_html'
withCredentials([file(credentialsId: 'ryuslash.org-deploy-key', variable: 'KEY_FILE')]) {
@ -15,4 +18,5 @@ pipeline {
}
}
}
}
}