fixed missing stages section

pull/1/head
s00ner 2022-02-18 15:30:29 -05:00
parent 89aad3b221
commit f21486a597
1 changed files with 12 additions and 11 deletions

23
Jenkinsfile vendored
View File

@ -4,17 +4,18 @@
*/ */
pipeline { pipeline {
agent any agent any
stages {
node("BHTH web server") { node("BHTH web server") {
stage('Everything') { stage('Everything') {
steps { steps {
sh ''' sh '''
cd $(mktemp -d); cd $(mktemp -d);
wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz; wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz;
tar -xf main.tar.gz; tar -xf main.tar.gz;
rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/; rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/;
rm -rf $(pwd); rm -rf $(pwd);
''' '''
}
} }
} }
} }