diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index f933647bc..d61d8b615 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -71,6 +71,8 @@ jobs: echo "Installed tcpdump" sudo tcpdump -s 0 -i eth0 -w mycap.pcap & echo "Launched tcpdump" + PID=`pgrep tcpdump` + echo "PID=${PID}" ./mvnw --batch-mode -U clean install -P${{ inputs.eclipse_profile }} -P${{ inputs.build_type }} $sts4_ls_version_param $p2_qualifier_param -Pgitactions -Pgpg.sign \ -Dmaven.repo.local=~/.m2/repository-signed -Dmaven.test.skip=true -Declipse.p2.mirrors=false -Dtycho.localArtifacts=ignore -Dp2.replaceQualifier=true \ -Dskip.eclipserun.proxies=false -Dtycho.equinox.resolver.uses=true \ @@ -82,6 +84,8 @@ jobs: -Dhttpclient.retry-max=60 \ -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=2400000 -Dorg.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.readTimeout=2400000 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=2400000 \ -Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=60 + sudo kill $PID + sudo sleep 10 ls -la - name: Store S3 Paths id: s3-paths @@ -109,7 +113,7 @@ jobs: p2_path=${{ steps.s3-paths.outputs.p2_path }} echo "P2 path: ${p2_path}" echo "TCP Dump path: ${tcpdump_path}" - aws s3 mv tcpdump_path s3://tools-spring-io/$p2_path/mycap.pcap --no-progress + aws s3 mv $tcpdump_path s3://tools-spring-io/$p2_path/mycap.pcap --no-progress - name: Upload P2 Repo Build Artifacts run: | cd eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target