CC To SVN Migration

srinivasula created the topic: CC TO SVN migration
Hi ,

We are able to create a SVN repository in local and then copy it to a existing SVN rep. Export from CC and direct import to https://svnuat is not working.we dnt have accesse SVN server is located

what i need to do please help me any one…

Thanks in Advance

rajeshkumar replied the topic: CC TO SVN migration
What here CC stands for. please expedite your problem in more details?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Infinite Refresh Issues In Buildforge

rajeshkumar created the topic: Infinite Refresh issues in BuildForge
Today i have got strange issues in Buildforge which is Refreshing Infinite times in loop though Maximum Refreshes is set to 50. Still looking for cause and solution for it.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

venkatesh.web replied the topic: Infinite Refresh issues in BuildForge
Rajesh,

Did you found the root cause, what was the root cause and what was the solution for this,

Thanks,
Venkatesh

rajeshkumar replied the topic: Infinite Refresh issues in BuildForge
Thanks
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Certification

pavani created the topic: Certification
Hello

Any certification available for Software configuration management, If yes, where can I do certification training in Bangalore and how to take up the exams in bangalore

Thanks
Roopa

rajeshkumar replied the topic: Certification
SCM is a practice and there is as such certification for SCM but you might get certification for SCM tools and Technology such as perforce certification linux or github/git.

there is one iNTCCM, iNTernational Certification for Configuration Management professionals but I am not sure how much thats being rewarded by companies.

-Rajesh Kumar
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Is it Continuous Compilation Or Continuous Integration?

Hello Friends,

I am creating a checklists of questionnaire for the project mgmt to know the fact whether their project is CI or CC. I have got here few points which can be asked to Dev mgr to findout if they are CC or CI.

Please add your inputs as well if I am missing anything here….

How much code coverage do you have with your tests?
How long does it take to run your builds?
What is your average code complexity?
How much code duplication do you have?
Are you labeling your builds in your version control repository?
Where do you store your deployed software?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Build And Release Projects – B1

rajeshkumar created the topic: Build and Release Projects – B1
Project1 (Shell Scripting)
Write a script which can ask user to enter machinename/hostname/ipaddress and based on the entry do the following tasks.
1. Check if the machine name is valid or not, it its not valid, ask user to enter the machine name again. (Play with ping command)
2. if the machine name is valid, Print Name of the drives | total size | free size | used size ( Play with cut command)
3. Install jenkins and start the services
4. and send out an email to rajesh@scmgalaxy.com

Project2 (Ant & Git-Github)
Write a Ant Script which will create a local repostory based on the user parameter passed(name of repos) and it should add numbers of files and commit.
then it should set the required git config and push to the one particular git hub remote repos.

Project3 (Maven)
Write a 2 maven project and each one of these project will consist of three differnt projects
1. Java project
2. donet
Now write a master maven project and call above projects as a sub projects.

Project4- Backup & Restore
all the three projects should be live in 5 mins and I will destroyt these setup and you will restore it within 5 mins.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

sribhavani_u replied the topic: Build and Release Projects – B1
project1
======
#!/bin/bash
#script to ask user to enter machinename/hostname/ipaddress and check if they are valid or not
jen_start()
{
wget -O /etc/yum.repos.d/jenkins.repo pkg.jenkins-ci.org/redhat-stable/jenkins.repo
rpm --import jenkins-ci.org/redhat/jenkins-ci.org.key
yum install jenkins
java -version 1>/dev/null 2>/dev/null
i=$?
if [ $i -ne 0 ]; then
yum install java
else
service jenkins restart
chkconfig jenkins on
fi
}
while :
do
echo "Please enter host you would like to ping(machinename/hostname/ipaddress):"
read PING
count=$( ping -c 1 $PING | grep icmp* | wc -l)
if [ $count -eq 0 ]
then
echo "Given Host is invalid.give the valid host"
else
echo "Given host is valid"
df -Pk | awk ' { printf "%30s %12s %12s %12s \n", $6, $2, $4, $3 } '
echo "starting jenkins server"
jen_start
service jenkins status
i=$?
if [ $i -eq 0 ]; then
echo "jenkinsis up and running" | mail sribhavani_u@yahoo.com
fi
exit
fi
done

sribhavani_u replied the topic: Build and Release Projects – B1
PROJECT#3
=========

parent pom

4.0.0
com.sri
myproject3
jar
1.0-SNAPSHOT
myproject3

SampleApplication
webapp

maven.apache.org

junit
junit
3.8.1
test

 

SampleApplication

myproject3
com.sri
1.0-SNAPSHOT
4.0.0
com.sri
SampleApplication
jar
1.0-SNAPSHOT
SampleApplication
maven.apache.org

junit
junit
3.8.1
test

webapp

myproject3
com.sri
1.0-SNAPSHOT
4.0.0
com.sri
webapp
war
1.0-SNAPSHOT
webapp Maven Webapp
maven.apache.org

junit
junit
3.8.1
test

webapp

 

navneet07 replied the topic: Build and Release Projects – B1
echo "please enter ipaddress:"
read ipaddress
if ping -c 1 $ipaddress &> /dev/null
then
echo "Ip address is valid and Below is the filesystem of this machine $ipaddress "
df -h|cut -c1-43
else
echo "Ip address is invalid,please enter the ip again:"
read ipaddress
echo "New IP" $ipaddress
fi

Tagged :

DevOps Engg Full-Time Position In SFO

DevOps Engineer (California Fulltime)
To support our key business initiatives, we are looking for a DevOps Engineer to build innovative and highly scalable solutions to help build best in class CI/CD pipeline by making use of cutting edge technologies and tools. Also, build a world-class infrastructure that could span across cloud, bare metal and/or a hybrid environment to support our DevOps ambitions. We believe in building incrementally, thoughtfully managing what we have, automating “all the things,” continuously integrating and delivering, prioritizing the many exciting projects on the roadmap, and, above all working together.

