chore: debug Jenkinsfile
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
All checks were successful
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head This commit looks good
This commit is contained in:
parent
137b16af8f
commit
7995151a4d
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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)}"
|
||||
|
Loading…
Reference in New Issue
Block a user