https://github.com/hurricanemark/build-putty-with-jenkinsfile
Building c code with Jenkins Free-style project.
https://github.com/hurricanemark/build-putty-with-jenkinsfile
ad-hoc-build ci-server gnu-c jenkins makefile putty
Last synced: 7 months ago
JSON representation
Building c code with Jenkins Free-style project.
- Host: GitHub
- URL: https://github.com/hurricanemark/build-putty-with-jenkinsfile
- Owner: hurricanemark
- Created: 2018-08-26T04:25:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-27T17:05:20.000Z (about 7 years ago)
- Last Synced: 2025-01-27T05:27:15.375Z (9 months ago)
- Topics: ad-hoc-build, ci-server, gnu-c, jenkins, makefile, putty
- Size: 3.25 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using c-code from source forge to demonstrate Jenkins pipeline and Free-style builds #
## Source:
This open source is originally from sourceforge.com## Pre-requisites:
gnu-make, gcc
## Native build:
cd unix
./configure
make
make test
make install## Jenkins scripts:
Jenkinsfile## Note
'''
Alternatively, source repo can be on an ftp site or remote directory/URL.
In which case, it can be retrieved using curl command, or SSHAgent/SFTP plugins.
'''### Example:
Using parameterized variables -- AUTH_REQUIRED bool; USERID, PASSWD, SOURCE_URL string.#!/bin/bash
if test $AUTH_REQUIRED = 'true'; then
curl -u ${USERID}:${PASSWD} -O ${SOURCE_URL}
else
curl -Ol ${SOURCE_URL}
fi