Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup(infra.ci): correct the command for amd/arm agents #4763

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

smerle33
Copy link
Contributor

@smerle33 smerle33 commented Dec 12, 2023

related to jenkins-infra/helpdesk#3823

as per the error :

Error in provisioning; agent=KubernetesSlave name: jnlp-linux-arm64-5wgv9, template=PodTemplate{id='redacted', name='jnlp-linux-arm64', label='jnlp-linux-arm64', nodeSelector='kubernetes.io/arch=arm64', containers=[ContainerTemplate{name='jnlp', image='jenkinsciinfra/jenkins-agent-ubuntu-22.04:1.42.0', alwaysPullImage=true, workingDir='/home/jenkins/agent', **command='sleep', args='9999999'**, resourceRequestCpu='500m', resourceRequestMemory='512Mi', resourceRequestEphemeralStorage='', resourceLimitCpu='500m', resourceLimitMemory='512Mi', resourceLimitEphemeralStorage='', envVars=[KeyValueEnvVar [getValue()=/opt/java/openjdk/bin/java, getKey()=JENKINS_JAVA_BIN]], livenessProbe=ContainerLivenessProbe{execArgs='', timeoutSeconds=0, initialDelaySeconds=0, failureThreshold=0, periodSeconds=0, successThreshold=0}}]}

we need to correct the command to launch the agent jar

@smerle33 smerle33 requested review from a team and dduportal December 12, 2023 16:54
@dduportal dduportal merged commit 0e1edb5 into main Dec 12, 2023
11 checks passed
@dduportal dduportal deleted the smerle33-patch-1000 branch December 12, 2023 17:21
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.

2 participants