You dont need to cover ant scripts:
Here is the Jenkins migration Steps from Windows to Linux:
On Windows Machine Perform Following Activities
1. First find out the Plugins Installed on windows Jenkins setup
2. Find out Tools like (maven,ant,jdk ..etc) installed on windows Jenkins server (You can find these on jenkins global tool configuration)
3. Then Stop Jenkins and Copy all jobs files from Windows Jenkins Server:
<Jenkins_home>/jobs Folder
How to Find Jenkins Home Folder:
Login to Jenkins
Manage Jenkins
System Configuration
Click the first "advanced" button here you can find Jenkins_home path
Then Perform Follwoing Activites on New Linux Jenkins Server;
1. Install Jenkins on Linux Server nearest version that you installed on Windows
2. Install the plugs that you have on windows Jenkins server
3. Install the all tools that you had on windows Jenkins server
4. Stop Jenkins Server
5. Copy the all the jobs to in to Linux JENKINS_HOME folder
6. Start Jenkins Server
7. Go to Manage Jenkins Server
8. Click on "Reload Configuration from Disk" link
9. Allow Jenkins relaod takes 10-20 seocds will take
10. Re login and check your jobs , All must be there
wait wait Still porting is not completed.
11 On Linux Each yob you might be running as Batch command
12. Now you must change it Shell to run.
13 . And off course you need port changes if you are using any native batch scripts and need to convert into Bash Scripting.
Let me know if you need any help
Thanks and Regards,
Rajendra Prasad Reddy Penumalli
Sr. Engineer in Testing.
Mobile:9008566233