Skip to content

Commit

Permalink
[REMOVE] Test change detection and push build results on test-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Jan 19, 2024
1 parent 7d6e9a0 commit 9b917f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ pipeline {
sh '''
fn-sign-files() {
echo "Sign ${PLATFORM} libraries"
if [[ "${BRANCH_NAME}" == master ]] || [[ "${BRANCH_NAME}" =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
if [[ "${BRANCH_NAME}" == PR-988 ]] || [[ "${BRANCH_NAME}" =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
# Execute only the sign goal for only the binary-parent project and only search binaries to sign in the libs/<platform> directory
# Contratary to its name, with a suitable signer-service, the eclipse-winsigner plugin can be used to sign arbitrary files
mvn eclipse-winsigner:sign --file $binaryFragmentsRoot --projects . \
Expand Down Expand Up @@ -328,11 +328,11 @@ pipeline {
dir('eclipse.platform.swt') {
sh """
# Check for the master-branch as late as possible to have as much of the same behaviour as possible
if [[ '${BRANCH_NAME}' == master ]] || [[ '${BRANCH_NAME}' =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
if [[ '${BRANCH_NAME}' == PR-988 ]] || [[ '${BRANCH_NAME}' =~ R[0-9]+_[0-9]+(_[0-9]+)?_maintenance ]]; then
if [[ ${params.skipCommit} != true ]]; then
# Don't rebase and just fail in case another commit has been pushed to the master/maintanance branch in the meantime
git push origin HEAD:refs/heads/${BRANCH_NAME}
git push -f origin HEAD:refs/heads/test-PR-988
git push origin refs/tags/${getLatestGitTag()}
exit 0
Expand Down
1 change: 1 addition & 0 deletions bundles/org.eclipse.swt/Eclipse SWT PI/common/library/c.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
#endif /* _WIN32 */

#endif /* INC_c_H */
/* Dummy comment*/

0 comments on commit 9b917f7

Please sign in to comment.