New answers tagged jenkins-pipeline
0
votes
Accepted
Read and parse json file from workspace on slave node
Following is the code that worked for me, if there is any other better way to do this, suggestions are most welcome.
Main Method:
def transformjsonfile(propertiesPath, jsonfilepath) {
// Load ...
0
votes
Accepted
Create a folder in slave node using Jenkins pipeline groovy script
Issue got resolved with the use of File Operations Plugin methods like folderCreateOperation & fileCreateOperation. Example code snippet below:
def path = "${workspace}\submodule\newFolder&...
Top 50 recent answers are included
Related Tags
jenkins-pipeline × 244jenkins × 180
jenkinsfile × 59
jenkins-plugins × 44
groovy × 25
docker × 24
continuous-integration × 15
git × 13
gitlab × 8
jenkins2 × 8
bitbucket × 7
amazon-web-services × 6
docker-compose × 6
github × 6
build-pipeline × 6
kubernetes × 5
continuous-deployment × 5
cicd × 5
python × 5
dockerfile × 4
shell-script × 4
environment-variables × 4
sonarqube × 4
pipeline × 4
jenkins-blueocean × 4