mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Jenkinsfile: fix invalid expression in bundles script
This was introduced in a76ff632a4
:
+ find bundles -path */root/*overlay2 -prune -o -type f ( -o -name *.log -o -name *.prof ) -print
find: invalid expression; you have used a binary operator '-o' with nothing before it.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
32688a47f3
commit
ca1e7a3b4a
1 changed files with 5 additions and 5 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -328,7 +328,7 @@ pipeline {
|
||||||
bundleName=janky
|
bundleName=janky
|
||||||
echo "Creating ${bundleName}-bundles.tar.gz"
|
echo "Creating ${bundleName}-bundles.tar.gz"
|
||||||
# exclude overlay2 directories
|
# exclude overlay2 directories
|
||||||
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -o -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
||||||
'''
|
'''
|
||||||
|
|
||||||
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
||||||
|
@ -425,7 +425,7 @@ pipeline {
|
||||||
bundleName=s390x-integration
|
bundleName=s390x-integration
|
||||||
echo "Creating ${bundleName}-bundles.tar.gz"
|
echo "Creating ${bundleName}-bundles.tar.gz"
|
||||||
# exclude overlay2 directories
|
# exclude overlay2 directories
|
||||||
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -o -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
||||||
'''
|
'''
|
||||||
|
|
||||||
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
||||||
|
@ -503,7 +503,7 @@ pipeline {
|
||||||
bundleName=s390x-integration-cli
|
bundleName=s390x-integration-cli
|
||||||
echo "Creating ${bundleName}-bundles.tar.gz"
|
echo "Creating ${bundleName}-bundles.tar.gz"
|
||||||
# exclude overlay2 directories
|
# exclude overlay2 directories
|
||||||
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -o -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
||||||
'''
|
'''
|
||||||
|
|
||||||
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
||||||
|
@ -598,7 +598,7 @@ pipeline {
|
||||||
bundleName=powerpc-integration
|
bundleName=powerpc-integration
|
||||||
echo "Creating ${bundleName}-bundles.tar.gz"
|
echo "Creating ${bundleName}-bundles.tar.gz"
|
||||||
# exclude overlay2 directories
|
# exclude overlay2 directories
|
||||||
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -o -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
||||||
'''
|
'''
|
||||||
|
|
||||||
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
||||||
|
@ -674,7 +674,7 @@ pipeline {
|
||||||
bundleName=powerpc-integration-cli
|
bundleName=powerpc-integration-cli
|
||||||
echo "Creating ${bundleName}-bundles.tar.gz"
|
echo "Creating ${bundleName}-bundles.tar.gz"
|
||||||
# exclude overlay2 directories
|
# exclude overlay2 directories
|
||||||
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -o -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
find bundles -path '*/root/*overlay2' -prune -o -type f \\( -name '*.log' -o -name '*.prof' \\) -print | xargs tar -czf ${bundleName}-bundles.tar.gz
|
||||||
'''
|
'''
|
||||||
|
|
||||||
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue