Create a Jenkinsfile

From your local machine, create a new file with name Jenkinsfile

Put following code into Jenkinsfile, this code basically will run maven command to build web application.

// start of pipeline

Access to GOL github repo from browser, click to Upload files, then drag drop Jenkinsfile which already created. Finally click to Commit changes

Wait some time and you will see the file show up inside GOL repository

results matching ""

    No results matching ""