Responsibilities

• Support and improve our tools for continuous build, automated testing and release management
• Streamline, standardize and automate build and release processes
• Provide automation and provisioning through use of configuration management tools
• Continuously look to improve the efficiency of our build/release/deploy process (via automation, new tools), driving towards the implementation of Continuous Delivery
• Communicate and collaborate among cross-functional teams in a multinational environment
• Manage our infrastructure on AWS and our own Datacenters
• Ability to work in an agile way with complex systems and regulated environment

Qualifications

• 5+ years’ experience as a build/release engineer or similar role with hands on experience working with enterprise products
• A fast learner, self-starter with DevOps mindset and proponent of software development best practices
• Proficient in various programming and scripting languages, especially Python, Ruby, and shell scripting
• Experience with latest tools in the Continuous Integration Space, e.g. Jenkins, FinalBuilder, MSBuild, ANT, Maven
• Experience with version control tools like SVN, TFS, Git and managing branching strategy
• Knowledge of version control, build, packaging, and release workflows
• Experience of dealing with build failures, debugging and fixing the issues
• Experience with AWS (Amazon Web Services) hosting, VMware virtualization, VMware ESX, Linux, and Windows experience
• Experience in any of the configuration management tools like Chef, Puppet, Salt, Ansible is a big plus
• Experience working in a regulated environment, and familiarity with security analysis tools such as Fortify is a plus

Tagged : / /

Scm Polling Stopped To Work

pasupuleti2 created the topic: SCM polling stopped to work
Rajesh,

Recently I’m having problems with a Jenkins 1.57 builds, for some reason after a while Jenkins stops to poll the SCM (the Git (Bitbucket) polling log seems to contain the last _successful_ check and that’s all), also periodic building seem to suffer from the same problem. Are you aware of any known issues that could cause this problem? Where should I look for possible causes? (in my setup I have several slave nodes, but the vast majority of the jobs are being built on the master node)

Our Server is Windows server 2012.

Any help would be appreciated.

Thanks
-Saritha

rajeshkumar replied the topic: SCM polling stopped to work
This is expected behaviour. SCM poll will return true / false based on the changes. if not change found, it wont do anything..

This method does the actual polling and should return true or false if there are any changes in the repository.

More info
wiki.jenkins-ci.org/display/JENKINS/Polling+for+changes
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Interview Questions & Answers

WHY YOU WOULD LIKE TO RELOCATE TO UNITED STATES
In interviews, I had just technical rounds and one question was asked. why you would like to relocate to United States??

What should be the best answer for this?

SOME GENERIC QUESTIONS ASKED IN FACEBOOK INTERVIEW
Here are some generic questions asked in facebook interview.

1. What do you know about the Company
2. When did you first become a Facebook user?
3. What are your typical activities on Facebook?
4. What is the social impact of Facebook? How did it change the way you keep in touch with your friends?
5. What Facebook features you could not live without?
6. What features do you wish Facebook had?
7. Do you have a lot of applications installed? How about your friends?
8. Do you trust Facebook with your personal information?
9. What have you seen that people have shared that you found out of line?
10. What do you think of Facebook advertising? Do you find Facebook ads more relevant than other online ads?
11. Would you purchase books, movies, or music if you saw that your friends bought them? What if you knew that they were getting commission every time you bought something?
12. Where will Facebook be in 5 years?
13. What are the advantages of Facebook’s entry to India
14. Here are some questions that were asked during those rounds
15. What are you strengths and weaknesses?
16. Why Facebook?
17. How do your current job duties carry over to this position?
18. What experience do you have with Build and Release Engineer?
19. What would your current boss say if I asked him why I should hire you?
20. What is a recent project you are really proud of?
21. Why would your current boss recommend I hire you?
22. What would you improve on the site?
23. Tell me about a time you disagreed with your manager about an issue, and what did you do to overcome it?
24. Can you explain a situation where you didn’t meet your goals or objectives ?
25. Explain the real reason – We got many new things on the way which was not expected in intitals n planned but ….
26. If your current manager has to tell about your strengths and weaknesses what would be your strengths and weaknesses?
27. Explain a situation where you faced conflict or difficult communication problems?
28. Have you ever had a conflict with a boss / colleague /professor or with your family members? How was it resolved?
29. Pros n cons for both the things n then decide with the discussing together and manager
30. How would you compare Facebook advertisements to competing advertisement outlets such as Google or Yahoo?
31. Describe your favourite feature/application. Try to write it as a letter/email to a user asking for your advice.

INTERVIEW QUESTIONS WITH FACEBOOK FOR BUILD AND RELEASE ENGINEER POST
1) Write a Program to compute squareroot of number?
2) Shuffle an array of size n such that each element has 1/n probability to remain in its original spot. The best solution has O(n) complexity?
3) Write a sql to find all the duplicate email address in a table which contains only one column “email”?
4) Write a Program to reverse each word in a string?
5) Write a program to evaluate a simple mathematical expression like 4 + 2*a/b – 3?
6) Write a Program to rotate a matrix by 90 degrees?
7) Write a program to revese a linklist?
8) What is the difference between Statically and Dynamically typed Language?
9) Tell me a Problem you faced while implementing a algorithm and how did you solve it?Show it pictoriallly?
10) Write a Program that removes duplicate characters in a String?
11) Write code for finding length of largest monotonically increasing sequence in an array of integers. Optimize it (not the usual O(n) in worst case, but a better approach in average case)?

INTERVIEW QUESTIONS WITH SYMPHONY
Interview Questions with Symphony for Build and Release Engineer

I feel more questions were related to System admin side rather than Build and release but it was interactive interview.

