Skip to content

pxc-docker-tests integrated job: arm and amd - #4034

Open
panchal-yash wants to merge 4 commits into
masterfrom
pxc-docker-tests-addition
Open

pxc-docker-tests integrated job: arm and amd#4034
panchal-yash wants to merge 4 commits into
masterfrom
pxc-docker-tests-addition

Conversation

@panchal-yash

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread pxc/jenkins/pxc-docker-tests.groovy Outdated
Comment on lines +81 to +88
fi
echo "Detected architecture: \$ARCH, using Trivy for Linux-\$ARCH_NAME"
wget https://github.com/aquasecurity/trivy/releases/download/v\${TRIVY_VERSION}/trivy_\${TRIVY_VERSION}_Linux-\${ARCH_NAME}.tar.gz
echo "\${TRIVY_CHECKSUM} trivy_\${TRIVY_VERSION}_Linux-\${ARCH_NAME}.tar.gz" | sha256sum -c -
sudo tar zxvf trivy_\${TRIVY_VERSION}_Linux-\${ARCH_NAME}.tar.gz -C /usr/local/bin/
wget https://raw.githubusercontent.com/aquasecurity/trivy/v\${TRIVY_VERSION}/contrib/junit.tpl
/usr/local/bin/trivy -q image --format template --template @junit.tpl -o trivy-hight-junit-arm.xml \
--timeout 10m0s --ignore-unfixed --exit-code 1 --severity HIGH,CRITICAL ${DOCKER_ACC}/${DOCKER_PRODUCT}:${DOCKER_TAG} || true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a shared library in jenkins that keep trivy installation the same for all jenkins jobs. So please use it

@panchal-yash
panchal-yash force-pushed the pxc-docker-tests-addition branch from 4da9fd8 to 51aa523 Compare June 26, 2026 05:16

@kaushikpuneet07 kaushikpuneet07 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants