I think I fixed it
Gitea/Baltimore-hackthebox-knowledgebase/pipeline/head There was a failure building this commit Details

pull/1/head
s00ner 2022-02-18 15:55:04 -05:00
parent 92cafeeebb
commit 5b957a634d
1 changed files with 10 additions and 10 deletions

20
Jenkinsfile vendored
View File

@ -6,16 +6,16 @@ pipeline {
agent any agent any
stages { stages {
stage('Everything') { stage('Everything') {
node("BHTH web server") { agent { label 'prod_web' }
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);
''' '''
} }
} }
} }
} }