how to add Javascript files to Jenkins jelly file? -
i couldn't find on how include own javascript jenkins jelly file. far have added jquery using following
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"/> say if have mypagescripts.js in jenkins project, there anyway can include own javascript files there script src?
found :) can add project path
add custom js here.
projectname\src\main\webapp\mycustom.js
on jelly file can access by
<script src="${rooturl}/plugin/projectname/mycustom.js"/>
Comments
Post a Comment