main: Unminified content
This commit is contained in:
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@@ -2,14 +2,9 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Files') {
|
||||
stage('None') {
|
||||
steps {
|
||||
sh returnStdout: true, script: '''for file in "."/*.html; do
|
||||
if [[ -f "$file" ]]; then
|
||||
sed -i \'s/\\(<link rel="canonical" href="\\)\\(.*\\)\\(.html" \\)/\\1\\2\\3/\' "$file"
|
||||
echo "Modified: $file"
|
||||
fi
|
||||
done'''
|
||||
echo "Done"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user