I think I fixed it
parent
92cafeeebb
commit
5b957a634d
|
@ -6,16 +6,16 @@ pipeline {
|
|||
agent any
|
||||
stages {
|
||||
stage('Everything') {
|
||||
node("BHTH web server") {
|
||||
steps {
|
||||
sh '''
|
||||
cd $(mktemp -d);
|
||||
wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz;
|
||||
tar -xf main.tar.gz;
|
||||
rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/;
|
||||
rm -rf $(pwd);
|
||||
'''
|
||||
}
|
||||
agent { label 'prod_web' }
|
||||
steps {
|
||||
sh '''
|
||||
cd $(mktemp -d);
|
||||
wget https://git.doublehack.me/s00ner/Baltimore-hackthebox-knowledgebase/archive/main.tar.gz;
|
||||
tar -xf main.tar.gz;
|
||||
rsync --recursive --exclude 'Jenkinsfile' --delete ./baltimore-hackthebox-knowledgebase/ /home/mdbook/wiki/src/;
|
||||
rm -rf $(pwd);
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue