Update Jenkinsfile
Jenkins
Gitea-Books/r6_guide/pipeline/head This commit looks good
Details
Jenkins
Gitea-Books/r6_guide/pipeline/head This commit looks good
Details
This commit is contained in:
parent
427ea284c2
commit
903e90009e
|
|
@ -1,18 +1,18 @@
|
|||
pipeline {
|
||||
agent { label 'rust_no_docker' } // any COULD work, but prefer this label for mdbooks
|
||||
agent { label 'rust_no_docker' } // any COULD work, but prefer this label for mdbooks
|
||||
/* ===============
|
||||
BEGIN USER CONFIG
|
||||
================== */
|
||||
|
||||
environment {
|
||||
MDBOOK_BUILD_DIR = "book" // Don't change, it allows the build script & mdBook to know where the book is
|
||||
MDBOOK_BUILD_DIR = "book" // Don't change, it allows the build script & mdBook to know where the book is
|
||||
DEPLOY_DIR = "/mnt/books/r6_guide" // Important, all books are in /mnt/book
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm // Checkout intead of full clone
|
||||
checkout scm // Checkout intead of full clone
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue