cd: First tag cleanup attempt
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
7e03a31eae
commit
2eba52c1e0
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -4,9 +4,11 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Files') {
|
stage('Files') {
|
||||||
steps {
|
steps {
|
||||||
sh returnStdout: true, script: '''for file in *
|
sh returnStdout: true, script: '''for file in "$directory"/*.html; do
|
||||||
do
|
if [[ -f "$file" ]]; then
|
||||||
echo $file
|
sed -i \'s/\\(<link rel="canonical" href="\\)\\(.*\\)\\(.html" \\)/\\1\\2\\3/\' "$file"
|
||||||
|
echo "Modified: $file"
|
||||||
|
fi
|
||||||
done'''
|
done'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user