DS
Size: a a a
DS
A
DS
DS
A
DS
A
def aaa = getParameters().collect {
if( it.name == 'FORCE_REBUILD') { println it.value == true }
return it
}
echo "${aaa}"
[(BooleanParameterValue) FORCE_REBUILD='false',
A
DS
A
DS
aaa = getParameters().collect {
if (it.name == 'TEST' && it.getClass() == hudson.model.BooleanParameterValue ) {
return new hudson.model.BooleanParameterValue(it.name, true)
}
return it
}
A
OK
A
A
DS
KM
OK
M
D
def notes_url = new URL("${Url}")Получаю ошибку
URLConnection notes = notes_url.openConnection()
notes.setDoOutput(true);
notes.setRequestMethod("GET")
InputStream note_inputStream = notes.getInputStream();
def var_notes = new groovy.json.JsonSlurperClassic().parseText(note_inputStream.getText());
notes.disconnect();
for ( note in var_notes ) {
delele_note(note["id"].toString())
sh 'sleep 1'
}
import java.net.HttpURLConnection;
Ошибка осталась прежняя. Есть у кого-нибудь идеи?