DS
Size: a a a
DS
HC
DS
HC
DS
withCredentials([usernamePassword(credentialsId: 'credId', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME')]) {
sh "echo '${USERNAME}:${PASSWORD}' > file"
sh "curl -F 'data=@file' https://myserver.com/upload"
}
DS
DS
DB
DB
DB
DS
DB
DS
DB
g
DB
DS
g
DS
DS