fixed missing stages section
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
89aad3b221
commit
f21486a597
|
@ -4,17 +4,18 @@
|
|||
*/
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
node("BHTH web server") {
|
||||
stage('Everything') {
|
||||
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);
|
||||
'''
|
||||
stages {
|
||||
node("BHTH web server") {
|
||||
stage('Everything') {
|
||||
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