1. Why do you want to Join Symphony?
2. Tell me about your daily activites as build and Release Engineer in your company
3. Explain how to add / revove external device in Unix machine
4. How to copy data from one user to another user folder without loosing any owner attributes?
5. Perforce Checkpoints / journal / secuirt and access related problem
6. Unix find command
7. File permission related questions in unix using chmod / chown
8. write a shell script which will recursivly find all the .txt file in a directory, remove .txt extention and add .pl extention.
9. What are the access method in Unix?
10. How you can remotely access Unix machine without passing password.

5 + EXPERIENCE IN CONFIGURATION,BUILD AND DEPLOYMENT
5 + experience in configuration,build and deployment, application support.in configuration tool like pvcs,vss,intellect vault,svn tool and currently working on ant and weblogic 11g tool

5 + EXPERIENCE IN CONFIGURATION,BUILD AND DEPLOYMENT
Looking for change in configuration and release management.5+ years experience on configuration , build , deploy and release management.currently working in client place hong kong .prefered location is hongkong and chennai.

FINALLY FEW QUESTIONS
Hey guys, I have compiled a list of Interview questions at http://sourceforge.net/projects/mayadeploy/files/FAQ/ .

Enjoy & Best of Luck,

Mayank

APPLICATION PACKAGING QUESTIONS
Hi,

Could you list out Application Packaging questions here?

APPLICATION PACKAGING INTERVIEW QUESTIONS
Could you please list out this Application Packaging Interview questions here.

i found some in www.packaginggalaxy.com/index.php?board=44.0 .

BAMBOO INTERVIEW QUESTIONS:
1. Tell me more about continuous integration ? How did you configured?
2. Plugins used in Bamboo?
3. Tell me more about Bamboo Schedule Options?
4. How did you configure Bamboo with Subversion?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

FREQUENTLY ASKED QUESTIONS ABOUT WINDOWS INSTALLER (MSI) PACKAGING.
These are the most Frequestly asked queries, which I have compiled from lots of places and have put together.

Q. What is Windows Installer?

A. Windows Installer is a system service for installing and managing applications. It provides a standard method for developing, customizing, installing, and updating applications.

Q. What basic functionality is provided by Windows Installer?

A. Windows Installer provides the following basic functions:

* Transactional operations. All installation operations are transactional. For each operation that Windows Installer performs, it generates an equivalent undo operation that would undo the change made to the system. If a failure occurs during the middle of an installation, Windows Installer can roll back the machine to its original state.
* Self-healing. Windows Installer supports “self-healing” abilities for applications. Applications can detect common installation problems at launch, like missing files or registry keys, and automatically repair themselves.
* Installation on demand. Windows Installer supports on-demand installations of application features. For example, the spelling checker in Microsoft Office Word may not be installed by default, but a user can trigger an on-demand installation of this feature.
* Installation in locked-down environments. In fully locked-down environments, users don’t generally have permission or the ability to install applications. In most cases, they don’t have write-access to the Program Files folder of their computers or to the HKEY_LOCAL_MACHINE registry location. If an administrator approves an installation package by means of Group Policy, for instance, Windows Installer can perform an installation on the user’s behalf.
* State management. Windows Installer provides a set of standard Win32® application programming interfaces (APIs) and automation interfaces for applications and administrators to use for querying the installation state on the machine. The APIs allow querying of the current state, verification of the existing state, repair of a corrupted state, and transition from one state to another.

Q. What versions of Windows include Windows Installer?

A. Microsoft Windows 2000, Windows Millennium Edition (Windows Me), and Windows XP include Windows Installer. Windows 2000 includes version 1.1 of Windows Installer, Windows Me includes version 1.2, and Windows XP includes version 2.0. Windows 2000 SP3 also contains version 2.0 of Windows Installer.

Q. Why are multiple MSIExec.exe processes running on my machine during an installation?

A. A number of MSIExec processes can be running during an installation. The reason for this is that Windows Installer uses a client-server model for performing installations. Additionally for security reasons, Windows Installer hosts DLL and script custom actions in a “sandbox” process. Depending on how the install was initiated, one of the MSIExec processes can be the client process. Another MSIExec process is Windows Installer service. Any remaining MSIExec processes are usually sandbox processes for hosting custom actions. The determination as to which MSIExec process will serve as the sandbox process for a script or DLL custom action depends in part on whether the custom action will run elevated or impersonated and whether the custom action is 32-bit or 64-bit.

Q. What is an MST, and why it is used?

A. Whenever there is a vendor supplied MSI, then it is not recommended to do capture the MSI, hence all the changes need to be done in the MSI are done is a Microsoft Transform. Then this MST file is applied on the MSI with the following command line.

MSIEXEC /I {path}\file.msi TRANSFORMS={path}\file.mst /q

Where {path} is the location of the folder where MSI and MST are kept.

Q. What are the differences between small, minor, and major updates?

A. A small update is a product update that changes a few files or possibly adds some new content. A minor update is a product update that makes enough changes to warrant changing the product version for the product, whereas a major update is a product update with a large number of changes that warrants a change in the product code.

It’s sometimes easier to think of a small update as a “hotfix” or Quick Fix Engineering (QFE) update, a minor update as a service pack, and a major update as a product upgrade.

Small and minor updates can be considered almost equal in that the only real difference is that a minor update has a change to the ProductVersion whereas a small update does not. The rules that they follow and application of the patch are the same. Application of small and minor update patches requires explicit reinstallations. Major updates are not subject to that limitation and a reinstallation is not required for patch application. Additionally small and minor update patches are limited in the changes that can be made to the feature-component structure for the package. Significant changes can be made to the feature-component structure in the scope of a major update.

Q. What is the Logical structure of package?

A. A package describes the installation of a full product (Windows Installer does not handle dependencies between products) and is universally identified by a GUID. A product is made up of components, grouped into features.

Components

A component is the minimal part of a product—each component is treated by Windows Installer as a unit: the install developer cannot, for example, use a condition to specify to install just part of a component. Components can contain files, groups of files, directories, COM components, registry keys, shortcuts, and other data. The end user does not directly interact with components.

Components are identified globally by GUIDs, thus the same component can be shared among several features of the same package or multiple packages, ideally through the use of merge modules (although, for this to work correctly, different components should not share any sub-components).

Key paths

A key path is a specific file, registry key, or ODBC data source that the package author specifies as critical for a given component. Because a file is the most common type of key path, the term key file is commonly used. A component can contain at most one key path; if a component has no explicit key path, the component’s destination directory is taken to be the key path. When an MSI-based application is launched, Windows Installer checks the existence of these critical files or registry keys (that is, the key paths). If there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file is missing), then the related feature is re-installed. This process is also known as self-healing or self-repair. No two components should use the same key path.

Features

A feature is a hierarchical group of components—a feature can contain any number of components and other features (a feature contained in another feature is called a “subfeature”). Most installation programs display a “custom setup” dialog box at run time, from which the end user can select which features to install or remove.

The package author defines the product features. A word-processing program, for example, might provide features for the main program executable, the program’s help files, and optional spelling checker and stationery modules.

Q. What is Advertisement?

A. Windows Installer can advertise a product rather than actually installing it. The product will appear installed to the user, but it will not actually be installed until it is run for the first time (by means of a Start menu shortcut, by opening a document that the product is configured to handle, or by invoking an advertised COM class).

Q. What is Installation on demand?

A. Similar to advertisement, it consists in the installation of features as soon as the user tries to use them.

Q. How to do Diagnostic Logging?

A. Windows Installer supports detailed logging as a powerful diagnostic tool. Logging can be enabled in the following four ways:

Command-line: If installing an MSI package from the command-line, the /L switch can be used to enable logging. For example, the following command installs Package.msi and outputs verbose logging to c:\Package.log:

msiexec /i Package.msi /l*v c:\package.log

Windows Registry: The following registry value can be used to enable verbose logging:

Key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Value Name: Logging

Type: REG_SZ

Data: voicewarmup

The resulting log is named MSI###.log (where “###” is a unique random identifier) and is placed in the system’s Temp directory.

Group Policy: The following Group Policy setting can be used to manage logging on multiple systems:

Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer -> Logging.

Windows Installer API: If installing an MSI package programmatically, the MsiEnableLog function call can be used to create a log file and determine the logging level for the life of the calling process.

Although verbose logs are very useful for diagnosing Windows Installer problems, they can be very long and difficult to read without practice. A quick way to find the location of a problem in the log is to open it in a text editor (such as Notepad) and search for the phrase “Return Value 3”. This entry commonly appears in logs close to the point where a critical error has occurred. The Windows Installer SDK provides a tool called WiLogUtl, which parses and annotates Windows Installer log files.

Q. Why does the package go for Self Healing first time the user launches the Application?
A. If the package is containing some HKCU entries then the package will always go for self healing for the first time. This happens because the HKCU keys are only installed for the current user present while installing the package and not all the users as it is the property of the HKCU. So, if other user logs in then there is a mismatch between the current system state and the value specified in the MSI package (e.g., a key file is missing), then the related feature is re-installed. This is called the Self Healing.

Q. How do detect the MSI version on the computer?

A. If you want to check the version of the Windows Installer on your system, check the version of MSI.DLL in the Windows\System 32 folder.

INTERVIEW QUESTIONS FOR APPLICATION PACKAGING, WINDOWS INSTALLER, WISE PACKAGES
List of Interview Question for Application packagaing and Application Deployment for Windows Installer, Wise Package Studio and other tools…

– Describe the process flow of an installation in terms of the User Interface, Immediate and Deferred sequences.
– Explain the difference between Property and PROPERTY
– Advertised vs non-advertised shortcuts, what’s the difference?
– ProductCode, PackageCode, UpgradeCode – what are they, and when do you change them
– suppose you’re in an environment where you can’t use advertisement, explain how you would go about setting userspecific settings
–What are the ADDLOCAL and ADDSOURCE properties?
–Give an example of something you would not package
–What is the difference between installations using ALLUSERS=””, ALLUSERS=1 and ALLUSERS=2 option?
– Maximum how many files you can add in msi?
– Explain Backend mechanism of Self repair
– What is the impact of leaving COM information in a generic registry component as apposed to in each relevant component
– How many sequences are there in an MSI

– Please sketch the entire process of creating a package, from the software request up to package delivery

– Difference between dll/ocx and exe registraction
– How we can make two applications with same GUID to install on the same
machine?
– How we create the small,minor and major upgrade?
– Why we use orca for editing MSI?

– Is the MSI file a relational database?” if answers correctly “yes”….

– Why is this important?” they better say something about system integrity, ability to roll back transactions, etc.

– wat is the disadvantage of using lock permissions table
– Have you worked on orca?
– How to add files/registries in Orca?
– How to create merge module?
– Self-Heal (advertised shortcut) Vs Install on Demand (product Advertising)
– Self-Heal Vs Repair
– Per-user installation Vs Per-machine installation
– The reason why during a repair, bringing back missing files to System Folders is possible for a standard user who actually does not have a write permission to these folders.
– Do you know how to play darts?
– Do you know how to make coffee?
– How would you configure 16 Bit ODBC for a non Microsoft DSN?
– What are your thoughts and experiences for patching .msi files? What approaches have worked the best? What hasn’t worked? Why?
– Describe a methodology for populating the user’s profile with Windows Installer functionality. That one was funny because the interviewer was looking for Active Setup which I didn’t consider to be specific to Windows Installer.
– How do you configure an installation for an application that requires administrative privileges to work if the end user is not a local machine administrator?
– Have you ever had to modify a .msi directly without a graphic interface? Which tables did you modify and why?
– Describe the most difficult project you have worked on. What was the problem? How did you solve it? What did you learn?
– What tools are in your “packaging toolkit?”

Software Configuration Management Tools

SOFTWARE CONFIGURATION MANAGEMENT CONTROL TOOLS
Software Configuration Management Tools Blog

