chore: debug Jenkinsfile
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good

This commit is contained in:
amorozov 2025-03-03 03:10:34 +03:00
parent 137b16af8f
commit 7995151a4d

3
Jenkinsfile vendored
View File

@ -37,8 +37,9 @@ pipeline {
tag "${env.RELEASE_TAG_PREFIX}*"
}
steps {
sh "id"
sh "whoami"
sh 'Home: $HOME'
sh 'echo Home: $HOME'
sh 'awk -F: -v user=$(whoami) \'$1 == user { print $6 }\' /etc/passwd'
sh "docker login ${env.REGISTRY_HOST} -u ${env.GITEA_USER} -p ${env.GITEA_OAUTH_TOKEN}"
sh "docker image push ${resolveImageName(env)}"