Skip to content

Commit

Permalink
Fixing envs
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Feb 16, 2024
1 parent 0f2912a commit 061a108
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ pipeline {
}
}
stage('Build Recorder') {
environment {
STREAMER_RECORDER_USER_UID = credentials('streamer-recorder-user-uid')
}
steps {
script {
dir("recorder") {
docker.withRegistry('https://' + registryEndpoint, 'docker-registry') {
recorderImage = docker.build(recorderImageName, "--build-arg STREAMER_VERSION_ARG=${env.BRANCH_NAME}-${env.BUILD_ID} STREAMER_RECORDER_USER_UID=${credentials('streamer-recorder-user-uid')} --no-cache .")
recorderImage = docker.build(recorderImageName, "--build-arg STREAMER_VERSION_ARG=${env.BRANCH_NAME}-${env.BUILD_ID} STREAMER_RECORDER_USER_UID=$STREAMER_RECORDER_USER_UID --no-cache .")
}
}
}
Expand Down

0 comments on commit 061a108

Please sign in to comment.