Skip to content

Commit

Permalink
Merge pull request #31 from fellrock/develop
Browse files Browse the repository at this point in the history
fix(jenkins): adiciona mais uma depuração
  • Loading branch information
fellrock authored Mar 9, 2024
2 parents d4bb137 + 21cc882 commit fd830e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jenkins/jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ pipeline {
// Copy the contents to the specified folder on the Nginx server
def result = sh(script: "curl -T . http://$NGINX_IP:$NGINX_PORT/$TARGET_FOLDER", returnStatus: true)
echo "curl result: ${result}"
echo "curl output: ${output}"
echo "curl output: ${result}"

if (result != 0) {
error "Failed to copy files to Nginx server. Check the logs for details."
}
}
}
}
Expand Down

0 comments on commit fd830e7

Please sign in to comment.