put in subdir named after branch (#4991)
This commit is contained in:
parent
98fd01782c
commit
92cd77db5b
|
@ -390,7 +390,7 @@ jobs:
|
|||
|
||||
- name: Package Bundle
|
||||
if: ${{( github.event_name == 'push' && github.ref == 'refs/heads/master' && env.skip != 'true' ) || inputs.lts }}
|
||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh ${{matrix.build-target}} ${{matrix.ini-file}} ${{ toJSON(inputs.lts) }}
|
||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh ${{matrix.build-target}} ${{matrix.ini-file}} ${{ github.ref_name }}
|
||||
|
||||
- name: Upload .ini files
|
||||
if: ${{( github.event_name == 'push' && github.ref == 'refs/heads/master' && env.skip != 'true' ) || inputs.lts }}
|
||||
|
@ -498,7 +498,7 @@ jobs:
|
|||
|
||||
- name: Package Bundle
|
||||
if: ${{( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.lts }}
|
||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh default default ${{ toJSON(inputs.lts) }}
|
||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh default default ${{ github.ref_name }}
|
||||
|
||||
- name: Attach console junit results
|
||||
if: always()
|
||||
|
|
|
@ -116,8 +116,8 @@ ls -l $FULL_BUNDLE_FILE
|
|||
if [ -n "$RUSEFI_SSH_USER" ]; then
|
||||
echo "$SCRIPT_NAME: Uploading full bundle"
|
||||
retVal=0
|
||||
if [ "$1" = "true" ]; then
|
||||
tar -czf - $FULL_BUNDLE_FILE | sshpass -p $RUSEFI_SSH_PASS ssh -o StrictHostKeyChecking=no $RUSEFI_SSH_USER@$RUSEFI_SSH_SERVER "tar -xzf - -C build_server/lts"
|
||||
if [ -n "$1" ]; then
|
||||
tar -czf - $FULL_BUNDLE_FILE | sshpass -p $RUSEFI_SSH_PASS ssh -o StrictHostKeyChecking=no $RUSEFI_SSH_USER@$RUSEFI_SSH_SERVER "mkdir -p build_server/lts/$1; tar -xzf - -C build_server/lts/$1"
|
||||
retVal=$?
|
||||
else
|
||||
tar -czf - $FULL_BUNDLE_FILE | sshpass -p $RUSEFI_SSH_PASS ssh -o StrictHostKeyChecking=no $RUSEFI_SSH_USER@$RUSEFI_SSH_SERVER "tar -xzf - -C build_server"
|
||||
|
|
Loading…
Reference in New Issue