I'm interested in handling the deploy stage outside of Jenkins, but would
like Jenkins to accommodate two stages related to deploy: Deploy Start and
Deploy Complete.
I would like my deploy mechanism to be able to query Jenkins for any
pipeline that has finished all test/build stages and be able
On Tue, Aug 2, 2016 at 12:26 PM, Daniel Watrous
wrote:
> I'm struggling to find documentation around these or an example that might
> help me to accomplish what I'm trying to do.
Perhaps you are looking for
https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md#creating-an-a
That might work, but what isn't clear is how I can trigger that with an
HTTP call.
I need an external deploy agent to ask Jenkins for any pipelines that are
ready to deploy, update the deploy step and then come back and update that
the deploy was successful.
On Thursday, August 4, 2016 at 9:52
On Fri, Aug 5, 2016 at 5:19 PM, Daniel Watrous wrote:
> That might work, but what isn't clear is how I can trigger that with an HTTP
> call.
`UnprotectedRootAction` generally.
Without writing a custom plugin, and without waiting for
JENKINS-27127, the usual approach is to use an `input` step and
I've searched and can't figure out how to "POST approval to it from an
external tool".
I suppose this is the main thing I've been stuck on from the beginning and
why I'm looking for an API or some other plugin. It seems obvious to you
that I should be able to just POST to some jenkins based URL
You can just use something like this:
curl -s -X POST --user $CREDS -H "$CRUMB"
$SERVER/job/$JOB/lastBuild/input/FinishRecording/proceedEmpty
(the url is shown in console output or stage view)
the corresponding pipeline step :
input id: 'FinishRecording', message: 'Proceed?'
https://jenkins.io/
I'm a little further along now. In a browser I can see the JSON responses
that I want. However, when I try to make the call programatically I get an
error. If I'm using my username and the token I get from the configuration
page, I get a 403. If I make the same call with my username and actual
I think my current problems are related to our Jenkins configuration. We
have a single sign on integration which seems to be interfering with the
API calls that want to use HTTP basic authorization.
Thanks for all the help on this.
On Friday, August 12, 2016 at 11:54:23 AM UTC-5, Daniel Watrous
On Fri, Aug 12, 2016 at 1:12 PM, Daniel Watrous
wrote:
> I think my current problems are related to our Jenkins configuration. We
> have a single sign on integration which seems to be interfering with the API
> calls that want to use HTTP basic authorization.
Generally API token calls should pass
BTW run Jenkins with `-Dstapler.trace` if you are not too concerned
about security, and pass `-i` to `curl` to see what is going on.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails f
10 matches
Mail list logo