cd: Fix location
All checks were successful
Woodburn Main/woodburn/pipeline/head This commit looks good
All checks were successful
Woodburn Main/woodburn/pipeline/head This commit looks good
This commit is contained in:
parent
2eba52c1e0
commit
f6dad3985d
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -4,7 +4,7 @@ pipeline {
|
||||
stages {
|
||||
stage('Files') {
|
||||
steps {
|
||||
sh returnStdout: true, script: '''for file in "$directory"/*.html; do
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user