Skip to content

Commit

Permalink
Fix paths in Jenkinsfile for docker tag file and golicense command
Browse files Browse the repository at this point in the history
  • Loading branch information
ptankov committed Jan 11, 2025
1 parent 940f31f commit d0dba5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'hub.docker.com', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
sh '''
DOCKER_TAG=perconalab/percona-xtradb-cluster-operator:$VERSION
docker_tag_file='./results/docker/TAG'
docker_tag_file='results/docker/TAG'
mkdir -p $(dirname ${docker_tag_file})
echo ${DOCKER_TAG} > "${docker_tag_file}"
sg docker -c "
Expand Down Expand Up @@ -482,7 +482,7 @@ pipeline {

withCredentials([string(credentialsId: 'GITHUB_API_TOKEN', variable: 'GITHUB_TOKEN')]) {
sh """
golicense -plain ./percona-xtradb-cluster-operator \
golicense -plain percona-xtradb-cluster-operator \
| grep -v 'license not found' \
| sed -r 's/^[^ ]+[ ]+//' \
| sort \
Expand Down

0 comments on commit d0dba5e

Please sign in to comment.