Skip to content

running script from pipeline #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ pipeline {
script {
println("from groovy script block")
}

publishChecks conclusion: 'NEUTRAL', detailsURL: 'https://github.com/sdputurn/learn-github', name: 'hello-world', summary: 'buiild-summary', text: 'b-text', title: 'b-title'
publishChecks name: 'example', title: 'Pipeline Check', summary: 'check through pipeline',
text: 'you can publish checks in pipeline script',
detailsURL: 'https://github.com/sdputurn/learn-github#pipeline-usage',
actions: [[label:'an-user-request-action', description:'actions allow users to request pre-defined behaviours', identifier:'learn-github']]
}
}

Expand Down
2 changes: 1 addition & 1 deletion test1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ echo "new code fix in master"
echo "welcome to github"
echo "merge work due to changes at last line. letsee now"
echo "code fix missing in this commit"
echo "adding commit statuses2.1.1.3.4.5.6.7.8.0"
echo "adding commit statuses2.1.1.3.4.5.6.7.8.0.1.1"