pipeline { agent any options { skipDefaultCheckout() } stages { stage('Checkout') { steps { p4sync credential: 'id', populate: forceClean(), source: streamSource('//stream/main') } } stage('Build') { steps { echo 'Building...' } } stage('Test') { steps { echo 'Testing...' } } stage('Deploy') { steps { echo 'Deploying...' } } } }