cd: First tag cleanup attempt
All checks were successful
Woodburn Main/woodburn/pipeline/head This commit looks good

This commit is contained in:
Nathan Woodburn 2023-07-13 17:26:08 +10:00
parent 7e03a31eae
commit 2eba52c1e0
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

8
Jenkinsfile vendored
View File

@ -4,9 +4,11 @@ pipeline {
stages {
stage('Files') {
steps {
sh returnStdout: true, script: '''for file in *
do
echo $file
sh returnStdout: true, script: '''for file in "$directory"/*.html; do
if [[ -f "$file" ]]; then
sed -i \'s/\\(<link rel="canonical" href="\\)\\(.*\\)\\(.html" \\)/\\1\\2\\3/\' "$file"
echo "Modified: $file"
fi
done'''
}
}