1
0
forked from mirrors/0ad

Set executable on all shell scripts in the nightly

This commit is contained in:
Itms
2024-12-12 11:39:44 +01:00
parent 960bd5eace
commit 4cf04ffaa2
@@ -167,6 +167,7 @@ pipeline {
ws("workspace/nightly-svn") {
bat "svn add --force ."
bat "(for /F \"tokens=* delims=! \" %%A in ('svn status ^| findstr /R \"^!\"') do (svn delete %%A)) || (echo No deleted files found) ^& exit 0"
bat "for /R %%F in (*.sh) do (svn propset svn:executable ON %%F)"
withCredentials([usernamePassword(credentialsId: 'nightly-autobuild', passwordVariable: 'SVNPASS', usernameVariable: 'SVNUSER')]) {
script { env.GITHASH = gitHash
bat 'svn commit --username %SVNUSER% --password %SVNPASS% --no-auth-cache --non-interactive -m "Nightly build for %GITHASH% (%DATE%)"'