Filter interviews by
Use grep command to check pattern in all files in current directory
Use 'grep' command with the desired pattern and '*' wildcard to search for the pattern in all files in the current directory
For example, to search for the pattern 'example' in all files in the current directory: grep 'example' *
Multistage pipeline in Jenkins allows for defining complex build pipelines with multiple stages and actions.
Multistage pipeline is defined in a Jenkinsfile using declarative syntax
Each stage in the pipeline represents a specific part of the build process
Stages can have multiple steps like build, test, deploy, etc.
Parallel stages can be defined to run multiple tasks concurrently
Post actions can be defined to execute tas
Shell script to display current process with only process id
Use the 'ps' command to list all processes
Pipe the output to 'awk' to print only the process id column
Exclude the header line from the output
Use Jenkins Pipeline to clean workspace after each build
Add a post-build step in Jenkins Pipeline to delete workspace contents
Use 'deleteDir()' command in Jenkins Pipeline to remove workspace directory
Consider using 'sh' or 'bat' commands to execute shell or batch scripts for cleaning workspace
To check memory and storage in Linux, you can use commands like free, df, and du.
Use 'free' command to check memory usage and available memory
Use 'df' command to check disk space usage
Use 'du' command to check disk usage of specific directories
Top trending discussions
Senior Executive
899
salaries
| ₹2.7 L/yr - ₹9.3 L/yr |
Executive
850
salaries
| ₹1.8 L/yr - ₹7.6 L/yr |
Assistant Manager
763
salaries
| ₹4 L/yr - ₹14.4 L/yr |
Junior Executive
385
salaries
| ₹1.3 L/yr - ₹4.8 L/yr |
Quality Engineer
368
salaries
| ₹1.2 L/yr - ₹5.1 L/yr |
Mahindra & Mahindra
Tata Group
Ashok Leyland
Bharat Forge