chore: debug Jenkinsfile
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit
Some checks failed
Gitea/docker-base-images/jenkins-ssh-agent-jdk17-dind/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fdbf1cd52e
commit
137b16af8f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -39,7 +39,7 @@ pipeline {
|
||||
steps {
|
||||
sh "whoami"
|
||||
sh 'Home: $HOME'
|
||||
sh 'awk -F: -v user=$(whoami) '$1 == user { print $6 }' /etc/passwd'
|
||||
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