forked from Hg/htlle-da-vorlage
add own word list for spellchecking. send tarball via mail
This commit is contained in:
parent
205ea634eb
commit
aded1e5b7f
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -112,8 +112,10 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
dir(env.GIT_PATH) {
|
||||
sh "make pdf -C ${env.TEMPLATE_NAME} SOURCEDIR=`pwd`"
|
||||
sh "hunspell -d de_AT,de_AT_frami,en_US -l -t *.md > diplomarbeit.pdf.spellcheck.txt"
|
||||
sh"""#!/bin/bash
|
||||
make pdf -C ${env.TEMPLATE_NAME} SOURCEDIR=`pwd`
|
||||
hunspell -d de_AT,de_AT_frami,en_US -p ignore.dict -l -t *.md > diplomarbeit.pdf.spellcheck.txt
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -136,6 +138,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Create Tarball-Archive') {
|
||||
steps {
|
||||
dir(env.GIT_PATH) {
|
||||
sh "tar -czvf diplomarbeit.tar.gz diplomarbeit.pdf*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
@ -156,7 +165,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
dir(env.GIT_PATH) {
|
||||
emailext attachmentsPattern: "diplomarbeit.pdf*",
|
||||
emailext attachmentsPattern: "diplomarbeit.tar.gz",
|
||||
to: "${env.RECIPIENTS}",
|
||||
subject: "[${currentBuild.currentResult}] Diplomarbeit Build #${env.BUILD_NUMBER}",
|
||||
body: "Job ${env.JOB_NAME}: ${env.JOB_URL}"
|
||||
|
9
example/ignore.dict
Normal file
9
example/ignore.dict
Normal file
@ -0,0 +1,9 @@
|
||||
-
|
||||
-----
|
||||
------
|
||||
---------
|
||||
.java
|
||||
PNG
|
||||
args
|
||||
array.length.
|
||||
graph.png
|
Loading…
Reference in New Issue
Block a user