Updated format for comments in Jenkinsfile

Signed-off-by: Adrien Duermael <adrien@duermael.com>
This commit is contained in:
Adrien Duermael 2016-12-14 12:10:10 -08:00
parent bb6a13be26
commit ed9b3f4cda
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -4,11 +4,11 @@ wrappedNode(label: 'linux && x86_64') {
checkout scm checkout scm
stage "test" stage "test"
# Jekyll creates html files to implement client side redirects. /* Jekyll creates html files to implement client side redirects.
# There are absolute links to docs.docker.com in these htmls There are absolute links to docs.docker.com in these htmls
# we don't want them to be parsed by the tests for now. we don't want them to be parsed by the tests for now.
# Removing jekyll-redirect-from option will make sure these pages Removing jekyll-redirect-from option will make sure these pages
# are not generated when building with Jekyll. are not generated when building with Jekyll. */
sh "awk '/jekyll-redirect-from/{n=1}; n {n--; next}; 1' < _config.yml > _config.yml.tmp" sh "awk '/jekyll-redirect-from/{n=1}; n {n--; next}; 1' < _config.yml > _config.yml.tmp"
sh "mv _config.yml.tmp _config.yml" sh "mv _config.yml.tmp _config.yml"