Jenkins BUILD now issue -


in jenkins applications ,i accidentally clicked on " build " instead of "build parameters" link while trying build application , stuck . unable cancel build. tried building application again unable promote new build because previous build still not complete. there way can abort previous build ?

in jenkins script console (/jenkins/script) try:

jenkins.getinstance().getitembyfullname(jobname,job.class).getbuildbynumber(jobnumber).dostop() 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -