Skip to content

Commit

Permalink
#81 add Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent committed Jun 30, 2022
1 parent c15ff36 commit a6c5210
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/com/cloudogu/ces/cesbuildlib/Markdown.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ class Markdown implements Serializable{
def check(){
this.docker.image("ghcr.io/tcort/markdown-link-check:stable")
.mountJenkinsUser()
.inside("--entrypoint=\"\" -v ${this.script.env.WORKSPACE}/docs:/tmp") {
this.script.sh 'find /tmp -name \\*.md -print0 | xargs -0 -n1 markdown-link-check -v'
.inside("--entrypoint=\"\" -v ${this.script.env.WORKSPACE}/docs:/docs") {
this.script.sh 'find /docs -name \\*.md -print0 | xargs -0 -n1 markdown-link-check -v'
}
}

}

0 comments on commit a6c5210

Please sign in to comment.