I think I fixed it
Gitea/Baltimore-hackthebox-knowledgebase/pipeline/head There was a failure building this commit
Details
Gitea/Baltimore-hackthebox-knowledgebase/pipeline/head There was a failure building this commit
Details
parent
92cafeeebb
commit
5b957a634d
|
@ -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);
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue