Skip to content

Commit 2eb6bf2

Browse files
committed
Restore noKeyAuth option on jenkins cli as it's still required for Jenkins < 2.222.1
1 parent 71156c7 commit 2eb6bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jenkins-cli.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ if [[ ! -f ${SCRIPT_FOLDER}/.jenkinscreds ]]; then
5050
echo "${username}:${pw}" > "${SCRIPT_FOLDER}/.jenkinscreds"
5151
echo ""
5252
fi
53-
java -jar "${CLI_JAR}" -auth @"${SCRIPT_FOLDER}/.jenkinscreds" -s "${jenkinsUrl}" "${@:2}"
53+
java -jar "${CLI_JAR}" -noKeyAuth -auth @"${SCRIPT_FOLDER}/.jenkinscreds" -s "${jenkinsUrl}" "${@:2}"
5454

0 commit comments

Comments
 (0)