Questions tagged [jenkins-scriptler]

The Jenkins Scriptler Plugin allows you to store/edit groovy scripts and execute it on any of the slaves/nodes of a Jenkins instance.

The Jenkins Scriptler Plugin allows you to store/edit groovy scripts and execute it on any of the slaves/nodes of a instance.

88 questions
0
votes
0 answers

Getting a result of current running job of a project java code snippet

I want to get the current running build status of a particular job in Java for my plugin.
0
votes
1 answer

Problems with copying file to System32 folder through a jenkins job?

I was trying to copy a .dll file from "C:\Tests" to "C:\Windows\System32" by COPY command like COPY "C:\Tests\windows\test.dll" "C:\Windows\System32\test.dll" Jenkin job output says file copied and I tried printing and checking for existence of…
Sreevalsa E
  • 905
  • 5
  • 17
  • 39
0
votes
1 answer

jenkins Slave API setLabelString adds to User list

I have the following script under a JOB, which when run adds the userId to the label of the slave. import jenkins.model.Jenkins import hudson.model.User import hudson.security.Permission import hudson.EnvVars EnvVars envVars =…
bicepjai
  • 1,615
  • 3
  • 17
  • 35
0
votes
1 answer

is it possible call batch script presented in the slave machine by using jenkins

I had installed my jenkins master in the linux. slave in the windows environment. I am trying to call the batch script presented in the slave(windows) machine. But I am not able to do this. If any one this please let me know.
0
votes
0 answers

Jenkins- Display link to build output- residing on shared path (outside workspace)

Hell All, I have a job/build configured in jenkins that does the entire build from a local copy (not a version controlled one at this moment). As part of the build process, some files/pre-generated reports are copied into a shared drive (located in…
0
votes
1 answer

groovy.lang.MissingPropertyException: Not able to get the manager inside groovy system plugin

I am trying to get the manager inside a groovy script and it is throwing me below exception. I have import the hudson.model.* and also running in groovysystemscript instead of groovy script. Still I am not able to access the manager class. If I run…
Hari
  • 237
  • 1
  • 10
  • 23
0
votes
2 answers

Dashboard using output results from Jenkins API

I am new to Jenkins API. I just had assignement in company where PL asked me to create a new job in Jenkins where I will run all the testing,build related things on my code and it should create dashboard where all figures and graph should be shown.…
Pramod
  • 69
  • 1
  • 10
0
votes
0 answers

jenkins ssh plugin deployment

I'm using the jenkins with ssh plugin for my CI deployment, the question is: I configure 2 servers (e.g A, B) to be deployed, however , only the first server(A) is completed the deployment, if I change the order(B, A), then only the B server is…
0
votes
1 answer

Jenkins Copy to slave plugin is over writing all the files

I have setups jenkins for automation scripts and we have 1 Jenkins server and 5 different Slaves . what i want to do is , i want to copy all the files to main server which is master machine after every run . I have checked copy to slave plugin but…
viral
  • 1
  • 1
0
votes
1 answer

Default subject missing in the Jenkins email

I am adding recipients dynamically using the following in the pre-send script: import javax.mail.Message import javax.mail.internet.InternetAddress msg.addRecipient(Message.RecipientType.TO, new InternetAddress('recipient@example.com')) Now after…
0
votes
1 answer

continuous deployment with jenkins--need deployment script to deploy the build artifacts

we are building java based code thru Jenkins and we are trying to deploy the build code thru Jenkins.can anyone provide deployment script which call s thru jenkins
Ani
  • 5
  • 3
-1
votes
1 answer

Jenkins job log monitoring, parsing with error pattern in master

I am working on a perl script which will do the following: Trigger a script in post build action when job fails. Read the log file and try to match the errors with a consolidated error/solution file. If error is matched with pattern file, then…
-1
votes
4 answers

Continuous Execution in Jenkins

How to execute the same build again and again in Jenkins(Say I want to execute the build for 10 times continuously). After each execution the reports have to copied. Don't say create 10 jobs and make use of Downstream/Upstream.
louis
  • 595
  • 3
  • 9
  • 24
1 2 3 4 5
6