Questions tagged [script-console]
8 questions
13
votes
2 answers
How do you reload your environment while using script/console?
I think I have seen Ryan Bates do it one of his screencasts, but I can't find it.
I believe there is a command you can run while in script/console that lets you reload your models (if say you have made a change) so that you dont have to exit and…

aarona
- 35,986
- 41
- 138
- 186
11
votes
4 answers
Is there a way to change frames in the Internet Explorer script console?
In Google Chrome's Dev tools there's a simple dropdown to choose which window you want to execute your script in:
Is there an equivalent in Internet Explorer? I'm trying to run scripts from the console as if they're from an iframe, not the…

Tom Lianza
- 4,012
- 4
- 41
- 50
6
votes
2 answers
'script/console test' with spork and rspec not loading the whole environment?
I'm trying to load up console to interact with some of my rspec mocking helpers. I expected that running script/console test would load an env similar to when I run spec. However, this doesn't appear to be the case. It looks like spec_helper is…

Dane O'Connor
- 75,180
- 37
- 119
- 173
5
votes
1 answer
Efficient way to write jenkins console scripts with an ide
Recently I have to write more and more scripts for the jenkins console.
I think some assistance like syntax highlighting and code completion would make me more productive, especially because I am new to groovy.
I have found here some good ideas,…

cpetry
- 198
- 1
- 11
0
votes
1 answer
Quotes in JQL query not working in Jira script console
I am using a JQL query in my code that I am writing in the script console of Jira and I am having some issues with the quotes in the script console as you can see below.
Here is the code:
def query3 = ""
try{
query3 =…

Mouna Camelia Hammoudi
- 596
- 1
- 5
- 19
0
votes
1 answer
Write a File from Jenkins Groovy Script-Console
I'm trying to find a way to write some content to a file using Jenkins Groovy Script-Console.
The use-case: Our CI manages some state-machine using a volume shared between all the nodes (which is in turn mapped to EFS). However - following the…

Radagast the Brown
- 3,156
- 3
- 27
- 40
0
votes
0 answers
how do we disable and remove script console (groovy) from jenkins
i wanted to disable and remove the script console(groovy) from Jenkins, just need is there any option to remove that from Jenkins so that no one can use and run any command.
we wanted to remove this because of security purpose, please confirm me…
0
votes
1 answer
How to get only Successful builds from last 24hrs using groovy script in Jenkins?
I need to get the list of jobs that was successfully ran in last 24hrs from current time of script execution.
Currently i am getting only present days date successful jobs but however i am looking for last 24hrs which could be last days jobs also…

Karthik Reddy
- 41
- 8