Welcome to the Software Configuration Management Tools Discussion Blog. Featured below are links to the most widely used SCM tools available on the market. Which tool has your origination implemented? How well does your tool funtion compared with others you have utilized in the past?

cmtoolsblog.blogspot.com/

PROJECT FOR APACHE ANT, APACHE MAVEN AND GIT
Create a three directory as below in repo as above; Directory Layout as below

harsha
…………..src
…………..test
…………..build.xml
…………..pom.xml
satya
…………..src
…………..test
…………..build.xml
…………..pom.xml
rajesh
…………..src
…………..test
…………..build.xml
…………..pom.xml
Masterbuild.xml
Masterpom.xml
lib
…………..build1
…………..build2
…………..build3
Using Ant
> Each sub directory, add 5 sample java program under “src” eg. under harsha/src.
> Each sub directory, add 5 sample junit test under “test” e.g under rajesh/test.
> Each sub directory has Apache ant build.xml and pom.xml
> Write a Masterbuild.xml which internally call 3 build.xml in the subdirectory and
> compile the source code and run the junit test cases.
> Package each subdirectory src code into jar
> Upload to github.com/microsoft-scmgalaxy/buildrelease3 under “lib/v1-2-3” folder

Using Maven
> Write a Masterpom.xml which internally call 3 pom.xml in the subdirectory and
> compile the source code and run the junit test cases.
> Package each subdirectory src code into jar
> Upload to github.com/microsoft-scmgalaxy/buildrelease3 under “lib/build1” folder
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

OFFERINGS/ACTIVITIES/PRACTICES UNDER SCM/BUILD/RELEASE/DEPLOYMENT
I am in the process of making a list of Offerings/Activities/Practices under SCM/build/release/Deployment area.

Can some someone please suggest some of those Offerings/Activities/Practices which come under SCM/build/release/Deployment.

i have attached a some of the listing in the document.

NAME OF THE TEAM WHICH HAS CM, BUILD, RELEASE, APPOPP AND DB ENGINEER
Hello Folks,

I am looking for ideal NAME OF THE TEAM which has CM, Build, Release, AppOpp Support and Database engineers. Few people Suggested that it should be DevOps and some of them voted for EnterpriceAppOps Team. What is the naming convention is being used in your company? Please comment for new name as well if you have some idea.

ESCAPING A PASSWORD USING MYSQLDUMP CONSOLE
when you use the quotes, make sure there is no space :
between -p and ‘PASSWORD’ or
between –password= and ‘PASSWORD’

correct:
mysql -u root -p’PASSWORD’
mysql -u root –password=’PASSWORD’

does not work:
mysql -u root -p ‘PASSWORD’
mysql -u root –password = ‘PASSWORD’

you can also define a variable and then use it for the command (still with no spaces in between) MSQLPWD=’PASSWORD’
mysql -u root -p$MSQLPWD
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

RELEASE VERSION PORTAL
Hi,

We have a complex product architecture having multiple integrated component making a complete solution.

Each component has its own development team and which provide their delivery to release management team

We have catered the version numbering system where all components are sent under one version in incremental manner.

Now in order to provide the high level visibility to the management about what version of which component is running in QA staging and prod i need to have url based dashboard.

How can achieve this using any simple free tool which enable the font end data form entry , and when someone click on specific version hyperlink it should redirect to release notes of that version in SharePoint.

We tried creating list in SharePoint but it didn’t work as we need environment name as columns and components as rows against which we have to enter version number in the grid table as hyperlinks.

something like

QA staging Prod
Component A 1.7.4 4.24.4 1.4.5
Component B 3.46.5 3.5.7 3.5.7
Component C 3.6.5 3.5.7 2.6.7

PUPPET
As anyone worked on puppet Configuration Management tool? Can you please provide the complete details about that or point me to any web portal which contains details except puppetlabs.com

CODE PROMOTION MODEL
Hi ,

I am looking for a code promotional model example like how to dev-> qa -> uat _ release.

How to maintain the branches ?
How to merge the code after the release if the fixes are there?

Can some give a real time example how it is maintained in other companies.

CM BEST PRACTICES WEB SITE:
www.cmbestpractices.com/

SAMPLE RESUME
Can any attache sample resume for build and release engineer.

I need for reference , not for projects but for technical data.

AUTOMATICALLY BCC ALL OUTGOING MESSAGES
automatically Bcc all outgoing messages

www.outlookcode.com/article.aspx?id=72

IBM RATIONAL CLEARCASE VERSION 7.1.1 RELEASE
TEST TOPICS
test topics

AFTER 9 YRS……………..
Hi Everyone,

If ur working as a build and release engineer what would be the growth or opportunity after 9 yrs.

Various path :

1) Can we become a release manger (do we have more opportunity )

2) Is there any certification for becoming release manager

To be clear if we work as developer or QA or System Engineer we may become architect or manager or may be any thing which have opportunity .

want clear way for build and release engineer

CANNOT OPEN THE DISK
Earlier my disk was full and my VMware stopped working.

Later when i start my VM after disk cleanup, i am getting following error. any idea?
Cannot open the disk ‘C:\Windows XP Professional-000002.vmdk’ or one of the snapshot disks it depends on.
Reason: The specified virtual disk needs repair.

BEST PRACTICE IN BRANCHING
Git does not dictate a process, so usually each project does. Common featurs:
–> Branch for features
–> Branch for fixes
–> Branch for experiments
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

SHELL OR PERL
When do we use the shell or perl scripting in build or configuration mgnt?

Any example?

Which can be preferd shell or perl for build and release carrer?

