I'm trying to schedule to run test set of ALM using jenkins, i saw there is way using bumblebee plugin for jenkins. but this tool is $3000 per year. is there any way we can achieve this using open source tool?
Related
I am trying to read data form SQL server to process using Spark. I am using Zeppelin for writing my scala commands. I never worked on Java or Spark or Zeppelin, so I am having hard time figuring out the issues.
I installed spark on my machine and everything seem to be working as I can get to spark-shell successfully. I have installed Zeppelin via Docker and this also seem to be working as I can create a new notebook and run "sc" and can see the SparkContext type printed.
Now I want to read data from SQL Server. I am planning to use azure-sqldb-spark connector but I am not sure how to use it. I am trying to add this as an interpreter to Zeppelin but not sure what are the required properties and how to use it.
This is what I did so far.
Downloaded the jar file from GitHub repo. (I am not able to run this on my machine as this is complaining that there is no manifest file)
Copied this jar file to the container running zeppelin
Tried to create an interpreter in Zeppelin
Here are the properties:
I am specifying the dependency on jar file like this.
I tried to play with the properties a bit but no luck. I am not even sure if this is the right way to do this.
I am trying to run the following query but running into suitable driver not found issue.
I have setup Jenkins to automatically build my Maven project. I would like to extend the same to automatically create database tables if they dont exist. Can this be done via jenkins? i.e. Can the Jenkins job be modified to have an additional pre-build step of creating database tables? If so, can anyone give me any pointers as to how to do this?
if this is not possible directly in Jenkins, can this be done via Maven? i.e. modify the Maven build to create the tables before compiling the code.
Any help will be useful. Thanks in advance!
You could use the sql maven plugin to execute sql-scripts or define pre-build steps in the jenkins job.
See this similar question for more tips...
If you prefer not to use maven but a jenkins solution I would add a 'pre-build Step' or a 'Build-Step' (depends on your job-type) of the type 'Execute Shell' or 'Execute Windows batch command' and call the corresponding command line tool of your database (in this case MySQL Command-Line Tool).
The command line tool must be installed on the jenkins server or must be included in the project checkout.
As a solution, I used a separate Jenkins Job to run the SQL script via the Jenkins command line tool interface.
I have automated build and deploy process in TFS by referring to http://www.codeproject.com/Articles/790206/Deploying-Web-Applications-using-Team-Foundation.
After deployment I am validating deployed application by running selenium scripts via batch file by mentioning the path in "post-test script path". Its executes the batch file and runs automated tests.
Now, I wanted publish these selenium results. So I have created jenkins jobs with email configured. So how to execute this job post deployment. I have tried by providing jenkins job trigger email in "post-test script path", but it actually looking the path and throughs an error. So how to execute jenkins jobs post deployment.
Also, I am trying complete automation process, where it automatically build, deploy and run some selenium tests using TFS. If any body has better process please let me know. Thanks
You can use the Command Line task in the new TFS 2015/VSTS build system to easily execute selenium tests.
You can then easily configure and pass variables.
I would also recommend that you move to using release management tools for deployment. While a CD makes sense for development it is often not viable for a release pipeline and you need more meta data and approvals.
You can do this with the release management tools that come with TFS 2013+.
I have a simple website built using PHP. It is hosted on a Linux server.
I need to run a PHP script every night. How do I do this?
Will an 'open-source job scheduler in java' be able to run a PHP script?
There are several possibilities.
If you have shell access to the machine you can set up a scheduled task (cron job, http://www.scrounge.org/linux/cron.html) to execute your script either by the php command line client or by a tool like curl or wget.
IF you don't have access to the shell on that machine there are several web sites that offer free cronjobs. Basically what they do is that you give them a link and the schedule when they should access your link. Just google for online cron job
I have a small program that I would like to turn into an installable windows.form. It needs to automatically be run as a cron job/scheduled task. How can I do this?
C#
You can either have it setup as a Windows Service or the at command can run it as a scheduled task.
http://support.microsoft.com/kb/313565