Skip to content

Commit

Permalink
ensure that the build log is chmod'd 644 so we can actually read it o…
Browse files Browse the repository at this point in the history
…n download.jb.org
  • Loading branch information
nickboldt committed Mar 10, 2015
1 parent 49cef8a commit 302c984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish/rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ getRemoteFile ()
if [[ ${JOB_NAME} ]]; then
bl=${tmpdir}/BUILDLOG.txt
getRemoteFile "http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/${JOB_NAME}/${BUILD_NUMBER}/consoleText"; if [[ -w ${getRemoteFileReturn} ]]; then mv ${getRemoteFileReturn} ${bl}; fi
touch ${bl}; rsync -arzq --protocol=28 ${bl} $DESTINATION/${TARGET_PATH}/logs/
touch ${bl}; chmod 664 ${bl}; rsync -arzq --protocol=28 ${bl} $DESTINATION/${TARGET_PATH}/logs/
fi

# TODO: create BUILD_DESCRIPTION variable (HTML string) in Jenkins log containing:
Expand Down

0 comments on commit 302c984

Please sign in to comment.