Skip to content

Commit

Permalink
Remove token unused
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Jul 14, 2024
1 parent 4fa8b9d commit f8c06b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
node("docker") {
cleanWs()
// Subtract repo name from the repo url (https://REPO_NAME/ -> REPO_NAME/)
withCredentials([string(credentialsId: 'repo21-url', variable: 'REPO21_URL',variable: "GITHUB_ACCESS_TOKEN")]) {
withCredentials([string(credentialsId: 'repo21-url', variable: 'REPO21_URL')]) {
echo "${REPO21_URL}"
def repo21Name = "${REPO21_URL}".substring(8, "${REPO21_URL}".length())
env.REPO_NAME_21="$repo21Name"
Expand Down

0 comments on commit f8c06b3

Please sign in to comment.