26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
<div class="alert alert-orange ml15 mr15 mb10"><p>提示文字</p></div>
|
|
<div class=" sy_new_tchbox clear ">
|
|
<a href="#" class="fr sy_btn_green mb10">开启实训</a>
|
|
<div class="cl"></div>
|
|
<div class="clear">
|
|
<textarea style="width:746px; height:300px;border: 1px solid #c8c8c8; padding:5px;margin-bottom: 5px;" placeholder="请输入脚本"></textarea>
|
|
<a href="javascript:void(0)" class="fr btn btn-grey">取消</a>
|
|
<a href="javascript:void(0)" class="fr btn btn-blue mr5">确定</a>
|
|
</div>
|
|
|
|
</div>
|
|
<h3>请输入脚本</h3>
|
|
<p><%= link_to "开启实训", training_project_execute_project_path(@project) %></p>
|
|
<textarea id="pull_request_comment" name="pull_request_comment" class="pullreques_reply_textarea" style="padding-left: 0px;"></textarea>
|
|
|
|
<textarea>
|
|
node()
|
|
{
|
|
stage "first"
|
|
def args = "command=fileExists"
|
|
|
|
def response = httpRequest acceptType: 'APPLICATION_JSON_UTF8', consoleLogResponseBody: true, contentType: 'APPLICATION_FORM', httpMode: 'POST', requestBody: args, url: "http://localhost:8080/jenkins-exec/pipeline/call?taskId=${taskId}"
|
|
println('Status: '+response.status)
|
|
println('Response: '+response.content)
|
|
}
|
|
</textarea> |