Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to cd into a directory with jenkins pipeline

steps {
    sh "pwd"
    dir('your-sub-directory') {
      sh "pwd"
    }
    sh "pwd"
} 
Comment

PREVIOUS NEXT
Code Example
Shell :: windows workspace shortcut 
Shell :: Docker show currently running containers 
Shell :: linux command find program 
Shell :: install apk as system app with adb 
Shell :: terminal rename folder 
Shell :: git go back to head after checkout commit 
Shell :: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x22 
Shell :: if git status 
Shell :: sharepoint logs folder 
Shell :: python zlib 
Shell :: sbatch cancel job 
Shell :: linux get part of string 
Shell :: or push an existing repository from the command line 
Shell :: delete ec2 from terraform 
Shell :: upload transfer.sh 
Shell :: github pdftron 
Shell :: how to scp 
Shell :: npm warn 
Shell :: step7 pgadmin ubuntu 20.04 
Shell :: install 
Shell :: ubuntu change primary group 
Shell :: react native cannot load 
Shell :: command running processes linux 
Shell :: Update /etc/apt/sources.list file 
Shell :: delete github repository without browser 
Shell :: zip command in linux 
Shell :: git issues 
Shell :: restart service linux crontab 
Shell :: abbreviated stat for git 
Shell :: pull all branches from remote git 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =