
@Library("osconfig") _

properties([disableConcurrentBuilds()])

node("linux") {

  stage("Checkout sources") {
    checkout scm
  }

  stage("Producing doc") {
    linux_sh "./scripts/extract_user_doc.sh -i " + BRANCH_NAME
  }

  stage("Publish doc") {
    publish_doc(BRANCH_NAME)
  }

}