HOW TO HIRE THE BEST WEBSITE DESIGN COMPANY.
Once a business has been developed and set up properly, the need for a website arises. The website is the online identity of a company and it is necessary that you hire an experienced and professional website design company who can complete the task perfectly. While looking for the best website design company you should compare the prices as well as services offered by the various companies in the market. Before hiring a website design company, it is necessary to assemble the various ideas or thoughts of what your business needs and requirements are. Even if you have already hired a web designer, you still need your website to project your ideas. Creating a list of ideas and services that you plan to offer through your site is a good idea so that when you hire the design company, you are already prepared.

You should also make sure that the company you hire has a good track record in terms of customer satisfaction. This can be done by asking your friends who have utilized the firm’s services or by reading customer reviews online. Checking out their work portfolio can give you a better view of their work quality and their individual style. You can choose the services of a firm depending on whether or not the services offered meet your requirements and specifications and whether that design company has the ability and talent required to design your website you are thinking of.

COMPONENT OBSOLESCENCE TRACKING
Often obsolescence management is confined to availability of parts, but the issue of obsolescence management goes beyond. There are key issues related to it- design for the longest possible product life cycle, availability of electronic parts, skills to modify the product, product knowledge, system and domain, tools to modify the product and continuing Electronic Security and Support Issues. While the product is being designed it is important to identify the parts that pose the greatest obsolescence risk. Component Obsolescence Management has to be balanced against product features.

For example, opto-electronic displays (LCDs, OLEDs) commonly tend to become obsolete quickly despite big promises made by their vendors. The design phase will result in a list of parts that are at risk for obsolescence. A proactive approach must be taken to manage these at risk parts. This is possible only if the product is part of an expensive long life cycle product. An estimate is prepared for the requirement of at risk parts for the entire life cycle and these parts are procured. This is a costly process and it is important to correctly identify the risk parts and limit the procurement to them. It is also important to store the parts acquired properly. A less costly approach for handling at risk components is to do obsolescence tracking for them. For critical components, it is essential that the availability be proactively checked every month. Thus, you will want to buy enough components to make sure your product stays in production while your engineering team redesigns the product to not use the part about to go obsolete.

APPLICATION PACKAGING INTERVIEW TIPS…….
Hi,

Need advise for preparation of application packaging interview .

Currently i am working on Installshield.

What are the general questions do we expect for application packaging job ?

BUILD AND RELEASE ENGINEER JOB GROWTH ?
Hi guys,

I am working on build and release from past 1.5 years (70%) on installshield cruisecontrol,maven,finalbuilder,hudson on windows platform.

Apart form these i am working on .net (bug fixing).

I am in a confusion whether to change my designation to build and release engineer or software engineer.

How will be growth in build and release ?

UNIX COMMAND
Hi All,

What is the command to find error line in a file and 10 lines above abd 10 lines below error line?

Say if I have a error text at line 35, I want 10 lines above 35th line and below 10 lines below 35th line.

EC2 FTP CONNECTION PROBLEM – WINDOWS INSTANCE –
We’re trying ftp connection from EC2 ftp client to external our server.
But we encounterd the following ftp connection problem.

We need to solve this problem.
We are very much appreciated if you could give us the solutions.

1. Problem
EC2 ftp client fail to conect to ftp Server ,
pwd or cd command can work, but ls, put and get comand cannot work.
We need to use Windows ftp command for connection.
ftp client is EC2 and have Elastic IP address
ftp server is on our office side and have grobal IP address.

2. ftp client Environment
Amazon EC2
Windows 2003 Server Instance
Windows ftp command
EC2 Elastic IP address – zz.zz.zz.zz
EC2 Internal IP address – aa.aa.aa.aa
We used EC2 as ftp client, not ftp server.

3. ftp Server Environment
ftp server is on our office Japan.
it have a grobal IP address xx.xx.xx.xx.

4. firewall security on our office
Our office -> EC2(internet) : all tcp permitted
EC2(internet) -> Our office: tcp20/21 permitted.

5. EC2 security group setting.
tcp20/21 from any IP permitted

6. EC2 ftp client Log
ftp> open xx.xx.xx.xx
Connected to xx.xx.xx.xx
220 ftp server ready.
User (xx.xx.xx.xx:(none)):
—> USER yyyyy
331 Password.
—> PASS ecopass
230 User yyyyy logged in super!
ftp> cd LogFiles\DayLog
—> CWD LogFiles\DayLog
250 CWD command succesful.
ftp> ls
—> PORT aa,aa,aa,aa,9,134
200 PORT command successful.
—> NLST
150 ASCII data.

xx.xx.xx.xx means that ftp Server grobal IP address
aa,aa,aa,aa means that EC2 Internal IP address

7. ftp Server ftp log
Session 7, Peer xx.xx.xx.xx ftp Server session started
Session 7, Peer xx.xx.xx.xx ftp Server session started
Session 7, Peer xx.xx.xx.xx USER xxxx
Session 7, Peer xx.xx.xx.xx 331 User name ok, need password
Session 7, Peer xx.xx.xx.xx ftp: Login attempt by: xxxx
Session 7, Peer xx.xx.xx.xx PASS XXXXXXX
Session 7, Peer xx.xx.xx.xx 230 User logged in
Session 7, Peer xx.xx.xx.xx ftp: Login successful
Session 7, Peer xx.xx.xx.xx PORT aa,aa,aa,aa ,5,106 <- EC2 Internal IP Address Session 7, Peer xx.xx.xx.xx 200 PORT command successful. Session 7, Peer xx.xx.xx.xx NLST Session 7, Peer xx.xx.xx.xx Could not connect to peer. Aborting transfer. Session 7, Peer xx.xx.xx.xx 226 Closing data connection Session 7, Peer xx.xx.xx.xx QUIT Session 7, Peer xx.xx.xx.xx 221 Service closing control connection Session 7, Peer xx.xx.xx.xx ftp: Connection closed. 8. reason why It seems that EC2 Internal IP address is used when ftp Server tried to tansfer data to EC2 ftp client by TCP20. We tried ftp PASSIVE mode by literal command, but rejected by ftp Server. ftp> literal pasv
—> pasv
502 [pasv] Command not implemented.

