In jenkins I am not able to add plugins,when I search for plugins I am getting a message as in the picture.
It looks like you have installed a plugin, but have yet to restart your Jenkins instance. If Jenkins is running as a service, simply stop and start the service command line, or check the checkbox in your screenshot above to restart Jenkins when no jobs are running and refresh the browser.
Should do the trick.
Related
Can anyone share how I might run a webdriver.io tests remotely from a vsts build as part of Continuous integration or continuous deployment? I'm thinking I can add a command line script to the build definition to run the tests.
I know I dont have an example here. But I have been searching for an answer. In need of help. Please.
You can add command line script to run the test.
Note: The agent need to be run as interactive mode if the test need to to interactive with browser.
I was told that a job cannot config the email notification, jenkins says 500 internal server error.
I found out that the problem was about the email-ext plugin. The default Mailer worked fine. Any job using the email-ext plugin cannot save configuration, even no change of the configuration.
I could not find what happens, the jenkins log didn't say anything.
I update the jenkins(2.72, then 2.73), and update all the plugins. problem did not disappear.
I uninstalled the plugin email-ext and tried to reinstall, but then jenkins said 500, so I manually remove the plugin/email-ext/ and the ...email-ext-config.xml, then restart the jenkins.
now any operation with any plugin will return 500 internal server error, even config the job with default mailer.
how could I fix this?
I can no longer add an email-ext post build step to my jenkins jobs.
This worked before, but the I upgraded to jenkins 2.7.1 and the email-ext plugin 2.44.
Now, when I add an post build step to a job and try to save the modified job, I will be taken to a login page and this page will lead to an error and the new step will not be saved.
Frank
One solution is to downgrade your jenkins to earlier working version.
Try uninstall/reinstall of email plugin.
If you are OK with the New version and not willing to downgrade and wanted email as a post build step, follow the below steps.
Steps:
Login to the server where you have installed jenkins and traverse to the that jobs config.xml path.
add the email section to the job's config.xml [You can refer to other existing job's config.xml which contains email section as a post build and use the same in this job, paste those lines in your job's config.xml]
Save you changes.
Now come back to your jenkins GUI and goto manage jenkins section.
Click on "Reload Configuration from Disk", This will reload your changes from server.
You will now be able to find the changes saved.
Another way is to update the job config.xml from jenkins command line.
search for jenkins-cli.jar and you will find a route.
I started adding e2e tests into our project and it seems a few things changed since the last time I used Protractor. For example elementExplorer still useful, but Elementor is way more cooler.
In its the readme is says to launch it by running e.g.: webmanager start and then elementor http://localhost:3000.
But this way it ignores protractor.conf. And since I have a binary path for Chrome browser in that file, along with a logic for clearing cookies and logging into the app in onPrepare function, protractor has to know where the file is. But I can't find a way.
Starting protractor as usual via protractor protractor.conf.coffee and then elementor localhost:3000 not working either. It says "Unable to start a WebDriver session"
Yes, you should launch it by running webdriver-manager start, I use this to run the scripts: protractor script_file_conf.js since I save my scripts as javascript code in my repository. Remember that the conf file should have a reference to the script file.
I am running automated builds in jenkins after successful build the jars are copying in to my scp repository.
I configured in post build action publish artifacts in to scp repository. Everything is going fine.
But I want to stop my dev server before copying artifacts in to my dev server from jenkins.
Is it possible to stop my dev server from jenkins ?
I'm not sure if you are still looking for an answer but you can install plugin to run a script post build.
You can install the plugin by browsing to Manage Jenkin -> Manage Plugin on Jenkins. Then select Available tab. Search for the Post Build Task plugin and install