Remove OPNFV Docs Euphrates Jobs
[releng.git] / jjb / opnfvdocs / docs-rtd.yaml
index c7988e6..eee1534 100644 (file)
@@ -12,8 +12,6 @@
           branch: 'stable/{stream}'
       - danube:
           branch: 'stable/{stream}'
-      - euphrates:
-          branch: 'stable/{stream}'
 
     project: 'opnfvdocs'
     rtdproject: 'opnfv'
@@ -29,6 +27,8 @@
           name: SLAVE_LABEL
           default: 'lf-build1'
           description: 'Slave label on Jenkins'
+          all-nodes: false
+          node-eligibility: 'ignore-offline'
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
@@ -60,6 +60,8 @@
           name: SLAVE_LABEL
           default: 'lf-build2'
           description: 'Slave label on Jenkins'
+          all-nodes: false
+          node-eligibility: 'ignore-offline'
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
@@ -77,7 +79,7 @@
           server: 'gerrit.opnfv.org'
           project: '**'
           branch: '{branch}'
-          files: 'docs/**/*.*'
+          files: 'docs/**'
 
     builders:
       - shell: |
                   git clone ${{GIT_BASE/opnfvdocs/$GERRIT_PROJECT}} .
               fi
               git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
+              cd -
           else
               git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
           fi
+          if [ -d docs/subdmodules ]; then
+              for project in docs/submodules/*; do
+                  cd $project && git submodule deinit -f . && cd -
+              done
+          fi
       - shell: |
           sudo -H pip install virtualenv
           virtualenv $WORKSPACE/venv