W need to solve this problem.

Thank you for reading.

Message was edited by: mgcloud
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

DIRECTLY SUPPORTED BUILD TOOLS
Shell / command script
Ant
Groovy
OpenMake Meister
Maven
Maven2
Make
MsBuild
NAnt
Rake (Ruby)
Visual Studio (‘devenv’)
FinalBuilder
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

LIST OF TEST TOOLS
Agitar
CppUnit result rendering
JUnit result rendering
NUnit result rendering
QualityCenter test rendering
PHPUnit result rendering
PMD result rendering
Clover result rendering
Selenium result rendering
SilkCentral
MSTest result rendering
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

LIST OF ISSUE & PM INTEGRATIONS
Bugzilla
ClearQuest
Confluence
JIRA
Mingle
QualityCenter
Rally
Rubyforge.org
Scarab
Sourceforge.net
Trac
VersionOne
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

LIST OF SCM TOOLS
List of SCM Tools (Version Control Tools / Configuration Management Tools)

AccuRev
AlienBrain
Bazaar
BitKeeper
ClearCase
CA Harvest
CM Synergy
CVS
Dimensions
File system SCM
Git
HTTP file
MKS
Perforce (p4)
PVCS
SourceGear Vault
StarTeam
Subversion
Surround
Team Foundation Server
VSS
VSS Journal
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTION FROM RELEASE ENGINEER SCM PERSPECTIVE
1. How many major, minor releases a year per project?
2. How many customers per release per project?
3. How do you deliver the releases to the customers? – Is it physical media
4. distribution or Push/Pull mechanism from web or any other process?
5. Is the distribution CD/DVD creation process automated?
6. What is the size of the release deliverable?
7. What are the contents of a release?
8. How is the release bundle tested?
9. How many platforms are certified? How different are the release packages?
10. Is there any release check-list for cross-check?
11. Is any part of the release process automated?
12. Is there a need for i18n? If yes, is the i18n release handled separately?
13. In case of installers, is there installer testing? Is it automated?
14. Is the release schedule well-planned?
15. Are you delivering patches in well constructed and cost effective way?
16. Is there any release audit process in place?
17. How are you tracking your releases?
18. Is there any legal compliance in place while shipping the release to the customers?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTION FROM BUILD ENGINEER SCM PERSPECTIVE
1. What is the build process adopted (automated/manual)?
2. Are there nightly builds?
3. Is there continuous integration?
4. Are there smoke and sanity tests at the end of the build?
5. What is the build acceptance criterion (BAT)?
6. What is the build duration? Is it optimal?
7. How are pre-conditions to the build verified?
8. Are there any build environment integrated automated unit test-cases?
9. Is there any enforcement tool on coding standards?
10. Is there any code coverage tool being used?
11. Are the post build activities automated?
12. Any additional practices (like checksum generation, signing the build artifacts) in place as part of the build?
13. Are there any scripting technologies used in automating build process?
14. Is Labeling strategy well-defined?
15. If any third party tool is being used for packaging, is that package creation process automated?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTION FROM CONFIGURATION MANAGER SCM PERSPECTIVE
1. Do you know what files/documents should be delivered?
2. How do you track who changed what, when, where, and why?
3. How long does a build or release take?
4. Is there a Configuration Management Plan document?
5. Is there a tight integration between Version control tool and Bug/Change tracking tool?
6. How the parallel (if any) development is enabled? Any limitations with the current branching strategy?
7. Is this project development spanned across multiple sites? If so, what is your multi-site strategy?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTION FROM TESTERS SCM PERSPECTIVE
1. Do you know what files/documents should be delivered?
2. How do you assess, and track the impact of a proposed change?
3. Can you show me what artifact versions went into a certain release?
4. How comfortable are you working with Bug/Change management tool?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTIONS FROM DEVELOPERS IN SCM PERSPECTIVE
1. How do you baseline project artifacts?
2. Can you build your system reliably and repeatedly?
3. Explain your labeling scheme?
4. Can you show me what versions went into a certain release?
5. What does the version tree for this file look like?
6. How many product versions are you supporting at the moment?
7. What is the version control tool being used? Is it user friendly?
8. What is the bug tracking/change management tool being used? Is it user friendly?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTION FROM PROJECT/DEVELOPMENT MANAGERS SCM PERSPECTIVE
How do you maintain all the artifacts together and version them?
Where are the people working on the project located?
What’s the difference between Developer CM and Release CM?
How do you assess, and track the impact of a proposed change?
How do you manage system integration of modules developed by individual developers?
How many product versions are you supporting at this moment?
Who is the designated Configuration Manager?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTIONS TO IDENTIFY THE SUPPORTING TOOLS
What are the tools that you currently use in your work?
How is the integration among the above tools?
Are we using the tool features the way they are designed or intended?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

QUESTIONS TO CHARACTERIZE THE PROJECT APPLICATION

  • What is the size of each project (duration, persons, person years, LOC)
  • What type (maintenance / enhancement / new development / prototype / feasibility)
  • What type of development model is being used?
  • Are we using any process models like UCM, RUP or any other?
  • Any industry/domain specific standards (like CMMI, ITIL etc.) to be followed?

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

MIGRATION OF CLEARCASE TO GIT
Could anyone help me in this case, migrating CC vob to GIT.

Thanks & Regards,
Vijay

LOOKING FOR SUGGESTIONS FOR BUILD JOBS
Looking for suggestions for build jobs using Mercurial MQ

Hello

I’ve recently setup matrix projects to test Py libs (so far axis are
the version of the interpreter and versions of dependencies) .
Considering the fact that Hudson Mercurial plugin doesn’t provide
explicit support for MQ (AFAIK) I’m looking for suggestions so as to
find ways to work around this limitation in order to achieve the
following

1. First of all I’d like to test each and every revision
committed to the repository . I think this could be
achieved by parameterizing the build job and
supplying individual revision number
to the build in the Hg hook that triggers it
from remote (is there a better way to do this ?)
2. I’d like to start a variable number of jobs , more
precisely one job for each patch in the queue .
The goal is to ensure that every patch will work
if applied against repository trunk (have
no idea of how to do this …)
3. I need to copy some (script) files to the workspace
before starting the build (and I don’t use neither Ant
nor Maven, nor MSBuild, nor … I just need to copy
static files ;o) .
4. I need to publish in the build results page
some files generated
during the build (binaries, logs, … ) and browse
(some of) them inside Hudson site . They should
be accessible from the page showing build results
e.g. myserver.com/job/jobname/49

(I suppose this is the «Archive the artifacts» +
«Files to archive» combination … isn’t it ? )
5. I need to execute custom scripts only if the build
succeds.

Please ideas and suggestions about how to do this (and probably
plugins that need to be installed, …) will be very welcomed.

Thnx in advance !

FINDING COMPUTER NAME USING IP
I need to find the computer name of one PC connected in LAN (joined to domain).
I have the IP address of terminal. how i will find the computername?

kindly advice
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

ARTICLE FORMATTING
Where can I find the help for formatting the articles? Like syntax for adding code, images, url etc.

Thanks,
-Tushar

UNPUBLISHED ARTICLES
I have posted 2 articles but looks like not published yet.

Please let me know if these requires any modifications.

HOW TO LESSEN DEPLOYMENT TIME?
Hi All,

Can anyone please let me know any technique in which we can reduce the deployment time from Dev environment to other environment, we currently use robocopy for copying files.

Please share your ideas/ suggestions.

A FORUM TO DISCUSS APPLICATION PACKAGING
A Forum to discuss Application packaging related issues, troubleshoot, queries, tools and share knowledge. Covers all installer software.

www.packaginggalaxy.com

www.packaginggalaxy.com – A Forum to discuss Application packaging related issues, troubleshoot, queries, tools and share knowledge. Covers all installer software such as

wyBuild & wyUpdate
WiX
Wise Package Studio
Wise Installation Express 7
Wise Installation Studio 7
Windows Installer
VISE X
Tarma QuickInstall 2
Tarma Installer 5
Tarma ExpertInstall 3
Smart Install Maker
Setup Factory
SetupBuilder Professional Edition
Scriptlogic Desktop Authority MSI Studio
Scriptlogic Desktop Authority MSI Studio
Remote Install Mac OS X
QSetup
Nullsoft Scriptable Install System (NSIS)
MSI Package Builder
LANrev InstallEase
JExpress
Instyler Setup
Installer VISE
InstallShield
InstallAnywhere
InstallAce
Install Creator (Pro)
InstallBuilder
InstallAware
Inno Setup
Iceberg
Excelsior Delivery
Excelsior Installer
DreamShield
DeployMaster
CreateInstall Free
CreateInstall Light
CreateInstall
ClickInstall
Advanced Installer

Tagged : /

Solve One Puzzle a Day

Question
Three friends divided some bullets equally. After all of them shot 4 bullets the
total number of bullets remaining is equal to the bullets each had after division.

Find the original number divided.
Answer:

Let 3X be the number of bullets intially they had..
so after division each will have X bullets.
so after shooting 4 bullets .

X-4+X-4+X-4=X;
2X=12;
X=6;
so the initial number of bullets is 18

APPLES AND FRIENDS
You have a basket containing ten apples. You have ten friends, who each desire an apple. You give each of your friends one apple.

After a few minutes each of your friends has one apple each, yet there is an apple remaining in the basket.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Question
There are 2 trees in a garden (tree “A” and “B”) and on the both trees are some birds.

The birds of tree A say to the birds of tree B that if one of you comes to our tree, then our population will be the double of yours.

Then the birds of tree B tell to the birds of tree A that if one of you comes here, then our population will be equal to that of yours.

Now answer: How many birds in each tree?

Here is the answer:

The solution is 7 and 5.

7 on tree A, and 5 on tree B 🙂

Question
5 pirates of different ages have a treasure of 100 gold coins.

On their ship, they decide to split the coins using this scheme:

The oldest pirate proposes how to share the coins, and all pirates remaining will vote for or against it.

If 50% or more of the pirates vote for it, then the coins will be shared that way. Otherwise, the pirate proposing the scheme will be thrown overboard, and the process is repeated with the pirates that remain.

Assuming that all 5 pirates are intelligent, rational, greedy, and do not wish to die, (and are rather good at math for pirates) what will happen?

I could not solve but got over net…:)

The eldest pirate will propose a 97 : 0 : 1 : 0 : 2 split.

Working backwards, splits in terms of younger to older:

2 Pirates: Pirate Two splits the coins 100 : 0 (giving all to the other pirate). Otherwise, and perhaps even then, Pirate One (the youngest) would vote against him and over he goes!

3 Pirates: Pirate Three splits the coins 0 : 1 : 99. Pirate One (the youngest) is going to vote against him no matter what (see above), but this way, Pirate Two will vote for him, to get at least one gold out of it.

4 Pirates: Pirate Four splits the coins 1 : 2 : 0 : 97. This way, Pirate One will vote for him, and so will Pirate Two – they’re getting more than they would under 3 pirates.

5 Pirates: Pirate five splits the coins 2 : 0 : 1: 0 : 97. This way, Pirate One will vote for him, and so will Pirate Three – they’re both getting better than they would under 4.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Question
Nine nickels and a traditional balance are sitting in front of you. All nickels have the same weight except for one counterfeit, which is slightly heavier than the others. What is the lowest maximum number of times you expect to use the balance to guarantee you’ve found the counterfeit nickel? Please explain the process you would take.

Answer
Hi,

I am using simple logic here dont know if this right.

if s=9 (no of nickels)
and n=1 (max no of times)

than answer is 8 times

cheers!
Som