fixed missing stages section
parent
89aad3b221
commit
f21486a597
|
@ -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);
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue